|
wavelength 1.0.0
|
Reader of the decompiled text form of a compiled DataArray file. More...
#include <datatext.h>
Static Public Member Functions | |
| static std::expected< DataFile, Error > | parse (std::string_view text) |
| Parse the text into a compiled file without a seed. | |
Reader of the decompiled text form of a compiled DataArray file.
The text opens with the source file names in braces. Each array is in parentheses, and an optional [line file] pair after the opening parenthesis gives its source line and file index; a pair before the first array gives those of the root. Elements are integers, floats, symbols in single quotes, strings in double quotes, and bare words, which are symbols. A ; starts a comment that ends with the line.
Parse the text into a compiled file without a seed.
| text | The text, one byte per character. |