[−][src]Module inc::symbols
A symbol is a blob of UTF-8 encoded bytes prefixed with the length and an unique identifier.
Specification: https://www.scheme.com/tspl4/objects.html#./objects:h11
See strings module for more docs since these modules are very similar.
Example memory layout:
A literal "hello" gets statically allocated at offset 4000 along with an ID 7 and the length 5.
-----------------
| Address | Value |
-----------------
| 4000 | 7 |
| 4000 | 5 |
| 4000 | hello |
| | |
| 8000 | 4005 |
-----------------
Functions
eval | Evaluate a symbols object |
inline | Inline static symbols in source directly into the binary |