Tony Garnock-Jones
|
382bf8d956
|
Expose reflection typedefs
|
2022-01-22 23:45:24 +01: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
|
d8615175a5
|
I guess I'm developing a convention for how these things should look now
|
2022-01-22 23:21:05 +01:00 |
Tony Garnock-Jones
|
a98aa357d4
|
Repair command-line handling
|
2022-01-22 23:20:35 +01:00 |
Tony Garnock-Jones
|
b70352bc85
|
Publish
- @preserves/core@0.18.2
- @preserves/schema@0.19.7
|
2022-01-12 02:03:23 +01:00 |
Tony Garnock-Jones
|
550a524ca1
|
Publish
- @preserves/schema@0.19.6
|
2021-12-13 13:13:33 +01:00 |
Tony Garnock-Jones
|
944ac54414
|
Dumber but more reliable and more useful handling of schema input base directories
|
2021-12-13 12:52:24 +01:00 |
Tony Garnock-Jones
|
bfa0b0bcb4
|
Publish
- @preserves/schema@0.19.5
|
2021-12-13 12:19:19 +01:00 |
Tony Garnock-Jones
|
3b1669389c
|
Allow cross-references to other schemas when generating code
|
2021-12-13 12:18:12 +01:00 |
Tony Garnock-Jones
|
9442abe9bd
|
Publish
- @preserves/schema@0.19.4
|
2021-12-12 23:53:07 +01:00 |
Tony Garnock-Jones
|
fc84813704
|
Expose schema compiler's gentype.ts module
|
2021-12-12 23:52:45 +01:00 |
Tony Garnock-Jones
|
972085a59b
|
Use GenericEmbedded for embedded schemas
|
2021-12-12 23:52:31 +01:00 |
Tony Garnock-Jones
|
8b7ea7c589
|
Publish
- @preserves/schema@0.19.3
|
2021-12-12 22:58:40 +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
|
ef6db841dd
|
Publish
- @preserves/schema@0.19.2
|
2021-12-12 13:50:32 +01:00 |
Tony Garnock-Jones
|
282d3f798f
|
Support references to node_modules modules on command line
|
2021-12-12 13:49:50 +01:00 |
Tony Garnock-Jones
|
874303186d
|
Publish
- @preserves/core@0.18.1
- @preserves/schema@0.19.1
|
2021-12-09 21:25:53 +01:00 |
Tony Garnock-Jones
|
57c66f81b1
|
Publish
- @preserves/core@0.18.0
- @preserves/schema@0.19.0
|
2021-12-09 18:38:49 +01:00 |
Tony Garnock-Jones
|
1e4bf0dc51
|
Export reflective information about schema-generated types
|
2021-12-09 18:36:45 +01:00 |
Tony Garnock-Jones
|
43f31b9a78
|
Repairs to tests
|
2021-12-08 14:06:16 +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
|
e12d978915
|
Upgrade to TypeScript 4.5
|
2021-12-03 14:42:25 +01:00 |
Tony Garnock-Jones
|
4673de5db4
|
Publish
- @preserves/schema@0.18.0
|
2021-12-01 16:42:00 +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
|
5161e54e0d
|
Publish
- @preserves/schema@0.17.0
|
2021-08-11 16:03:16 -04:00 |
Tony Garnock-Jones
|
60d1be41a3
|
Rename NamedSimplePattern_ -> Binding
|
2021-06-25 10:25:26 +02:00 |
Tony Garnock-Jones
|
fdb43f6292
|
Constrain names/identifiers in schemas to be lowest-common-denominator.
|
2021-06-25 09:45:07 +02:00 |
Tony Garnock-Jones
|
64696ac184
|
Publish
- @preserves/core@0.17.0
- @preserves/schema@0.16.0
|
2021-06-01 16:54:23 +02:00 |
Tony Garnock-Jones
|
498c63ef67
|
Repair embedded reading; and preserve annotations in generic embedded values
|
2021-06-01 16:46:23 +02:00 |
Tony Garnock-Jones
|
9014a0ffb8
|
Publish
- @preserves/schema@0.15.0
|
2021-06-01 16:10:51 +02:00 |
Tony Garnock-Jones
|
8d96743d53
|
Redo schema embedded value patterns to use embedded syntax and an interface schema
|
2021-06-01 16:10:04 +02:00 |
Tony Garnock-Jones
|
e4f7219dc6
|
Publish
- @preserves/schema@0.14.1
|
2021-05-25 20:15:18 +02:00 |
Tony Garnock-Jones
|
460529e1c7
|
Clean up language wrt invertibility/"bijection"
|
2021-05-25 20:13:02 +02:00 |
Tony Garnock-Jones
|
52bc77c9d7
|
Publish
- @preserves/schema@0.14.0
|
2021-05-25 11:08:27 +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
|
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
|
9bdfc4c3ab
|
Split compute from report
|
2021-05-24 10:16:00 +02:00 |
Tony Garnock-Jones
|
2559a4713f
|
Much improved refactoring/repair of metaschema
|
2021-05-24 00:15:31 +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
|
854a2bc41c
|
v0.6.0
|
2021-04-25 00:17:57 +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
|
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
|
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
|
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
|
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
|
e6f99ae2e1
|
Prepare for alternative compiler output
|
2021-03-17 12:38:11 +01:00 |