Erez Sh
3bee21051e
Reverted changes regarding EOF
4年前
MegaIng1
51a1c5ceae
Added fix so that staticmethod will be correctly affected by class wide v_args + test
4年前
Erez Sh
dcc98241c1
Improved handling and performance of large grammars
4年前
Erez Sh
9cc57abd8a
Added 'cache' option to Lark (Issue #479 )
4年前
MegaIng1
1b5ffc0660
Added the ability to use templates as template arguments. Error reporting should still be horrible.
4年前
MegaIng1
20a2f690ca
Correct behaviour of aliases for templates (attempt 2)
4年前
MegaIng1
2daca647d4
Unified rules and templates
4年前
MegaIng1
8bf5da697a
Added test for template imports and implemented them
4年前
MegaIng1
0c1c48411d
Added test for recursive templates + implemented them
4年前
MegaIng1
ed17512c3a
Corrected & Simplified test
4年前
MegaIng1
926c98bd41
Renamed global_flags to g_regex_flags
4年前
MegaIng1
732a835b53
Added template tests
4年前
MegaIng1
3a97029853
Added global_flags option to Lark (+ test)
4年前
Erez Sh
cf7479f186
Post-merge fixed for end_symbol, + two more tests (Issue #237 )
4年前
Erez Sh
94dd3646d4
Extend comments in rules tests
4年前
Erez Sh
ae691bf35e
Revert propagate_positions to be False by default, still not ready for prime-time
4年前
Erez Sh
dcc9d46eef
Fixes to propagate_positions
4年前
Erez Sh
e1a39c58d0
Refactored v_args & visitors to a better, more agile implementation
4年前
Jussi Laasonen
2de7e34766
Open imported grammars with UTF-8 encoding
4年前
Mike Roberts
ed3c131ca8
Allow comments in rule definitions
4年前
Erez Shinan
1815bd7fbd
Support for token visitation in internal transformers, as an alternative mechanism for lexer_callbacks
4年前
Erez Shinan
84f08a452f
propagate_positions & maybe_placeholders are now true by default, updated docs, tests & examples accordingly (Issue #449 , #451 )
4年前
Giuliano Oliveira
1f0b1e7520
added visit_topdown methods to Visitor classes
4年前
Erez Sh
f3714a572f
Now prints a nice warning instead of failing tests when js2py isn't installed
4年前
Erez Shinan
54b18e5961
Allow transformers to transform tokens (Issue #389 )
5年前
Michael Heyvaert
c00f4448fa
fix custom lexer handling for lalr parser + test
5年前
Erez Shinan
def1d2931c
Fixed partials (Issue #398 )
5年前
Erez Shinan
59f3a5707b
Fixed partials (Issue #398 )
5年前
Erez Shinan
c5c763580e
Fixed test for newline detection
5年前
Fábio Macêdo Mendes
e8c67839c2
Test if lexer correctly detects newlines
5年前
Erez Shinan
e3cbd7aadc
Negative priority now allowed in rules and tokens. Updated docs about priority
5年前
Erez Shinan
aa75d50bd5
End symbol working for lalr + fixed validation for undefined %ignore
5年前
Erez Shinan
68cee8aa6e
Cleaned up a test
5年前
Erez Sh
3fbac825a8
Added to tests: Make sure the standalone parser is reusable
5年前
Erez Shinan
505c46e9ba
Cleaned up a test
5年前
Erez Sh
be2e860c83
Added to tests: Make sure the standalone parser is reusable
5年前
Erez Shinan
f1e844accd
Mid work. Not promising
5年前
Erez Shinan
e79689dce7
Remove unused rules (Issue #384 )
5年前
Erez Shinan
a9106df824
Corrected thee Transformer's whole_tree interface, for both internal and external use
5年前
Mostafa Razavi
e5868415eb
Implement embedded in-place transformers. See #378 .
As discussed in issue #378 , when an embedded transformer (that is, one
passed to the Lark class using the transformer argument), is an
inplace transformer (either a subclass of Transformer_InPlace, or with
the @v_args(tree=True) decorator), the in-place transformer was not
working correctly and in-fact Lark used it like a normal non-in-place
transformer, expecting it to return the transformed value.
5年前
Erez Shinan
a798dec779
Fix to new serializer code (Discussed in issue #349 )
5年前
Erez Shinan
c5cb79307b
Fixes for new standalone (Issue #349 )
5年前
PJCampi
ccbaebdc6f
load_grammar now collects all imports to make before loading them to namespace
5年前
PJCampi
b055bc6399
import_grammar now include base_path in recursive call to load_grammar
5年前
PJCampi
4889013404
get_namespace_name now preserves leading underscore on relative import
5年前
Erez Shinan
5ab12b031c
Added transformer, postlex arguments to standalone
5年前
Erez Shinan
ae51402cc7
Added serializer test
5年前
Erez Shinan
475312c608
Bugfix in tools.nearley: Added support for null keyword (Issue #342 )
5年前
Erez Shinan
20329e0bf5
Bugfix in tools.nearley: Backslash now handled correctly in strings (Issue #341 )
5年前
Peter Dolak
b89b003cdb
Fix v_args when used on classes with non-callable members
5年前