Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the pp-toml Reference Manual, version 1.0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Wed Jun 15 05:35:22 2022 GMT+0.
Next: Systems, Previous: The pp-toml Reference Manual, Up: The pp-toml Reference Manual [Contents][Index]
Common Lisp TOML parser.
The library needs to be brought up to 1.0.0 spec.
Supports the TOML v0.1.0 spec with the following exceptions:
Complications arising from escaping quote & comment syntax are known and deferred until someone gets bit and is angry enough to send a pull request fixing them.
Not enforcing array homogeneity. Partly this is because of Postel's dictum, but partly because it might be more convenient to have heterogenous lists. Future work - might add a strict mode which throws errors here.
Unicode support may have some issues. It should work, but Unicode on Common Lisp is sometimes dependant on your system's configuration. Testing should be done before rolling your work to production.
Common Lisp is pretty good with numbers. Therefore, instead of manually differentiating between floats and integers, pp-toml calls them NUMBERS and lets your Lisp take care of the rest. Again, test before rolling to production.
To run the tests, do this:
sbcl --script run-sbcl-tests.lisp
Which will produce a test report.
Gratefully accepted. Please add test cases for bug reports you fix or features you add.
License is LLGPL.
Since Tom thought it'd be a good idea to put his name on the language, I'm putting my name on this parser.
Next: Files, Previous: Introduction, Up: The pp-toml Reference Manual [Contents][Index]
The main system appears first, followed by any subsystem dependency.
TOML parser
Paul Nathan <pnathan@alumni.uidaho.edu>
Paul Nathan <pnathan@alumni.uidaho.edu>
LLGPL
Implements a TOML parser. PARSE-TOML is the top-level function
1.0.1
pp-toml.lisp (file).
Next: Packages, Previous: Systems, Up: The pp-toml Reference Manual [Contents][Index]
Files are sorted by type and then listed depth-first from the systems components trees.
Next: pp-toml/pp-toml.lisp, Previous: Lisp, Up: Lisp [Contents][Index]
pp-toml (system).
Previous: pp-toml/pp-toml.asd, Up: Lisp [Contents][Index]
pp-toml (system).
Next: Definitions, Previous: Files, Up: The pp-toml Reference Manual [Contents][Index]
Packages are listed by definition order.
Next: Indexes, Previous: Packages, Up: The pp-toml Reference Manual [Contents][Index]
Definitions are sorted by export status, category, package, and then by lexicographic order.
Next: Internals, Previous: Definitions, Up: Definitions [Contents][Index]
Previous: Public Interface, Up: Public Interface [Contents][Index]
Returns the toml parsed structure from ‘string‘ or :parse-error
Parse a TOML ‘string‘, returning a hash table comparable by EQUAL.
‘strict‘ is not supported at present.
Strips the comments from the string
Previous: Public Interface, Up: Definitions [Contents][Index]
Next: Ordinary functions, Previous: Internals, Up: Internals [Contents][Index]
Scanner for # comments. Handles "#" strings
Previous: Special variables, Up: Internals [Contents][Index]
Does ‘key‘ exist in ‘table?
‘value‘ may be any of the standard toml value types: array,
datetime, bool, number, or string. Of those, arrays are a special case:
Supposing an array is encountered, process-value-data recurses upon the array.
Toml does not support references as of v0.1, and there for we can traverse arrays without cyles of references.
Transliterate escape characters into Common Lisp characters
Previous: Definitions, Up: The pp-toml Reference Manual [Contents][Index]
Jump to: | E F K M N P S T |
---|
Jump to: | E F K M N P S T |
---|
Next: Data types, Previous: Functions, Up: Indexes [Contents][Index]
Jump to: | *
S |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
* | |||
*comment-scanner* : | Private special variables | ||
| |||
S | |||
Special Variable, *comment-scanner* : | Private special variables | ||
|
Jump to: | *
S |
---|
Jump to: | F P S |
---|
Jump to: | F P S |
---|