TOML module for Guile
Go to file
hylo 09dfd01956 fix: accept empty file 2022-12-30 17:53:13 +01:00
toml feat: inline-tables (wip) 2022-12-30 17:53:13 +01:00
README.org docs: update readme 2022-12-30 17:53:13 +01:00
decoder.scm feat: add decoder 2022-12-30 17:53:13 +01:00
ex-long.toml feat: some displaying of parsed toml 2022-12-30 17:53:12 +01:00
ex.toml feat: some displaying of parsed toml 2022-12-30 17:53:12 +01:00
spec-example-1-compact.json dev: some examples from the suite 2022-12-30 17:53:12 +01:00
spec-example-1-compact.toml dev: some examples from the suite 2022-12-30 17:53:12 +01:00
test-decoder.scm feat: inline-tables (wip) 2022-12-30 17:53:13 +01:00
toml.abnf feat: convert abnf to peg manually WIP 2022-12-30 17:53:12 +01:00
toml.peg feat: convert abnf to peg manually WIP 2022-12-30 17:53:12 +01:00
toml.scm fix: accept empty file 2022-12-30 17:53:13 +01:00

README.org

Readme

guile-toml

Installation

For now: add this folder to GUILE_LOAD_PATH

Usage

Similar approach to guile-json.

TOML Guile
string string
number number (TODO: octal etc, float?)
key-value pair alist
array vector
datetime etc TODO
true #t (TODO)
false #f
nan TODO
inf TODO
small / big floats TODO
unicode checking TODO

To start using: (use-modules (toml))

Reading TOML documents

  • (toml->scm str)