Is it possible to specify a transformer and a post lexer? #858
Answered
by
MegaIng
ThatXliner
asked this question in
Q&A
-
Hi! I want to ask if grammar = lark.Lark(
here.joinpath("grammar.lark").read_text(),
postlex=Indenter(),
parser="lalr",
maybe_placeholders=True,
transformer=MainTransformer(),
) is possible. I've actually tried and I've gotten this error:
A little help? |
Beta Was this translation helpful? Give feedback.
Answered by
MegaIng
Mar 20, 2021
Replies: 1 comment
-
This is the same as #818, and has nothing to do with the Postlexer. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ThatXliner
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the same as #818, and has nothing to do with the Postlexer.