Commit Graph

116 Commits

Author SHA1 Message Date
Tony Garnock-Jones d11ec61714 Restrict positions where commas may exist 2023-11-01 14:45:58 +01:00
Tony Garnock-Jones c89147dd6a Restrict usage of commas. Bump spec version to 0.992 2023-11-01 14:13:36 +01:00
Tony Garnock-Jones 1784024952 Release independent packages
preserves@4.991.1

Generated by cargo-workspaces
2023-11-01 00:13:46 +01:00
Tony Garnock-Jones 9ed9296fc0 Default to Document-style treatment of whitespace-before-EOF 2023-11-01 00:13:23 +01:00
Tony Garnock-Jones 334d9df81c Fix quick-reference cards 2023-10-31 22:17:24 +01:00
Tony Garnock-Jones 61f298503e Release independent packages
preserves@4.991.0
preserves-path@4.991.0
preserves-schema@4.991.0
preserves-tools@4.991.0

Generated by cargo-workspaces
2023-10-31 21:26:56 +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 47b4c07268 Release independent packages
preserves@3.990.4

Generated by cargo-workspaces
2023-10-31 13:27:35 +01:00
Tony Garnock-Jones 8276a50552 Repair error in Rust integer width calculation 2023-10-31 13:27:03 +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 e2e81a67c3 Fix up cheat sheets 2023-10-29 22:11:43 +01:00
Tony Garnock-Jones 9d1db2d71f Bump versions manually again 2023-10-29 21:47:06 +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 e8c0a2565e Repair errors exposed by parse tests in rust 2023-10-29 21:02:48 +01:00
Tony Garnock-Jones 755a8bc73b Enable parse tests in rust 2023-10-29 21:00:56 +01:00
Tony Garnock-Jones 2445ab4a5a Merge branch 'main' into comment-syntax-hash-space 2023-10-29 16:44:32 +01:00
Tony Garnock-Jones af5de5b836 Release independent packages
preserves@3.990.2
preserves-schema@3.990.2

Generated by cargo-workspaces
2023-10-27 14:04:14 +02:00
Tony Garnock-Jones f009920dd7 Progress on documenting preserves-schema 2023-10-27 13:26:52 +02:00
Tony Garnock-Jones a2cb071f01 Release independent packages
preserves@3.990.1
preserves-schema@3.990.1

Generated by cargo-workspaces
2023-10-27 11:44:22 +02:00
Tony Garnock-Jones 130e58a3e1 More documentation 2023-10-27 11:40:55 +02:00
Tony Garnock-Jones 4b40bf174d Document Preserves crate 2023-10-27 00:46:27 +02:00
Tony Garnock-Jones ccf277cddb Switch to "# "-prefixed text comment annotation syntax 2023-10-18 10:20:30 +02:00
Tony Garnock-Jones bc1f4f0ae5 Manually bump versions because I can never figure out how cargo workspaces is supposed to work 2023-10-15 12:20:51 +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 930964ca05 cargo fmt 2023-07-21 18:15:30 +02:00
Tony Garnock-Jones 5bee5fb247 Major bump to rust preserves because of the new numerics/symbol syntax 2023-01-16 14:55:08 +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 0b94af3a52 Release independent packages
preserves@2.5.0

Generated by cargo-workspaces
2022-10-26 16:01:48 +02:00
Tony Garnock-Jones 52de025c21 Parsing and reading via TextReader/TextWriter 2022-10-26 16:00:48 +02:00
Tony Garnock-Jones b5e2eeae46 Release independent packages
preserves@2.4.1
preserves-path@4.0.1
preserves-schema@3.0.1
preserves-tools@3.0.1

Generated by cargo-workspaces
2022-10-26 13:31:17 +02:00
Tony Garnock-Jones 1804fa3918 Prepare to try out cargo-workspaces as release tool 2022-10-26 13:30:45 +02:00
Tony Garnock-Jones ad1aec3d89 Reject odd number of hexits rather than ignoring the lone trailing hexit 2022-10-26 12:49:49 +02:00
Tony Garnock-Jones 0bc742d7a2 (cargo-release) version {{version}} 2022-06-08 16:27:04 +02:00
Tony Garnock-Jones 7fdf50b963 Support comma style option to preserves-tool 2022-06-08 16:10:33 +02:00
Tony Garnock-Jones 80e6e4aa3f Prepare for move away from preserves.gitlab.io/preserves toward preserves.dev 2022-05-24 13:32:54 +02:00
Tony Garnock-Jones 3d1b151462 (cargo-release) version {{version}} 2022-01-19 14:27:14 +01: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 668ac9f680 (cargo-release) version {{version}} 2021-10-04 14:32:51 +02:00
Tony Garnock-Jones 77c305a4cf into_string, into_bytestring, into_symbol 2021-10-04 14:28:56 +02:00
Tony Garnock-Jones 5260f85952 Fix value_owned for ArcValue 2021-10-02 11:49:40 +02:00
Tony Garnock-Jones b73e0c7025 (cargo-release) version {{version}} 2021-09-30 13:12:27 +02:00
Tony Garnock-Jones e2a4e3d6cb Inline the heck out of the binary codec for a ~5% speedup 2021-09-30 13:12:06 +02:00
Tony Garnock-Jones e31cf739df (cargo-release) version {{version}} 2021-09-30 12:45:19 +02:00
Tony Garnock-Jones 486a631e73 Add strip_annotations function and expose it in preserves-tool 2021-09-30 12:41:29 +02:00
Tony Garnock-Jones 29a882f953 Shrink commonest annotationless representation 2021-09-30 11:15:26 +02:00
Tony Garnock-Jones 1b4064b17c Release 2.0.0 2021-09-25 11:16:48 +02:00