Tony Garnock-Jones
c7687772b0
Update compare.py docs
2023-03-16 21:57:21 +01:00
Tony Garnock-Jones
514dc04920
Tweak
2023-03-16 21:43:47 +01:00
Tony Garnock-Jones
a6c98159ce
Another stab at long_description for python package
2023-03-16 21:42:25 +01:00
Tony Garnock-Jones
47e579068a
Fix long_description
2023-03-16 21:38:45 +01:00
Tony Garnock-Jones
6b2b266a8f
python 0.17.1
2023-03-16 21:31:37 +01:00
Tony Garnock-Jones
2bad9a6bca
README.md for python
2023-03-16 21:31:24 +01:00
Tony Garnock-Jones
2ab814333c
Deploy docs
2023-03-16 21:19:42 +01:00
Tony Garnock-Jones
e3e1dd4944
Better __init__.py docs
2023-03-16 21:04:37 +01:00
Tony Garnock-Jones
7cbd1a2813
Docs for preserves.binary; better encoding annotations with canonicalization
2023-03-16 20:55:49 +01:00
Tony Garnock-Jones
99258be1ef
Fix doctest module loading to avoid double-creation of modules
2023-03-16 20:12:17 +01:00
Tony Garnock-Jones
031575ad82
Python preserves doctest runner, and mkdocs documentation stubs
2023-03-16 17:53:02 +01:00
Andrew Elgert
b1f9eb45d2
Compiler can load from file-like objects
2023-03-14 11:45:30 -04:00
Tony Garnock-Jones
eef675cc0c
Bump python version
2023-02-07 10:52:09 +01:00
Tony Garnock-Jones
d73118fc77
Update implementations
2023-02-07 10:42:30 +01:00
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
Tony Garnock-Jones
e2b27b619f
Schema encode
2021-08-16 11:38:44 -04:00
Tony Garnock-Jones
a2ca133983
load_schema_file, load metaschema
2021-08-16 11:18:54 -04:00
Tony Garnock-Jones
e056394ca6
Tighten exceptions
2021-08-16 11:18:34 -04:00
Tony Garnock-Jones
fc1d6afc28
Handle empty patterns specially
2021-08-15 23:51:07 -04:00
Tony Garnock-Jones
59bcced776
@extend decorator
2021-08-15 23:40:28 -04:00
Tony Garnock-Jones
e45ff6b020
Small improvements
2021-08-15 23:30:46 -04:00
Tony Garnock-Jones
abe60b3506
First steps to schema support for python
2021-08-15 22:57:09 -04:00
Tony Garnock-Jones
e4a2503899
The Great Renaming: Pointer -> Embedded
2021-05-17 14:54:06 +02:00
Tony Garnock-Jones
532e811894
Introduce pointers
2021-01-29 12:03:28 +01:00
Tony Garnock-Jones
ca2276d268
Update python implementation
2021-01-23 22:54:27 +01:00
Tony Garnock-Jones
83dce41092
Remove placeholders from spec and implementations 4/5
...
Update Python implementation: remove placeholders; reject zero-length
streamed binary chunks.
2020-05-28 23:23:19 +02:00
Tony Garnock-Jones
af7c523513
Bump versions
2020-05-13 12:58:47 +02:00
Tony Garnock-Jones
8e0ab95d82
Autodetectability of binary vs text; documented test case schema a little
2020-05-13 12:56:13 +02:00
Tony Garnock-Jones
2fc1d42cd7
Bump versions
2019-09-11 14:31:08 +01:00
Tony Garnock-Jones
02e0eae396
New test
2019-09-09 21:08:31 +01:00
Tony Garnock-Jones
07312954df
Bump versions; update metadata
2019-08-31 21:15:59 +01:00
Tony Garnock-Jones
15d14cdafe
Common tests for Python impl
2019-08-31 20:52:32 +01:00
Tony Garnock-Jones
e35c237c34
Update Python codec; first round of Python test updates
2019-08-30 22:53:01 +01:00
Tony Garnock-Jones
c1898ef73f
Friendlier record accessors
2019-06-11 22:31:27 +01:00
Tony Garnock-Jones
b2a9b53b6c
Bump python version
2018-11-26 13:25:47 +00:00
Tony Garnock-Jones
870da87350
Record.__getitem__
2018-11-20 19:48:23 +00:00
Tony Garnock-Jones
1fd763cf56
Bump versions
2018-11-20 14:48:50 +00:00
Tony Garnock-Jones
87deddc879
RecordConstructorInfo for python
2018-11-19 16:55:22 +00:00
Tony Garnock-Jones
28cf1d37a8
Makefile tweak
2018-11-18 17:00:20 +00:00
Tony Garnock-Jones
ecdf123358
Decoder.try_next
2018-11-18 16:59:27 +00:00
Tony Garnock-Jones
10d8eb1b0a
Notes on required packages
2018-11-18 16:35:09 +00:00
Tony Garnock-Jones
f654280b88
Bump versions
2018-11-18 16:29:01 +00:00
Tony Garnock-Jones
639241c5a6
Fix error in format C decoding
2018-11-18 16:28:21 +00:00
Tony Garnock-Jones
9b4b548896
Packaging
2018-11-15 07:23:45 +00:00
Tony Garnock-Jones
da10d47d64
Clean target
2018-11-15 06:55:12 +00:00
Tony Garnock-Jones
690b07150d
Python coverage; update .gitignores to ignore coverage output
2018-11-13 12:38:26 +00:00
Tony Garnock-Jones
23a52719b9
More tests
2018-11-13 12:37:24 +00:00
Tony Garnock-Jones
22e2934845
Print out encoded samples during python tests
2018-11-13 12:15:23 +00:00
Tony Garnock-Jones
eb090bea4b
Test for encodestream
2018-11-13 10:48:40 +00:00
Tony Garnock-Jones
97f6c1291b
Missing encodestream method
2018-11-12 22:05:09 +00:00
Tony Garnock-Jones
6feb320aad
Racket/python infrastructure
2018-09-29 17:37:26 +01:00