ucg/src/convert/toml_help.txt
Jeremy Wall 2cefcdbd6a REFACTOR: Move the converter help text into files
Use the include_str macro to inline the help text.
2019-04-08 22:18:48 -05:00

11 lines
338 B
Plaintext

TOML conversions expect any ucg value.
They are transformed into toml using the following rules:
- tuples become maps `{...}`
- lists become lists `[...]`
- Int becomes an Int
- Float becomes a Float
- Strings become Strings.
- NULL is not allowed in toml documents and will generate a compile error
- Functions and Modules are ignored.