Commit 4f9602e
committed
parsing v2.0.0
This release includes significant refactoring to modernize the codebase
and improve parser generation performance by a factor of 7 to 15
depending on whether the mypycified version is used.
There are breaking changes in the exported classes:
* `Symbol`, `Token`, and `Nonterm` no longer take `parser` as the
argument.
* The `Spec` class is no longer subclassable. This is mostly due to its
mypycification, but also because it's supposed to be an opaque piece
of parser state.
Changelog
=========
* Droped support for Python <= 3.7
(by @elprans in 4d8c72a)
* Reformat with Black
(by @elprans in 468ecd0)
* Add thorough type annotations
(by @elprans in 995c746)
* Massively speedup parser table generation
(by @elprans in acb3a70)
* Stop passing parser instance to Symbol instances
(by @elprans in c4ce270)
* Add the ability to specify a callback directly after Spec unpickling
(by @elprans in bd2e59e)
* Add the ability to build parsing with mypyc
(by @elprans in 657f3cc)1 parent bae6922 commit 4f9602e
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
79 | 83 | | |
80 | 84 | | |
81 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
0 commit comments