Tony Garnock-Jones
|
9c7770a54f
|
Repair codegen for setof and dictof
|
2023-12-17 11:05:07 +13:00 |
Tony Garnock-Jones
|
ae6eaa663e
|
Expose a touch more static information, e.g. __as_preserve__ and __from_preserve__.
|
2022-01-22 23:25:16 +01:00 |
Tony Garnock-Jones
|
972085a59b
|
Use GenericEmbedded for embedded schemas
|
2021-12-12 23:52:31 +01:00 |
Tony Garnock-Jones
|
80dd3cd6b4
|
Support access to "external" schema module via some dotted path within a TypeScript module
|
2021-12-12 22:58:00 +01:00 |
Tony Garnock-Jones
|
1e4bf0dc51
|
Export reflective information about schema-generated types
|
2021-12-09 18:36:45 +01:00 |
Tony Garnock-Jones
|
6576f30639
|
Refactoring of uncertain benefit: allow multiple function definitions at once
|
2021-12-03 14:42:49 +01:00 |
Tony Garnock-Jones
|
3a605e75d6
|
Better treatment of generics in TypeScript schema compiler, after the Rust implementation
|
2021-10-11 12:56:53 +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
|
20b676df27
|
Move insufficient-information checking to read-time
|
2021-05-21 15:49:06 +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
|
e4a2503899
|
The Great Renaming: Pointer -> Embedded
|
2021-05-17 14:54:06 +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
|
4434f712b6
|
Fix fromPtr; avoid warnings
|
2021-03-23 12:08:58 +01:00 |
Tony Garnock-Jones
|
7d8453a806
|
Unconverter
|
2021-03-23 11:36:55 +01:00 |
Tony Garnock-Jones
|
4ded3a484c
|
Excise old decoder
|
2021-03-22 14:43:40 +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
|
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
|
5d2ee85b36
|
More general variant
|
2021-03-17 20:23:55 +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
|
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
|
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
|
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
|
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
|
ce947c109a
|
Cosmetic: rename function, rearrange functions
|
2021-03-12 11:11:00 +01:00 |
Tony Garnock-Jones
|
c75aaf4b18
|
Includes in schema compiler
|
2021-03-11 23:02:18 +01:00 |
Tony Garnock-Jones
|
8d7e7c6d95
|
Pointers; improved diagnostics
|
2021-03-11 17:59:40 +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
|
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
|
932818145b
|
Bootstrap schema schema
|
2021-03-10 23:15:53 +01:00 |
Tony Garnock-Jones
|
754306aca3
|
Rearrange into two packages, using yarn workspaces
|
2021-03-10 19:24:20 +01:00 |