Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 563 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 563 Bytes

TOML parser for CHICKEN Scheme

Built with comparse.

(use toml)

(read-toml string/input-port) ;; => data
(write-toml data output-port)
(toml->string data) ;; => string

Parsed TOML data is mapped to scheme types as follows:

TOML     | Scheme
-------------------
string   | string
integer  | number
float    | number
boolean  | boolean
table    | alist
array    | vector
date     | rfc3339 record

Passes toml-test suites for encoding and decoding.