You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an lalr grammar is loaded from a cached file, and then the parser is passed to initialize a Reconstructor(...) class, initialization fails with the following error:
AttributeError: 'Lark' object has no attribute 'grammar'
To Reproduce
Open a parser with Lark.open(...) while setting the cache argument to a file path.
Try to initialize a Reconstructor(...) with that parser.
The text was updated successfully, but these errors were encountered:
Describe the bug
If an
lalr
grammar is loaded from a cached file, and then the parser is passed to initialize aReconstructor(...)
class, initialization fails with the following error:To Reproduce
Lark.open(...)
while setting thecache
argument to a file path.Reconstructor(...)
with that parser.The text was updated successfully, but these errors were encountered: