Tony Garnock-Jones
269ed2391a
Repair text syntax for numbers and symbols. Closes #19/#36/#37/#38.
...
Numbers and (bare) Symbols are now disambiguated after reading, which
permits leading `+`, leading `0`, and a wider range of acceptable
Symbols.
Updates spec text, test cases, and implementations. Some ancillary fixes
to Python's comparison routines are also included.
2022-11-08 19:56:24 +01:00
Tony Garnock-Jones
52de025c21
Parsing and reading via TextReader/TextWriter
2022-10-26 16:00:48 +02:00
Tony Garnock-Jones
7fdf50b963
Support comma style option to preserves-tool
2022-06-08 16:10:33 +02:00
Tony Garnock-Jones
261395beaf
`rec!` macro; access to `io::Write` inside `Writer`s
2022-01-19 14:25:52 +01:00
Tony Garnock-Jones
06fc9aa017
NestedValue::D --> NestedValue::Embedded
2021-09-15 15:19:03 +02:00
Tony Garnock-Jones
8127033407
Surprisingly, associated types might simplify drastically!
2021-09-14 22:56:09 +02:00
Tony Garnock-Jones
cfd9898b4d
Option to escape spaces
2021-08-05 15:54:41 +02:00
Tony Garnock-Jones
661d96780d
Yield Strings from TextWriter::encode*
2021-08-05 14:28:19 +02:00
Tony Garnock-Jones
e913951b91
TextWriter::encode for Vec<u8>
2021-08-02 21:49:40 +02:00
Tony Garnock-Jones
dcdfdb8dd9
Track boundaries in schema-emitted reader code
2021-08-02 20:55:44 +02:00
Tony Garnock-Jones
3176e5f8d0
Indented printing
2021-08-02 12:53:17 +02:00
Tony Garnock-Jones
af1405e87a
Use dtoa for better floating-point formatting
2021-08-02 12:14:07 +02:00
Tony Garnock-Jones
9d4e6998f2
TextReader/TextWriter
2021-08-02 11:42:48 +02:00