Tony Garnock-Jones
269ed2391a
Repair text syntax for numbers and symbols. Closes #19/#36/#37/#38.
...
Numbers and (bare) Symbols are now disambiguated after reading, which
permits leading `+`, leading `0`, and a wider range of acceptable
Symbols.
Updates spec text, test cases, and implementations. Some ancillary fixes
to Python's comparison routines are also included.
2022-11-08 19:56:24 +01:00
Tony Garnock-Jones
4b98acf8ba
preserves-python version 0.16.1
2022-07-22 10:24:30 +02:00
Tony Garnock-Jones
3544bf18fa
Ugh, python 3.7 doesn't have the PEP 570 "/" positional-only syntax.
2022-07-22 10:23:54 +02:00
Tony Garnock-Jones
c49b8673f7
READMEs for Schema implementations
2022-06-09 13:49:59 +02:00
Tony Garnock-Jones
aff94bbb2f
python: bump version to 0.16.0
2022-06-08 16:23:56 +02:00
Tony Garnock-Jones
8b8da80f61
Explain why parsing failed
2022-06-08 16:22:10 +02:00
Tony Garnock-Jones
2e8d53c779
Another schema test
2022-06-07 21:59:05 +02:00
Tony Garnock-Jones
7ebe538c42
python: bump version to 0.15.0
2022-06-07 21:47:23 +02:00
Tony Garnock-Jones
34183a9519
Stub out some schema tests
2022-06-07 21:46:06 +02:00
Tony Garnock-Jones
e019148065
Fix positional initializers for schema values, and allow keyword initializers
2022-06-07 21:45:56 +02:00
Tony Garnock-Jones
c9c973ce9c
Preserves-order for Python
2022-06-07 21:45:12 +02:00
Tony Garnock-Jones
00eb9e97b6
Implement count function
2022-06-06 15:28:11 +02:00
Tony Garnock-Jones
4ef1341883
Remove old import of distutils
2022-06-03 21:21:44 +02:00
Tony Garnock-Jones
2e50591946
python: Bump version
2022-06-03 21:14:24 +02:00
Tony Garnock-Jones
c0d3f37905
python: merge(), and support for and-pattern unparsing
2022-06-03 21:13:59 +02:00
Tony Garnock-Jones
597e993c05
Support and-schemas in python
2022-06-03 16:50:03 +02:00
Tony Garnock-Jones
fad9111241
Utility for tagging
2022-02-11 11:57:29 +01:00
Tony Garnock-Jones
7f65f9ecb1
Add _ALL superclass for Enumeration subclasses, for @extend purposes
2022-02-11 11:56:08 +01:00
Tony Garnock-Jones
32544c544a
Optional commas in pretty-printer
2022-02-11 11:38:29 +01:00
Tony Garnock-Jones
0f49b8b1b4
Python release 0.11.0 (canonicalizing binary encoder)
2022-02-09 15:05:55 +01:00
Tony Garnock-Jones
21de8b799a
Canonicalizing binary encoder
2022-02-09 14:59:50 +01:00
Tony Garnock-Jones
850678a80a
New test of very long integer
2022-01-13 23:29:47 +01:00
Tony Garnock-Jones
c3af4656c1
Version 0.10.2
2022-01-12 14:07:51 +01:00
Tony Garnock-Jones
61ef91a958
Allow schema encoding (auto-)escapes
2022-01-12 14:07:32 +01:00
Tony Garnock-Jones
8f99f14b92
Oops. Forgot to git add copies of test sample data
2022-01-12 12:27:01 +01:00
Tony Garnock-Jones
f348701169
Avoid x.__preserve__(), preferring preserve(x)
2022-01-12 11:40:05 +01:00
Tony Garnock-Jones
ed518a9c71
Version 0.10.0
2022-01-12 02:04:49 +01:00
Tony Garnock-Jones
ddfd2e24a6
Indented text printing
2022-01-12 02:02:36 +01:00
Tony Garnock-Jones
50de00eac5
Version 0.9.0
2022-01-11 06:29:45 +01:00
Tony Garnock-Jones
8c4fedac0a
Split out encoding/formatting unhandler error to method, for overridability
2022-01-11 06:29:18 +01:00
Tony Garnock-Jones
602dea1ac6
Rearrange tests to include test data. As part of this, remove tests for python2; from here out, python2 compatibility will likely rot.
2022-01-07 21:14:21 +01:00
Tony Garnock-Jones
275a5aa45b
Bump patch number
2022-01-07 20:49:20 +01:00
Tony Garnock-Jones
39f9a2e5ef
Include path.prb in the package, like schema.prb
2022-01-07 20:48:24 +01:00
Tony Garnock-Jones
21cfa3a1e6
Bump to 0.7.3
2021-12-17 23:25:39 +01:00
Tony Garnock-Jones
6c0ef47e03
Be more liberal about accepting either lists or tuples when parsing using a schema instance
2021-12-17 23:25:03 +01:00
Tony Garnock-Jones
bb0d825cdf
Fix bundling of schema.prb
2021-11-30 18:41:34 +01:00
Tony Garnock-Jones
aadd83d715
Use bundled metaschema copy
2021-11-30 18:35:16 +01:00
Tony Garnock-Jones
8b5aa372b5
Release 0.7.0
2021-08-19 18:46:33 -04:00
Tony Garnock-Jones
d408070fde
Better debug printing
2021-08-18 22:57:06 -04:00
Tony Garnock-Jones
0f30522f19
Repair typo
2021-08-18 22:56:59 -04:00
Tony Garnock-Jones
e0bc1b31b8
Better error reporting
2021-08-18 22:56:50 -04:00
Tony Garnock-Jones
6bb99b45c3
fold.py
2021-08-18 14:04:00 -04:00
Tony Garnock-Jones
5669f2aff1
Bump preserves version
2021-08-17 14:25:50 -04:00
Tony Garnock-Jones
0c693d8ece
Python preserves-path implementation
2021-08-17 14:07:12 -04:00
Tony Garnock-Jones
82c66ec1c4
Embedded wrapper; preserve() function
2021-08-17 14:06:52 -04:00
Tony Garnock-Jones
a5065955ca
loads/dumps aliases
2021-08-17 08:05:38 -04:00
Tony Garnock-Jones
8afc8f1eae
Python text codec
2021-08-17 08:04:38 -04:00
Tony Garnock-Jones
123b6222ca
Split out modules
2021-08-16 19:24:50 -04:00
Tony Garnock-Jones
cf192b634c
SchemaEntity -> SchemaObject
2021-08-16 14:06:41 -04:00
Tony Garnock-Jones
fff34b8d45
Simplify Namespace
2021-08-16 12:37:31 -04:00