Tony Garnock-Jones
|
6c9071fd88
|
Optionally omit commas when writing preserves
|
2021-05-25 11:05:16 +02:00 |
Tony Garnock-Jones
|
8b2aa0fb87
|
preserve=?
|
2021-05-25 11:05:03 +02:00 |
Tony Garnock-Jones
|
5c644624c4
|
detect-preserve-syntax, file->preserves
|
2021-05-25 11:04:51 +02:00 |
Tony Garnock-Jones
|
163e338ce5
|
Name is already always supplied, no need to add it
|
2021-05-25 11:04:29 +02:00 |
Tony Garnock-Jones
|
4ed8fd2c92
|
Add "annotations" procedure
|
2021-05-25 11:02:36 +02:00 |
Tony Garnock-Jones
|
669d1b480d
|
Name is already always supplied, no need to add it
|
2021-05-25 11:01:55 +02:00 |
Tony Garnock-Jones
|
7d06c7dce0
|
Repair dict "named" generation
|
2021-05-25 10:49:35 +02:00 |
Tony Garnock-Jones
|
bdd699ae9f
|
Deterministic hash ordering for Racket CompoundPattern-dict
|
2021-05-24 17:46:50 +02:00 |
Tony Garnock-Jones
|
33a80533fa
|
Checker for Racket
|
2021-05-24 12:47:44 +02:00 |
Tony Garnock-Jones
|
1ca796e6aa
|
Publish
- @preserves/schema@0.13.0
|
2021-05-24 12:05:44 +02:00 |
Tony Garnock-Jones
|
4914c8cd68
|
Move type/gentype back into compiler where it belongs
|
2021-05-24 12:05:02 +02:00 |
Tony Garnock-Jones
|
46d76dfca7
|
Redo bijection checking without using gentype
|
2021-05-24 12:03:04 +02:00 |
Tony Garnock-Jones
|
0db223ede8
|
More tests, and variant label duplicate check
|
2021-05-24 11:53:25 +02:00 |
Tony Garnock-Jones
|
52be118dc7
|
A few more tests
|
2021-05-24 11:32:29 +02:00 |
Tony Garnock-Jones
|
a1fdddcf7b
|
Simple tests; more exports
|
2021-05-24 11:27:46 +02:00 |
Tony Garnock-Jones
|
e594d22d09
|
Publish
- @preserves/core@0.16.0
- @preserves/schema@0.12.0
|
2021-05-24 10:40:50 +02:00 |
Tony Garnock-Jones
|
aaee62044c
|
Lerna for convenient package collection scripting
|
2021-05-24 10:39:23 +02:00 |
Tony Garnock-Jones
|
9bdfc4c3ab
|
Split compute from report
|
2021-05-24 10:16:00 +02:00 |
Tony Garnock-Jones
|
c4bfc0eefc
|
Follow improvements through Racket schema impl
|
2021-05-24 10:10:13 +02:00 |
Tony Garnock-Jones
|
2559a4713f
|
Much improved refactoring/repair of metaschema
|
2021-05-24 00:15:31 +02:00 |
Tony Garnock-Jones
|
1d6956fa55
|
Move gen-schema.rkt to gen/schema.rkt
|
2021-05-22 15:52:12 +02:00 |
Tony Garnock-Jones
|
9e6743abdc
|
Autogenerate predicate for unions
|
2021-05-22 15:50:54 +02:00 |
Tony Garnock-Jones
|
43b776eb7f
|
Switch to manipulating parsed form of metaschema
|
2021-05-22 15:47:13 +02:00 |
Tony Garnock-Jones
|
ebab3fafc5
|
gen-schema.rkt (initial rendering)
|
2021-05-22 15:43:29 +02:00 |
Tony Garnock-Jones
|
49cba14b4f
|
Initial work on preserves-schema for Racket
|
2021-05-21 21:44:05 +02:00 |
Tony Garnock-Jones
|
1654ad4c80
|
Repair error reporting
|
2021-05-21 17:33:29 +02:00 |
Tony Garnock-Jones
|
2ddedc7673
|
v0.11.2
|
2021-05-21 17:28:48 +02:00 |
Tony Garnock-Jones
|
dbd6c3cf53
|
Repair checker
|
2021-05-21 17:28:18 +02:00 |
Tony Garnock-Jones
|
2bde06f509
|
Add omitted checkBinding call
|
2021-05-21 16:14:58 +02:00 |
Tony Garnock-Jones
|
0f1ea4aa20
|
Further simplification
|
2021-05-21 16:01:04 +02:00 |
Tony Garnock-Jones
|
46ab6d90ec
|
v0.11.1
|
2021-05-21 15:56:21 +02:00 |
Tony Garnock-Jones
|
b5b4effeac
|
Simplify unconverter generation even further
|
2021-05-21 15:56:01 +02:00 |
Tony Garnock-Jones
|
20b676df27
|
Move insufficient-information checking to read-time
|
2021-05-21 15:49:06 +02:00 |
Tony Garnock-Jones
|
ecdb314366
|
Require at least two branches in "&" and "/"
|
2021-05-21 11:20:25 +02:00 |
Tony Garnock-Jones
|
7253d1507e
|
v0.9.0
|
2021-05-20 22:36:07 +02:00 |
Tony Garnock-Jones
|
10380e451a
|
Simplify schemas by allowing at most one of "&" or "/" in a definition
|
2021-05-20 22:34:20 +02:00 |
Tony Garnock-Jones
|
436b14e2fe
|
v0.8.1
|
2021-05-17 15:13:08 +02:00 |
Tony Garnock-Jones
|
cefc029f70
|
Repair egregious error in schema compiler
|
2021-05-17 15:12:39 +02:00 |
Tony Garnock-Jones
|
e4a2503899
|
The Great Renaming: Pointer -> Embedded
|
2021-05-17 14:54:06 +02:00 |
Tony Garnock-Jones
|
6fc41ead6f
|
v0.7.0
|
2021-04-25 10:44:36 +02:00 |
Tony Garnock-Jones
|
8e068fbdbf
|
v0.14.0
|
2021-04-25 10:43:52 +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
|
854a2bc41c
|
v0.6.0
|
2021-04-25 00:17:57 +02:00 |
Tony Garnock-Jones
|
638f8e026e
|
v0.13.0
|
2021-04-25 00:16:38 +02:00 |
Tony Garnock-Jones
|
2d0e6255bd
|
Embed pointer values into Values
|
2021-04-25 00:09:33 +02:00 |
Tony Garnock-Jones
|
58d2bf6f3a
|
Make undeclared pointer type `any` instead of `never`, and take advantage of new explicit pointer wrappers
|
2021-04-24 23:49:37 +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
|
aef970dc2d
|
v0.5.1
|
2021-04-22 20:55:48 +02:00 |
Tony Garnock-Jones
|
8895d2b6a4
|
Fix rollup
|
2021-04-22 20:55:26 +02:00 |
Tony Garnock-Jones
|
be6537f6d4
|
v0.5.0
|
2021-04-22 20:54:51 +02:00 |
Tony Garnock-Jones
|
c54a17162d
|
Bump dep
|
2021-04-22 20:54:28 +02:00 |
Tony Garnock-Jones
|
63cf5d1cf2
|
v0.12.0
|
2021-04-22 20:53:12 +02:00 |
Tony Garnock-Jones
|
9f9514a7e6
|
Handle pointer type nesting properly
|
2021-04-22 20:51:48 +02:00 |
Tony Garnock-Jones
|
825d208198
|
Introduce Cargo workspace in prep for schema
|
2021-04-19 22:28:59 +02:00 |
Tony Garnock-Jones
|
b4d7af4322
|
v0.4.0
|
2021-04-01 22:02:46 +02:00 |
Tony Garnock-Jones
|
e763174846
|
Bump
|
2021-04-01 22:02:27 +02:00 |
Tony Garnock-Jones
|
e1e7904a87
|
v0.11.0
|
2021-04-01 22:02:08 +02:00 |
Tony Garnock-Jones
|
545e1bb6de
|
Switch from yargs to commander
|
2021-04-01 21:57:49 +02:00 |
Tony Garnock-Jones
|
3ad56a5275
|
Enhance preserves-schemac to emit bundles
|
2021-04-01 21:12:11 +02:00 |
Tony Garnock-Jones
|
55fab35073
|
Schema Bundles
|
2021-04-01 20:31:08 +02:00 |
Tony Garnock-Jones
|
121bcc7a53
|
Refactor schema schema
|
2021-03-23 19:40:06 +01:00 |
Tony Garnock-Jones
|
94f6959ac8
|
Named instead of positional ctor args
|
2021-03-23 16:59:44 +01:00 |
Tony Garnock-Jones
|
d64bb82c22
|
Fix preserves-schemac
|
2021-03-23 16:37:35 +01:00 |
Tony Garnock-Jones
|
c23cbcc60c
|
Fix error reporting; handle unit like record
|
2021-03-23 12:16:16 +01:00 |
Tony Garnock-Jones
|
e187fb83b4
|
Regenerate to avoid warnings
|
2021-03-23 12:09:16 +01:00 |
Tony Garnock-Jones
|
4434f712b6
|
Fix fromPtr; avoid warnings
|
2021-03-23 12:08:58 +01:00 |
Tony Garnock-Jones
|
d91924c72b
|
Regenerate
|
2021-03-23 11:37:22 +01:00 |
Tony Garnock-Jones
|
7d8453a806
|
Unconverter
|
2021-03-23 11:36:55 +01:00 |
Tony Garnock-Jones
|
1d73289345
|
First attempt at a merge() utility
|
2021-03-23 11:36:11 +01:00 |
Tony Garnock-Jones
|
4ded3a484c
|
Excise old decoder
|
2021-03-22 14:43:40 +01:00 |
Tony Garnock-Jones
|
87dda48083
|
Use $ instead of _ in tokens
|
2021-03-22 12:29:27 +01:00 |
Tony Garnock-Jones
|
4814790d8e
|
Cut over to new representation
|
2021-03-22 12:13:34 +01:00 |
Tony Garnock-Jones
|
0304c2631b
|
genctor.ts
|
2021-03-21 22:02:34 +01:00 |
Tony Garnock-Jones
|
889d38bbb8
|
Fix types.
|
2021-03-19 23:42:43 +01:00 |
Tony Garnock-Jones
|
0970898065
|
Prepare for removing base environment: special support for any
|
2021-03-19 20:54:05 +01:00 |
Tony Garnock-Jones
|
1c07573178
|
Refactor type.ts
|
2021-03-18 22:51:00 +01:00 |
Tony Garnock-Jones
|
c8b752a73b
|
Refactor withCapture
|
2021-03-18 22:41:27 +01:00 |
Tony Garnock-Jones
|
d372977023
|
Add Capture support; repair (redo) converter accordingly
|
2021-03-18 22:33:37 +01:00 |
Tony Garnock-Jones
|
084f54f869
|
Work on converter; split up compiler
|
2021-03-18 14:02:47 +01:00 |
Tony Garnock-Jones
|
98558b81f0
|
Full stack traces
|
2021-03-18 11:14:31 +01:00 |
Tony Garnock-Jones
|
5d2ee85b36
|
More general variant
|
2021-03-17 20:23:55 +01:00 |
Tony Garnock-Jones
|
3463cd4a65
|
Further schema schema fixes
|
2021-03-17 20:01:26 +01:00 |
Tony Garnock-Jones
|
5f71239130
|
Further refine schema schema
|
2021-03-17 19:17:19 +01:00 |
Tony Garnock-Jones
|
376e83acd0
|
Allow naming of `and` branches
|
2021-03-17 16:25:29 +01:00 |
Tony Garnock-Jones
|
306c7c2cae
|
Support writing to stdout
|
2021-03-17 16:14:45 +01:00 |
Tony Garnock-Jones
|
bacf310648
|
Refactor compiler before new approach
|
2021-03-17 15:59:46 +01:00 |
Tony Garnock-Jones
|
98346c61d5
|
More preparation for alternate compilation approach
|
2021-03-17 14:36:44 +01:00 |
Tony Garnock-Jones
|
ca42ffe832
|
isCompound
|
2021-03-17 14:24:41 +01:00 |
Tony Garnock-Jones
|
05c7343983
|
Rename and export asLatin1
|
2021-03-17 12:56:49 +01:00 |
Tony Garnock-Jones
|
e6f99ae2e1
|
Prepare for alternative compiler output
|
2021-03-17 12:38:11 +01:00 |
Tony Garnock-Jones
|
b9019d03f1
|
Tighten schema definition to permit simpler codegen
|
2021-03-17 12:20:50 +01: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
|
12121128a6
|
Remove unused interpreter.ts
|
2021-03-17 10:00:06 +01:00 |
Tony Garnock-Jones
|
425e7dd5cb
|
Rename samples.txt -> samples.pr
|
2021-03-17 09:08:07 +01:00 |
Tony Garnock-Jones
|
434279ab66
|
For some reason, leap doesn't work with the /dev/stdout version
|
2021-03-16 21:30:44 +01:00 |
Tony Garnock-Jones
|
7072f19407
|
Small updates
|
2021-03-16 14:36:46 +01:00 |
Tony Garnock-Jones
|
adfb1822ac
|
Simpler schema-schema
|
2021-03-14 22:59:53 +01:00 |
Tony Garnock-Jones
|
14be044092
|
preserves-schemac
|
2021-03-14 22:53:13 +01:00 |
Tony Garnock-Jones
|
5393308be4
|
Avoid unnecessary use of asLiteral
|
2021-03-14 21:13:40 +01:00 |
Tony Garnock-Jones
|
5afb1469f3
|
Faster generated decoders
|
2021-03-14 21:10:47 +01:00 |
Tony Garnock-Jones
|
e078a71b30
|
Bump version
|
2021-03-12 20:52:52 +01:00 |
Tony Garnock-Jones
|
47da2e5308
|
v0.3.1
|
2021-03-12 20:46:43 +01:00 |
Tony Garnock-Jones
|
5e3ae0c18b
|
Argh, fix dep version
|
2021-03-12 20:45:37 +01:00 |
Tony Garnock-Jones
|
d6d4e830a3
|
v0.3.0
|
2021-03-12 20:44:44 +01:00 |
Tony Garnock-Jones
|
2311dbd245
|
v0.10.0
|
2021-03-12 20:44:03 +01:00 |
Tony Garnock-Jones
|
d502249c53
|
Repair record decoders
|
2021-03-12 20:42:53 +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
|
4ee9f99529
|
Inline single-use function
|
2021-03-12 11:33:49 +01:00 |
Tony Garnock-Jones
|
942fb79a2e
|
Regenerate schema
|
2021-03-12 11:14:39 +01:00 |
Tony Garnock-Jones
|
ce947c109a
|
Cosmetic: rename function, rearrange functions
|
2021-03-12 11:11:00 +01:00 |
Tony Garnock-Jones
|
2b9eddfc79
|
Rename value::value to value::repr, the final clippyism
|
2021-03-12 11:04:23 +01:00 |
Tony Garnock-Jones
|
d811032ac7
|
Fix up almost all reported clippyisms
|
2021-03-12 10:59:28 +01:00 |
Tony Garnock-Jones
|
bddb111f87
|
v0.2.1
|
2021-03-11 23:11:47 +01:00 |
Tony Garnock-Jones
|
a1db64422c
|
v0.9.1
|
2021-03-11 23:11:25 +01:00 |
Tony Garnock-Jones
|
cfa0a9caa3
|
.npmignore is required to not omit crucial build products
|
2021-03-11 23:11:06 +01:00 |
Tony Garnock-Jones
|
fc88612414
|
v0.2.0
|
2021-03-11 23:02:35 +01:00 |
Tony Garnock-Jones
|
c75aaf4b18
|
Includes in schema compiler
|
2021-03-11 23:02:18 +01:00 |
Tony Garnock-Jones
|
55e4222d68
|
v0.1.1
|
2021-03-11 19:14:57 +01:00 |
Tony Garnock-Jones
|
9a46a22fb6
|
Oops - wrong dependency version
|
2021-03-11 19:14:48 +01:00 |
Tony Garnock-Jones
|
86fc0acc92
|
v0.1.0
|
2021-03-11 19:12:27 +01:00 |
Tony Garnock-Jones
|
f531eb347d
|
v0.9.0
|
2021-03-11 19:11:46 +01:00 |
Tony Garnock-Jones
|
8ec5946696
|
yarnrc
|
2021-03-11 19:11:36 +01:00 |
Tony Garnock-Jones
|
d9726a6878
|
Fix up rollup config for CLI compiler
|
2021-03-11 19:05:54 +01:00 |
Tony Garnock-Jones
|
8d7e7c6d95
|
Pointers; improved diagnostics
|
2021-03-11 17:59:40 +01:00 |
Tony Garnock-Jones
|
c09032f609
|
Regenerate schema
|
2021-03-11 14:43:58 +01:00 |
Tony Garnock-Jones
|
c8f564aea4
|
Position tracking in Reader; major driver improvements in schema compiler
|
2021-03-11 14:43:06 +01:00 |
Tony Garnock-Jones
|
94f6f9af9d
|
Fix rollup config for CLI tool
|
2021-03-11 11:01:01 +01:00 |
Tony Garnock-Jones
|
d932431d83
|
Improve compiler driver
|
2021-03-11 10:56:49 +01:00 |
Tony Garnock-Jones
|
ba2c7e9978
|
Generate as*() alongside is*()
|
2021-03-11 09:25:17 +01:00 |
Tony Garnock-Jones
|
87bb930020
|
Fix schema package.json for publish
|
2021-03-10 23:32:14 +01:00 |
Tony Garnock-Jones
|
929f916d1d
|
Bump typescript version
|
2021-03-10 23:16:05 +01:00 |
Tony Garnock-Jones
|
932818145b
|
Bootstrap schema schema
|
2021-03-10 23:15:53 +01:00 |
Tony Garnock-Jones
|
7c587f03d3
|
Allow tide to find the appropriate tsserver
|
2021-03-10 23:14:54 +01:00 |
Tony Garnock-Jones
|
036d42a73a
|
Default to pointer type being never instead of object
|
2021-03-10 23:14:26 +01:00 |
Tony Garnock-Jones
|
754306aca3
|
Rearrange into two packages, using yarn workspaces
|
2021-03-10 19:24:20 +01:00 |
Tony Garnock-Jones
|
8187337187
|
Prepare for command-line schem compiler tool
|
2021-03-09 19:29:31 +01:00 |
Tony Garnock-Jones
|
447380218e
|
More
|
2021-03-09 16:45:57 +01:00 |
Tony Garnock-Jones
|
62bab41bed
|
First steps toward schema
|
2021-03-09 15:59:40 +01:00 |
Tony Garnock-Jones
|
c27aa7579e
|
Repair detection of "easily-printable" symbols
|
2021-03-08 15:31:50 +01:00 |
Tony Garnock-Jones
|
dc96f74075
|
Text syntax reader in Javascript implementation
|
2021-03-05 21:16:14 +01:00 |
Tony Garnock-Jones
|
a05bf0cb7a
|
Fix canonical encoding of Set and Dictionary
|
2021-03-05 21:14:39 +01:00 |
Tony Garnock-Jones
|
4022b76650
|
Move text stuff to text.ts
|
2021-03-04 22:42:40 +01:00 |
Tony Garnock-Jones
|
5412f8b9d0
|
Optimizations for reuse of a Decoder instance
|
2021-03-04 11:26:11 +01:00 |
Tony Garnock-Jones
|
550224e0b1
|
FlexMap getOrSet and getAndDelete
|
2021-03-03 19:14:58 +01:00 |
Tony Garnock-Jones
|
eaff7b86d8
|
Repair remaining cyclic dependency
|
2021-03-02 22:54:58 +01:00 |
Tony Garnock-Jones
|
6d2120989b
|
Fix *almost* all cyclic dependencies in js impl
|
2021-03-02 22:43:10 +01:00 |
Tony Garnock-Jones
|
c8c027f762
|
Repair javascript integer codec
|
2021-03-02 16:38:54 +01:00 |
Tony Garnock-Jones
|
75790f237b
|
Bump version and deps
|
2021-03-02 13:42:51 +01:00 |