/chicken-toml

A TOML parser for CHICKEN Scheme built with comparse

Primary LanguageScheme

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.