Commit Graph

883 Commits

Author SHA1 Message Date
Tony Garnock-Jones 071566b1e1 Simplify text reader by reusing Racket's float parser 2023-11-01 17:13:36 +01:00
Tony Garnock-Jones 8a8facc080 More tests 2023-11-01 17:09:10 +01:00
Tony Garnock-Jones d4d1919957 Fix boundary reading 2023-11-01 16:41:25 +01:00
Tony Garnock-Jones d638555239 Cosmetic rearrangement of cheatsheets 2023-11-01 15:30:23 +01:00
Tony Garnock-Jones 39bfeedb54 New JavaScript packages 2023-11-01 14:50:56 +01:00
Tony Garnock-Jones 2bfd5f4b03 Release independent packages
preserves@4.992.0
preserves-path@4.992.0
preserves-schema@4.992.0
preserves-tools@4.992.0

Generated by cargo-workspaces
2023-11-01 14:48:37 +01:00
Tony Garnock-Jones 3313674f15 New python version 0.992.0 2023-11-01 14:47:11 +01:00
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 000c0ff2be Manually bump versions because lerna refuses to do it 2023-10-31 21:32:23 +01:00
Tony Garnock-Jones 7fe4030dd5 Python package version 0.991.0 2023-10-31 21:28:03 +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 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 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 7958b9a6f2 Bump version 2023-10-29 21:37:44 +01:00
Tony Garnock-Jones 8c9f3b13ee Publish
- @preserves/core@0.990.1
 - @preserves/schema-cli@0.990.2
 - @preserves/schema@0.990.2
2023-10-29 21:34:42 +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 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 c30073c3f9 Repair errors surfaced by the new tests 2023-10-29 19:27:29 +01:00
Tony Garnock-Jones a14b2d49b7 Add parse tests 2023-10-29 19:11:16 +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 2445ab4a5a Merge branch 'main' into comment-syntax-hash-space 2023-10-29 16:44:32 +01:00
Tony Garnock-Jones 9c90efe36b Release independent packages
preserves-schema@3.990.3

Generated by cargo-workspaces
2023-10-27 14:11:52 +02:00
Tony Garnock-Jones e31f834d72 Update preserves-schema-rs docs 2023-10-27 14:11:38 +02: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 8db860648b A little more documentation for preserves-schema 2023-10-27 14:03:53 +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 01d3659216 Split out @preserves/schema-cli from @preserves/schema 2023-10-19 02:27:01 +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 8ba216ff96 Python package version 0.990.0 2023-10-15 12:08:49 +02:00
Tony Garnock-Jones e3d67af17f Publish
- @preserves/core@0.990.0
 - @preserves/schema@0.990.0
2023-10-15 11:40:06 +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 ad3da3896b Publish
- @preserves/core@0.22.1
 - @preserves/schema@0.22.4
2023-10-02 21:00:09 +02:00
Tony Garnock-Jones c395265c3b Generalize preserves formatter 2023-10-02 20:59:14 +02:00
Tony Garnock-Jones 930964ca05 cargo fmt 2023-07-21 18:15:30 +02:00
Tony Garnock-Jones 32ee76f7d8 Add rustfmt_skip to generated files 2023-07-21 18:14:47 +02:00
Tony Garnock-Jones 08e62fd681 Merge remote-tracking branch 'origin/mr/11' 2023-07-21 17:42:26 +02:00
Bruce Mitchener a618987545 preserves-schema: Remove useless `vec!`.
Since `decode_lit` takes a `&[u8]`, no `vec!` is needed here.
2023-07-17 11:59:43 +07:00
Bruce Mitchener acfacd636b preserves-tools: deps: Update to clap 3 release.
This was previously using a beta release. This helps move towards
updating to the current v4 release.
2023-07-17 11:46:48 +07:00
Tony Garnock-Jones 54b9bb6f25 Repair machineword reads 2023-06-23 22:34:38 +02:00
Tony Garnock-Jones ae02cff81d Fix annotations; progress on integers 2023-06-23 22:28:31 +02:00
Tony Garnock-Jones 3c76819687 Annotations draft 2023-06-23 16:54:19 +02:00
Tony Garnock-Jones 9c5368b69b Binary writer draft 2023-06-23 15:40:05 +02:00
Tony Garnock-Jones 60f23286e2 Fix EOF handling; BigNum 2023-06-23 09:07:19 +02:00
Tony Garnock-Jones 8788a72a8d Binary codec (not yet working) 2023-06-21 00:45:04 +02:00
Tony Garnock-Jones 3c8d9dcf98 Google Test C++ library 2023-06-19 23:53:23 +02:00
Tony Garnock-Jones 1f06ff9422 Publish
- @preserves/core@0.22.0
 - @preserves/schema@0.22.3
