Erez Shinan
0f9dfdd623
Re-implemented CustomLexer after regression (Issue #377 )
5 years ago
Erez Shinan
29ef3efeb9
Merge pull request #373 from fbindel/pydot-more-attributes
Allow any graph attribute in `pydot__tree_to_png`.
5 years ago
fbindel
09afcfcfc7
Allow any graph attribute in `pydot__tree_to_png`.
Keeping the explicit `rankdir="LR"` as default, add `kwargs`
to `pydot__tree_to_png` and `pydot.Dot` so that all graphviz
attributes are available for the graph.
5 years ago
Paul Vinciguerra
28e571f1c6
Fix DeprecationWarning in lalr_analysis.py
Under python 3.3+, logging.warn is deprecated.
Use logging.warning instead.
Fixes: /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/lark/parsers/lalr_analysis.py:87: DeprecationWarning: The 'warn' function is deprecated, use 'warning' instead
5 years ago
Erez Shinan
4d8301f73c
Version Bump
5 years ago
Erez Shinan
a798dec779
Fix to new serializer code (Discussed in issue #349 )
5 years ago
Erez Shinan
c5cb79307b
Fixes for new standalone (Issue #349 )
5 years ago
Erez Shinan
e2c87369c0
Merge pull request #365 from PJCampi/bugfix/364-reconstruction-update-start-symbol-of-parser-instead-of-recreating-it
Bugfix/364 reconstruction update start symbol of parser instead of recreating it
5 years ago
Erez Shinan
c91e093d40
Merge pull request #360 from PJCampi/bugfix/348-import-rules-dependencies-only-once
load_grammar now collects all imports to make before loading them to …
5 years ago
PJCampi
c5218b185e
reconstructor creates parser at instantiation and update start_symbol in _reconstruct step.
5 years ago
PJCampi
ccbaebdc6f
load_grammar now collects all imports to make before loading them to namespace
5 years ago
Erez Shinan
1e9979183c
Merge pull request #352 from michael-k/python3.7
Run tests against Python 3.7 and pypy 6.0
5 years ago
Erez Shinan
4e1d781926
Merge pull request #357 from PJCampi/bugfix/347-add-grammar-path-to-recursive-grammar-load
import_grammar now include base_path in recursive call to load_grammar
5 years ago
PJCampi
b055bc6399
import_grammar now include base_path in recursive call to load_grammar
5 years ago
Michael Käufl
a49f4e9b2b
Run tests against Python 3.7 and pypy 6.0
5 years ago
Erez Shinan
4bb4a0f17b
Merge pull request #356 from PJCampi/bugfix/353-preserve-leading-underscore-on-relative-import
get_namespace_name now preserves leading underscore on relative import
5 years ago
PJCampi
4889013404
get_namespace_name now preserves leading underscore on relative import
5 years ago
Erez Shinan
9420bce40a
BUGFIX: v_args didn't wrap overwritten inherited methods (Issue #350 )
5 years ago
Erez Shinan
5137e990ba
Merge branch 'serialize'
5 years ago
Erez Shinan
d48e037ca7
Updated standalone example
5 years ago
Erez Shinan
65bde7e15f
@ instead of __memo__
5 years ago
Erez Shinan
5ab12b031c
Added transformer, postlex arguments to standalone
5 years ago
Erez Shinan
ae51402cc7
Added serializer test
5 years ago
Erez Shinan
6efa6b4fa0
Still working
5 years ago
Erez Shinan
3c64c56bcd
All tests passing
5 years ago
Erez Shinan
94e15fb6f7
Mid work. Almost stable
5 years ago
Erez Shinan
e52cc46fc5
Minor cleanup
5 years ago
Erez Shinan
d13ebb9c15
Using a mostly-generic serialization method
5 years ago
Erez Shinan
dd84f6c0a8
Tiny refactor
5 years ago
Erez Shinan
066303fdab
Serialized lark is now json compatible
5 years ago
Erez Shinan
244f671665
Small refactor
5 years ago
Erez Shinan
335206911d
Basic serialize/deserialize working!
5 years ago
Erez Shinan
4b915a9f78
Style improvements to errors
5 years ago
Erez Shinan
120d5b9ffa
Mid work
5 years ago
Erez Shinan
bd75bf2dff
Refactor - callbacks are now {rule: callback}, instead of a Callback object referenced by Rule.alias
5 years ago
Erez Shinan
8bd4668b12
Major Version bump (0.7)
6 years ago
Erez Shinan
9137cc4fa4
Updated docs (pitch & benchmarks)
6 years ago
Erez Shinan
f67eead0b4
Added error when using terminal weights in dynamic earley (Discussed in #324 )
6 years ago
Erez Shinan
475312c608
Bugfix in tools.nearley: Added support for null keyword (Issue #342 )
6 years ago
Erez Shinan
20329e0bf5
Bugfix in tools.nearley: Backslash now handled correctly in strings (Issue #341 )
6 years ago
Erez Shinan
c0810d1982
Merge pull request #339 from exponea/fix-class-v-args-non-methods
Fix v_args when used on classes with non-callable members
6 years ago
Peter Dolak
b89b003cdb
Fix v_args when used on classes with non-callable members
6 years ago
Erez Shinan
4e6f92b03b
Support relative rule import in interactive environment (Issue #335 )
6 years ago
Erez Shinan
2b3fabd01c
Fixed Discard, broken in 0.6.6 (Issue #337 )
6 years ago
Erez Shinan
e16bb35576
Change maybe_placeholders: Apply to [a] and [a b c], but not a? or (a b)? or [_a _b _c]
6 years ago
Erez Shinan
4a5eb0a2c5
Merge pull request #336 from nostrad/test-manifest-1
Add test data files to MANIFEST
6 years ago
nostrad
59ba8324dd
Add test data files to MANIFEST
Needed for tests to succeed on a packaged version of lark.
6 years ago
Erez Shinan
c6d41f4bb4
Merge branch 'Rogdham-import-rule-rename'
6 years ago
Erez Shinan
b2e88bf9b1
Fixed docs
6 years ago
Rogdham
bb123e0999
Examples: add import example
6 years ago