Tony Garnock-Jones
e923d87fa5
Switch from `#!` to `#:` for embedded values
2024-02-05 22:38:49 +01:00
Tony Garnock-Jones
be32f9b7c8
Remove single-precision floats from the implementations
2024-01-27 14:40:37 +01:00
Tony Garnock-Jones
114875b52f
Release independent packages
...
preserves@4.992.1
Generated by cargo-workspaces
2023-11-14 00:50:18 +01:00
Tony Garnock-Jones
12a690b4b5
Tests for empty line comment, and fix in Rust
2023-11-14 00:49:58 +01:00
Tony Garnock-Jones
8a8facc080
More tests
2023-11-01 17:09:10 +01:00
Tony Garnock-Jones
d11ec61714
Restrict positions where commas may exist
2023-11-01 14:45:58 +01:00
Tony Garnock-Jones
fb63ac24b0
Merge branch 'main' into comment-syntax-hash-space
2023-10-31 21:15:41 +01:00
Tony Garnock-Jones
8276a50552
Repair error in Rust integer width calculation
2023-10-31 13:27:03 +01:00
Tony Garnock-Jones
cf50e00f80
Repair failing TS bigint tests
2023-10-31 12:53:54 +01:00
Tony Garnock-Jones
c053102d07
Merge branch 'main' into comment-syntax-hash-space
2023-10-31 10:51:36 +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
7c0fc8f358
Repairs after merge
2023-10-29 22:32:27 +01:00
Tony Garnock-Jones
1aedfe46b7
Merge branch 'main' into comment-syntax-hash-space
2023-10-29 22:22:40 +01:00
Tony Garnock-Jones
b8fb7abab1
New tests and fixes for bad surrogate pair situations. Closes #43
2023-10-29 21:30:54 +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
a14b2d49b7
Add parse tests
2023-10-29 19:11:16 +01:00
Tony Garnock-Jones
ccf277cddb
Switch to "# "-prefixed text comment annotation syntax
2023-10-18 10:20:30 +02:00
Tony Garnock-Jones
3b89cbe880
Switch back to prefix-format binary annotations
2023-10-15 00:35:25 +02: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
7cbd1a2813
Docs for preserves.binary; better encoding annotations with canonicalization
2023-03-16 20:55:49 +01:00
Tony Garnock-Jones
99258be1ef
Fix doctest module loading to avoid double-creation of modules
2023-03-16 20:12:17 +01:00
Tony Garnock-Jones
031575ad82
Python preserves doctest runner, and mkdocs documentation stubs
2023-03-16 17:53:02 +01:00
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
2e8d53c779
Another schema test
2022-06-07 21:59:05 +02:00
Tony Garnock-Jones
34183a9519
Stub out some schema tests
2022-06-07 21:46:06 +02:00
Tony Garnock-Jones
c9c973ce9c
Preserves-order for Python
2022-06-07 21:45:12 +02:00
Tony Garnock-Jones
00eb9e97b6
Implement count function
2022-06-06 15:28:11 +02:00
Tony Garnock-Jones
21de8b799a
Canonicalizing binary encoder
2022-02-09 14:59:50 +01:00
Tony Garnock-Jones
850678a80a
New test of very long integer
2022-01-13 23:29:47 +01:00
Tony Garnock-Jones
8f99f14b92
Oops. Forgot to git add copies of test sample data
2022-01-12 12:27:01 +01:00
Tony Garnock-Jones
602dea1ac6
Rearrange tests to include test data. As part of this, remove tests for python2; from here out, python2 compatibility will likely rot.
2022-01-07 21:14:21 +01:00