Erez Shinan
|
a798dec779
|
Fix to new serializer code (Discussed in issue #349)
|
6 years ago |
Erez Shinan
|
c5cb79307b
|
Fixes for new standalone (Issue #349)
|
6 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
|
6 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 …
|
6 years ago |
PJCampi
|
c5218b185e
|
reconstructor creates parser at instantiation and update start_symbol in _reconstruct step.
|
6 years ago |
PJCampi
|
ccbaebdc6f
|
load_grammar now collects all imports to make before loading them to namespace
|
6 years ago |
Erez Shinan
|
1e9979183c
|
Merge pull request #352 from michael-k/python3.7
Run tests against Python 3.7 and pypy 6.0
|
6 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
|
6 years ago |
PJCampi
|
b055bc6399
|
import_grammar now include base_path in recursive call to load_grammar
|
6 years ago |
Michael Käufl
|
a49f4e9b2b
|
Run tests against Python 3.7 and pypy 6.0
|
6 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
|
6 years ago |
PJCampi
|
4889013404
|
get_namespace_name now preserves leading underscore on relative import
|
6 years ago |
Erez Shinan
|
9420bce40a
|
BUGFIX: v_args didn't wrap overwritten inherited methods (Issue #350)
|
6 years ago |
Erez Shinan
|
5137e990ba
|
Merge branch 'serialize'
|
6 years ago |
Erez Shinan
|
d48e037ca7
|
Updated standalone example
|
6 years ago |
Erez Shinan
|
65bde7e15f
|
@ instead of __memo__
|
6 years ago |
Erez Shinan
|
5ab12b031c
|
Added transformer, postlex arguments to standalone
|
6 years ago |
Erez Shinan
|
ae51402cc7
|
Added serializer test
|
6 years ago |
Erez Shinan
|
6efa6b4fa0
|
Still working
|
6 years ago |
Erez Shinan
|
3c64c56bcd
|
All tests passing
|
6 years ago |
Erez Shinan
|
94e15fb6f7
|
Mid work. Almost stable
|
6 years ago |
Erez Shinan
|
e52cc46fc5
|
Minor cleanup
|
6 years ago |
Erez Shinan
|
d13ebb9c15
|
Using a mostly-generic serialization method
|
6 years ago |
Erez Shinan
|
dd84f6c0a8
|
Tiny refactor
|
6 years ago |
Erez Shinan
|
066303fdab
|
Serialized lark is now json compatible
|
6 years ago |
Erez Shinan
|
244f671665
|
Small refactor
|
6 years ago |
Erez Shinan
|
335206911d
|
Basic serialize/deserialize working!
|
6 years ago |
Erez Shinan
|
4b915a9f78
|
Style improvements to errors
|
6 years ago |
Erez Shinan
|
120d5b9ffa
|
Mid work
|
6 years ago |
Erez Shinan
|
bd75bf2dff
|
Refactor - callbacks are now {rule: callback}, instead of a Callback object referenced by Rule.alias
|
6 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 |
Rogdham
|
19fdff70f8
|
Docs: improve section concerning grammar imports
|
6 years ago |
Rogdham
|
8ffce48c24
|
Examples: update lark.lark
Include relative imports and rule rewrite
|
6 years ago |
Rogdham
|
2f6b97cfd3
|
Allow renaming relative import rule
%import .local.foo -> bar
|
6 years ago |
Rogdham
|
9b22d41e49
|
Change namespace naming and aliasing for imports
The `.` character is invalid as a group name in regex, replacing by `__`.
The bug arose in `lexer._build_mres`.
|
6 years ago |
Rogdham
|
0485a8a5b1
|
Tests for import rename
%import common.NUMBER -> N
%import .local.NUMBER -> N
|
6 years ago |