Commit Graph

241 Commits

Author SHA1 Message Date
Tony Garnock-Jones 33db0b8718 Publish
- @preserves/core@0.994.0
 - @preserves/schema-cli@0.994.0
 - @preserves/schema@0.994.0
2024-02-05 22:55:15 +01:00
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 d579a0d607 Publish
- @preserves/schema-cli@0.992.5
 - @preserves/schema@0.992.5
2023-12-17 22:30:05 +13:00
Tony Garnock-Jones 7178fb0d9b Repair constructor generation; attach schemas 2023-12-17 22:29:09 +13:00
Tony Garnock-Jones 4c0bd3b9d7 Repair preserves-schemac 2023-12-17 11:12:04 +13:00
Tony Garnock-Jones b98f434ac9 Publish
- @preserves/core@0.992.4
 - @preserves/schema-cli@0.992.4
 - @preserves/schema@0.992.4
2023-12-17 11:06:15 +13:00
Tony Garnock-Jones 61cec52d46 preserves-schema-browser.js 2023-12-17 11:05:36 +13:00
Tony Garnock-Jones f6ddf0ca3b Interpreter 2023-12-17 11:05:25 +13:00
Tony Garnock-Jones 9c7770a54f Repair codegen for setof and dictof 2023-12-17 11:05:07 +13:00
Tony Garnock-Jones cd29602761 Host types 2023-12-17 11:02:53 +13:00
Tony Garnock-Jones 897fc13054 Preserves ordering 2023-12-16 22:13:47 +13:00
Tony Garnock-Jones 9420cc7236 New EncodableDictionary/EncodableSet as intermediate steps between Flex- and Keyed- 2023-12-16 22:13:17 +13:00
Tony Garnock-Jones e0ef236001 Cosmetic: remove unused import 2023-12-16 09:38:00 +13:00
Tony Garnock-Jones 634b263ed2 Generalize constraints on keys in KeyedDictionary 2023-12-16 09:37:47 +13:00
Tony Garnock-Jones 2a6d0912b6 Avoid rollup step for schema-cli package 2023-12-16 07:46:44 +13:00
Tony Garnock-Jones 4a656dc929 Publish
- @preserves/core@0.992.3
 - @preserves/schema-cli@0.992.3
 - @preserves/schema@0.992.3
2023-11-26 00:00:54 +01:00
Tony Garnock-Jones 2532b42959 Make utf-8 decoding stricter in JavaScript 2023-11-26 00:00:27 +01:00
Tony Garnock-Jones b12d49739c Update base64 tests (oops) 2023-11-25 23:58:45 +01:00
Tony Garnock-Jones b6ac046ba7 Publish
- @preserves/core@0.992.2
 - @preserves/schema-cli@0.992.2
 - @preserves/schema@0.992.2
2023-11-19 16:03:19 +01:00
Tony Garnock-Jones 7b3731a5e4 Remove superfluous generic parameter 2023-11-19 16:02:34 +01:00
Tony Garnock-Jones 185c233b2f Refactor base64 2023-11-19 16:02:18 +01:00
Tony Garnock-Jones 22b2f162bc Remove one of the sources of cyclic dependencies 2023-11-19 15:54:01 +01:00
Tony Garnock-Jones c5bec4ea76 Publish
- @preserves/core@0.992.1
 - @preserves/schema-cli@0.992.1
 - @preserves/schema@0.992.1
2023-11-03 10:32:36 +01:00
Tony Garnock-Jones 2e84614b3b Allow "sufficiently identifierlike" values in dictionaries too 2023-11-03 10:31:44 +01:00
Tony Garnock-Jones 39bfeedb54 New JavaScript packages 2023-11-01 14:50:56 +01:00
Tony Garnock-Jones d11ec61714 Restrict positions where commas may exist 2023-11-01 14:45:58 +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 fb63ac24b0 Merge branch 'main' into comment-syntax-hash-space 2023-10-31 21:15:41 +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 1aedfe46b7 Merge branch 'main' into comment-syntax-hash-space 2023-10-29 22:22:40 +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 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 2445ab4a5a Merge branch 'main' into comment-syntax-hash-space 2023-10-29 16:44:32 +01: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 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 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 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