2023-06-16 12:45:18 +02:00
Tony Garnock-Jones ac6a138a00 forEachEmbedded 2023-06-16 12:44:22 +02:00
Tony Garnock-Jones 69010737b9 Begin sketch of C++ implementation 2023-06-12 23:16:47 +02:00
Tony Garnock-Jones fe12a8d775 Publish
- @preserves/schema@0.22.2
2023-06-09 16:46:07 +02:00
Tony Garnock-Jones b41c0125b0 Treat `arguments` as a JavaScript keyword too. 2023-06-09 16:44:34 +02:00
Tony Garnock-Jones 0081e290ca Publish
- @preserves/core@0.21.1
 - @preserves/schema@0.22.1
2023-05-12 11:26:47 +02:00
Tony Garnock-Jones 134de6989b parse, parseAll 2023-05-12 11:26:06 +02:00
Tony Garnock-Jones a167e97c00 ValueClass 2023-05-12 11:25:56 +02:00
Tony Garnock-Jones 7e088ef8b3 Remove .dir-locals.el (now that we have lsp-clients-typescript-prefer-use-project-ts-server) 2023-05-05 14:03:15 +02:00
Tony Garnock-Jones 10768bd83e Publish
- @preserves/core@0.21.0
 - @preserves/schema@0.22.0
2023-05-03 10:26:44 +03:00
Tony Garnock-Jones 741b664970 Make field numbers accessible 2023-05-03 10:22:47 +03:00
Tony Garnock-Jones d53ca13cd7 Improve links a little 2023-03-17 15:45:19 +01:00
Tony Garnock-Jones 316c2dd407 Document preserves.schema 2023-03-17 15:24:53 +01:00
Tony Garnock-Jones fac24309aa Remove code snippets from heading (because otherwise it renders funny in the toc) 2023-03-17 10:34:02 +01:00
Tony Garnock-Jones b74f9a708b Always better to use quotes 2023-03-17 10:30:31 +01:00
Tony Garnock-Jones 1fc45a5365 Repair symlink 2023-03-17 10:29:44 +01:00
Tony Garnock-Jones d89896a6a7 Be cleverer about unreleased doc versions 2023-03-17 10:26:53 +01:00
Tony Garnock-Jones 8c033fa111 Document and repair path.py 2023-03-17 10:21:56 +01:00
Tony Garnock-Jones 2a7eaa5ae3 Versioned docs! 2023-03-17 09:07:53 +01:00
Tony Garnock-Jones 5314958086 Enable last-modified-date 2023-03-17 00:31:47 +01:00
Tony Garnock-Jones e96faede83 site_url, repo_url 2023-03-17 00:26:23 +01:00
Tony Garnock-Jones 9645c11051 serve-docs target 2023-03-17 00:22:24 +01:00
Tony Garnock-Jones 019cd35932 Bump version 2023-03-17 00:07:49 +01:00
Tony Garnock-Jones a4403cf6f3 More docs. That's the lot for python now except path and schema. 2023-03-17 00:07:27 +01:00
Tony Garnock-Jones c7687772b0 Update compare.py docs 2023-03-16 21:57:21 +01:00
Tony Garnock-Jones 514dc04920 Tweak 2023-03-16 21:43:47 +01:00
Tony Garnock-Jones a6c98159ce Another stab at long_description for python package 2023-03-16 21:42:25 +01:00
Tony Garnock-Jones 47e579068a Fix long_description 2023-03-16 21:38:45 +01:00
Tony Garnock-Jones 6b2b266a8f python 0.17.1 2023-03-16 21:31:37 +01:00
Tony Garnock-Jones 2bad9a6bca README.md for python 2023-03-16 21:31:24 +01:00
Tony Garnock-Jones 2ab814333c Deploy docs 2023-03-16 21:19:42 +01:00
Tony Garnock-Jones e3e1dd4944 Better __init__.py docs 2023-03-16 21:04:37 +01: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
Andrew Elgert b1f9eb45d2 Compiler can load from file-like objects 2023-03-14 11:45:30 -04:00