ehudt
16bfb25ddc
Update LICENSE
7 years ago
ehudt
3034b76ac3
Merge pull request #1 from erezsh/cyk_after_fixes
Cyk after fixes
7 years ago
Erez Shinan
648099d7b4
Idiomatic function names and a few other style fixes
7 years ago
Erez Shinan
748e9b7248
All relevant tests passing. Also indentation and other refactoring.
7 years ago
Erez Shinan
cedabb856d
Merge branch 'master' of https://github.com/ehudt/lark into ehudt-master
7 years ago
Erez Shinan
a3904187c6
Merge pull request #69 from NighttimeDriver50000/master
Fixed TypeError on pretty-printing tuples in tree
7 years ago
Chris McKinney
d8fbf92fea
Fixed TypeError on pretty-printing tuples in tree
When a tuple is passed as the argument to percent-formatting, its
elements are interpreted as multiple arguments. The pretty printer
previously passed tuples (e.g. those introduced via a Transformer) from
the tree directly to the percent operator, causing a TypeError because
the format string only calls for a single argument. This fix simply
wraps the argument in a one-tuple to ensure it is not interpreted as
multiple arguments if it itself is a tuple.
7 years ago
Erez Shinan
23875c5590
Small fix in Python grammars (misread tuples, issue #68 )
7 years ago
ehudt
c1166695b7
Merge branch 'master' into master
7 years ago
Erez Shinan
b002ec47fb
BUGFIX: Repeating subrules are now allowed (Issue #61 )
7 years ago
Erez Shinan
d173d6d66b
Validate against zero-width terminals in XEarley (Issue #63 )
7 years ago
Erez Shinan
37c1c0f65f
Better error message for bad regexps (Issue #62 )
7 years ago
Erez Shinan
5fd331be54
BUGFIX: Internally repetitive rules are now handled silently (Issue #60 )
7 years ago
Erez Shinan
8acd77d7ff
Minor fixes in lexer
7 years ago
Ehud Tamir
7c253b9372
Merge CYK parser.
7 years ago
Erez Shinan
4d219ae837
Added standalone example
7 years ago
Erez Shinan
4679a348ce
Version bump
7 years ago
Erez Shinan
f9b02c1f13
Updated README to mention standalone
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
da1910f5b6
More refactoring towards standalone
7 years ago
Erez Shinan
07b5469e86
More refactoring, untangling grammar compilation and parse-tree creation
7 years ago
Erez Shinan
4018335368
Update README.md
7 years ago
Erez Shinan
e072d91760
Updated README
7 years ago
Erez Shinan
7182ba3991
Minor refactoring for the standalone tool (in progress)
7 years ago
Erez Shinan
38c5fd244a
Improved grammar validation and refactored the lexers
7 years ago
Erez Shinan
39e58cb8fd
Post-refactor cleanup
7 years ago
Erez Shinan
1cc4c965e8
Big Refactor: Grammars now build in half the time. Code shorter & cleaner.
7 years ago
Erez Shinan
0ee80e675a
Refactoring for LALR, added the ParseTable class
7 years ago
Erez Shinan
f63174a22c
BUGFIX: Create unless returned duplicate tokens (Issue #56 )
7 years ago
Erez Shinan
e9603b5a1f
Version bump
7 years ago
Erez Shinan
5e1b822174
BUGFIX: 'python setup.py test' now works.
7 years ago
Erez Shinan
2d04acf227
Version 0.5.0 is out with lots of improvements
7 years ago
Erez Shinan
84791b1534
Example JSON parser is now LALR
7 years ago
Erez Shinan
c9b19ab861
Merge branch 'cleaner_lalr'
7 years ago
Erez Shinan
5f5acca40b
Cleaned up the LALR(1) parser
7 years ago
Erez Shinan
9d6cde9b1b
Merge pull request #51 from kevinlatimer/master
Add Discard feature to transformers
7 years ago
Kevin Latimer
240cf1ca21
Bug fixes to Transformer_NoRecurse
7 years ago
Kevin Latimer
26ce48b940
Bug fix for Discard and make the syntax more pythonic
7 years ago
Kevin Latimer
9426010b70
Merge branch 'master' of https://github.com/erezsh/lark
7 years ago
Kevin Latimer
a5625a3be9
Add delete functionality
7 years ago
Erez Shinan
209ac5ab4e
BUGFIX: Mishandling of quotes (Issue #50 )
7 years ago
Erez Shinan
fbeb0e6e59
BUGFIX: tree-less transformer may hang for empty values (Issue #49 )
7 years ago
Erez Shinan
5748920df4
BUGFIX in xearley + Feature: earley__predict_all
7 years ago
Erez Shinan
53a56d5dcb
Added LexError to lark's __init__ imports
7 years ago
Erez Shinan
852607b978
BUGFIX: Tokens of different type were equal, causing disambiguation errors (Issue #21 )
7 years ago
Erez Shinan
ddae93f92f
BUGFIX: Ambiguity resolution now sums priority (Issue #46 )
7 years ago
Erez Shinan
cb18cf5e77
BUGFIX: iter_trees() wasn't consistent with a recursive order (Issue #47 )
7 years ago