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
850678a80a
New test of very long integer
2022-01-13 23:29:47 +01:00
Tony Garnock-Jones
32ebebec34
Move racket preserves-tool out of the way (in favour of the rust one)
2021-08-10 08:40:11 -04:00
Tony Garnock-Jones
9b100ab9aa
Tweak base64 variant handling
2021-08-02 11:41:45 +02:00
Tony Garnock-Jones
790782fc87
Hex and Base64 encodings in preserves-tool
2021-07-13 15:58:05 +02:00
Tony Garnock-Jones
f808e37e89
Fix very stupid mistake in order.rkt
2021-06-16 21:36:09 +02:00
Tony Garnock-Jones
0d4d1e738c
Coerce integers to floats/doubles during unparse
2021-06-09 20:02:06 +02:00
Tony Garnock-Jones
a4d61017d8
Repair error wrt `float` struct test
2021-06-08 09:26:35 +02:00
Tony Garnock-Jones
ade9b0a0f1
map-embeddeds
2021-06-08 09:26:10 +02:00
Tony Garnock-Jones
c05180c492
Some tool docs; improve help message of preserves-tool
2021-06-04 17:47:16 +02:00
Tony Garnock-Jones
b23acdaf5a
Default to text output from preserves-tool
2021-06-01 15:37:45 +02:00
Tony Garnock-Jones
cb88c587b6
Include a copy of samples.pr so that tests run OK on the buildserver
2021-05-26 21:11:45 +02:00
Tony Garnock-Jones
e6efd03be7
Introduce explicit embedded wrapper
2021-05-26 21:09:06 +02:00
Tony Garnock-Jones
7ab12108e4
Inline reader module; add port->preserves
2021-05-26 13:56:37 +02:00
Tony Garnock-Jones
6c9071fd88
Optionally omit commas when writing preserves
2021-05-25 11:05:16 +02:00
Tony Garnock-Jones
8b2aa0fb87
preserve=?
2021-05-25 11:05:03 +02:00
Tony Garnock-Jones
5c644624c4
detect-preserve-syntax, file->preserves
2021-05-25 11:04:51 +02:00
Tony Garnock-Jones
4ed8fd2c92
Add "annotations" procedure
2021-05-25 11:02:36 +02:00
Tony Garnock-Jones
e4a2503899
The Great Renaming: Pointer -> Embedded
2021-05-17 14:54:06 +02:00
Tony Garnock-Jones
c27aa7579e
Repair detection of "easily-printable" symbols
2021-03-08 15:31:50 +01:00
Tony Garnock-Jones
532e811894
Introduce pointers
2021-01-29 12:03:28 +01:00
Tony Garnock-Jones
2c5ed693f5
Tool works on multiple inputs now
2021-01-23 22:54:27 +01:00
Tony Garnock-Jones
8459521db5
No more `StreamingTest`s
2021-01-23 22:54:27 +01:00
Tony Garnock-Jones
749747ca05
Remove #:read-annotations?, to ensure a consistent output format from the reader
2021-01-23 22:54:27 +01:00
Tony Garnock-Jones
77fd8e86bf
Ah, of course a 0-byte integer has value 0
2021-01-23 22:54:27 +01:00
Tony Garnock-Jones
85fe7b3b07
Update Racket implementation
2021-01-23 22:54:27 +01:00
Tony Garnock-Jones
c4f90ef86b
Remove placeholders from spec and implementations 5/5
...
Update Racket implementation: remove placeholders; reject zero-length
streamed binary chunks.
2020-05-28 23:23:19 +02:00
Tony Garnock-Jones
8e0ab95d82
Autodetectability of binary vs text; documented test case schema a little
2020-05-13 12:56:13 +02:00
Tony Garnock-Jones
d883ad9a75
Move racket implementation one subdirectory deeper, to allow package name inference to work
2020-04-27 21:07:20 +02:00