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)
|
5 years ago |
Erez Shinan
|
9137cc4fa4
|
Updated docs (pitch & benchmarks)
|
5 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 |
Erez Shinan
|
2ade0ef18f
|
Merge branch 'SupraSummus-refactor'
|
6 years ago |
Erez Shinan
|
71bb980271
|
Merge branch 'refactor' of https://github.com/SupraSummus/lark into SupraSummus-refactor
|
6 years ago |
Erez Shinan
|
532c955962
|
Fixed tests to work with pytest, improved docs
|
6 years ago |
evandrocoan
|
6299d60c35
|
Fixed how_to_develop.md Unit Tests saying tox is required
|
6 years ago |
evandrocoan
|
3fb0c48557
|
Moved development instructions from README.md to docs
|
6 years ago |
evandrocoan
|
92b312df8e
|
Documented on README.md how to run the Unit Tests with tox
# Conflicts:
# README.md
|
6 years ago |
Erez Shinan
|
cb608591d7
|
Merge pull request #327 from tomyun/literal-range-escape
Fix literal range escape assertion
|
6 years ago |
Kyungdahm Yun
|
d5c9006f01
|
Fix literal range escape assertion
|
6 years ago |
Erez Shinan
|
ed46efbd10
|
Merge pull request #323 from agrenott/master
Make VisitError inherit from LarkError
|
6 years ago |
Aurelien Grenotton
|
cbafa4d7bb
|
Make VisitError inherit from LarkError
The recently added VisitError is the only lark exception not inheriting from LarkError,
which makes it painful to catch for client application.
|
6 years ago |
Erez Shinan
|
cf9c95343a
|
Merge branch 'tomyun-hex-escape'
|
6 years ago |
Erez Shinan
|
18c7022b0f
|
Borrowed tokens now copy end_line/end_column too
|
6 years ago |
Erez Shinan
|
6b2df208c2
|
Fixed support for hex encoding (\xAA)
|
6 years ago |
Kyungdahm Yun
|
70d724732d
|
Support hex escape (\xhh) in string literal
|
6 years ago |
Erez Shinan
|
d1fea12aa5
|
Remove duplicates of empty rules (Issue #315)
|
6 years ago |