Erez Shinan
c85098e090
Small refactoring in standalone
6 years ago
Erez Shinan
720372a386
Standalone parser now uses contextual lexer instead of traditional one (Issue #212 )
It should be easy to allow the user to choose between them, but perhaps unnecessary, as the one and only benefit of the traditional parser is a tiny performance advantage.
6 years ago
Erez Shinan
53a66132ba
Added visitors & transformers to standalone (Issue #223 )
6 years ago
Erez Shinan
37cfe5c9f3
BUGFIX: Standalone parser didn't retain filter_out values for terminals (Issue #222 )
6 years ago
Erez Shinan
843da8e809
Fixed bugs in the standalone generator (Issue #212 )
6 years ago
Erez Shinan
dee5ac776d
Fix for Python 3.7
6 years ago
Erez Shinan
c77934f6a2
Fixed nearley
6 years ago
Erez Shinan
33caa391d5
Breaking backwards compatibility:
* Removed the scanless parsing feature (dynamic lexing is king)
* Default LALR lexer is now contextual
6 years ago
Erez Shinan
b951b5f79c
Significant reduction in memory consumption (Saving only parse-table instead of analysis instance)
6 years ago
Erez Shinan
eba4a604cb
Added tests for standalone generator
7 years ago
Erez Shinan
07f45a0bd3
Style fixes
7 years ago
Erez Shinan
e697c266a7
Standalone: Significantly reduced generated code size
7 years ago
Erez Shinan
9b0672fda6
Standalone tools now supports postlex
7 years ago
Erez Shinan
a409f2835c
Corrections to the standalone tool
7 years ago
Erez Shinan
5ac4120b71
Stand-alone tool working for LALR+traditional lexer (first commit)
7 years ago
Erez Shinan
ad30c324f5
Added support for all RE flags.
7 years ago
Erez Shinan
d846627fb7
A few fixes to escaping
7 years ago
Erez Shinan
eed2a0fd78
Minor fix: Removed printing in new nearley tests
7 years ago
Kaspar Emanuel
b491138d9a
Make nearley tool main testable and test it
7 years ago
Kaspar Emanuel
809ac8c9ea
Switch to codecs.open for nearley tool
7 years ago
Kaspar Emanuel
3940812575
Fix spelling of TransformNearley class
7 years ago
Erez Shinan
2bd23b1b62
Style fixes
7 years ago
Kaspar Emanuel
c0063e4d82
Make tracking includes more logical in nearley tool
7 years ago
Kaspar Emanuel
4539152b32
Refactor nearley builtin and include
7 years ago
Kaspar Emanuel
3ea0b35c9f
Fix nearley multi includes
7 years ago
Kaspar Emanuel
a87bcf3097
Convert nearley css test into unit test
7 years ago
Kaspar Emanuel
e8c02951e4
Add support for nearley @include
7 years ago
Erez Shinan
7d3e00666b
Nearley-to-Lark Works. Now using js2py as code generator
8 years ago
Erez Shinan
007b2174df
Still working on Nearley
8 years ago
Erez Shinan
d4140d5e6c
Nearley -> Lark tool working for tests with js2py
8 years ago
Erez Shinan
c1968b7e30
Fixed tools.nearley (converter)
8 years ago
Erez Shinan
b7dcfbca58
Tools can now be installed via pip
8 years ago