Tony Garnock-Jones
58ebc93eb5
Repair comment reading and trailing comments in pexprs
2024-05-15 10:49:30 +02:00
Tony Garnock-Jones
cadf54b927
Update pexpr tests
2024-05-08 11:21:05 +02:00
Tony Garnock-Jones
42f4672446
Pexpr.asPreserves
2024-05-04 13:12:00 +02:00
Tony Garnock-Jones
1c86d8b7c5
Positioned<I>; iterator
2024-05-04 10:28:18 +02:00
Tony Garnock-Jones
64c1090938
Convert P-expressions to preserves values
2024-05-02 21:26:48 +02:00
Tony Garnock-Jones
dc61963e16
Core implementation of P-expressions for TypeScript
2024-05-02 17:05:40 +02:00
Tony Garnock-Jones
4f4ff6e108
Mark Embeddable objects specially, so that plain JS objects can be used as symbol-to-value maps.
2024-03-29 12:28:23 +01:00
Tony Garnock-Jones
afba8a0bff
"latin1" quasi-encoding Bytes utility
2024-03-23 11:13:08 +01:00
Tony Garnock-Jones
0726684ab5
Use bare embedded values.
2024-03-12 19:14:41 +01:00
Tony Garnock-Jones
be32f9b7c8
Remove single-precision floats from the implementations
2024-01-27 14:40:37 +01:00
Tony Garnock-Jones
b12d49739c
Update base64 tests (oops)
2023-11-25 23:58:45 +01:00
Tony Garnock-Jones
cf50e00f80
Repair failing TS bigint tests
2023-10-31 12:53:54 +01:00
Tony Garnock-Jones
1a2657fe33
Simplify and firm up test suite. Known failures: TS, wrt bigint
2023-10-30 17:28:33 +01:00
Tony Garnock-Jones
9595872177
Test cases and implementation updates for delimiters following Boolean and SymbolOrNumber. Closes #47
2023-10-29 21:04:52 +01:00
Tony Garnock-Jones
4869507b09
Enable text-parser tests in @preserves/core; fix a couple of errors
2023-10-29 18:12:12 +01:00
Tony Garnock-Jones
b7a2acf65b
Update implementations for simplified binary syntax.
...
As part of this, I noticed a problem when updating the Rust
implementation. With the BF..84 design for annotations, if you are
wanting to skip annotations—for example, if you're parsing
incrementally, SAX-style, ignoring annotations—then with any
parenthesised form you have to remember to check for and skip something
after reading a term. This is awkward, so I want to revisit the design
of annotations and go back to the prefix-form (85..) of the
current-mainline design.
2023-10-14 21:29:09 +02:00
Tony Garnock-Jones
2721ce81c4
Repair lexicographic ordering among Bytes instances, which in turn repairs canonicalizing binary output, which in turn fixes the tests now there's just been a very long test name symbol added.
2022-01-13 23:30:28 +01:00
Tony Garnock-Jones
3cc875bce3
Handle no-whitespace-after-a-number
2022-01-12 02:02:11 +01:00
Tony Garnock-Jones
43f31b9a78
Repairs to tests
2021-12-08 14:06:16 +01:00
Tony Garnock-Jones
e4a2503899
The Great Renaming: Pointer -> Embedded
2021-05-17 14:54:06 +02:00
Tony Garnock-Jones
8442718f96
Fix module cycles (largely by splitting PointerType in two)
2021-04-25 10:42:21 +02:00
Tony Garnock-Jones
e5965fde83
Rename DefaultPointer -> GenericPointer
2021-04-24 22:01:16 +02:00
Tony Garnock-Jones
8c783dbc7d
Explicit wrapper for Pointers
2021-04-24 21:59:52 +02:00
Tony Garnock-Jones
9f9514a7e6
Handle pointer type nesting properly
2021-04-22 20:51:48 +02:00
Tony Garnock-Jones
178f528bf0
Rearrange Dictionary type parameters for improved Record type inference
2021-03-17 12:20:06 +01:00
Tony Garnock-Jones
8f2da8f8db
A more... pragmatic DefaultPointer
2021-03-17 10:21:48 +01:00
Tony Garnock-Jones
425e7dd5cb
Rename samples.txt -> samples.pr
2021-03-17 09:08:07 +01:00
Tony Garnock-Jones
1cc0325007
Different approach to pointer codec; support custom schema-driven decode
2021-03-12 20:41:35 +01:00
Tony Garnock-Jones
754306aca3
Rearrange into two packages, using yarn workspaces
2021-03-10 19:24:20 +01:00