Skip to content

bash-bastion/toml-subset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

TOML Subset

The TOML configuration format sports a myriad of useful features, but I found myself needing to define a subset of it.

My primary use case is for Basalt. The configuration format is written in TOML, but it is too expensive and slow to parse TOML in its entirety using Bash. Within the project, the TOML file is parsed with regular expressions line-by-line. Therefore, things like escape sequences within simple strings are not properly evaluated. TOML is still used though, since it is widely supported by editors and other programming languages

The subset is defined in spec.md. Each heading is a duplicate from the official TOML page describing any modifications (if any)

About

Defining a subset of TOML

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published