mirror of https://github.com/lark-parser/lark.git
Updated How to use Lark (markdown)
parent
233d849c79
commit
bd872bc06c
|
@ -12,7 +12,7 @@ This is the recommended process for working with Lark:
|
||||||
|
|
||||||
- You can perform steps 1-4 repeatedly, gradually growing your grammar to include more sentences.
|
- You can perform steps 1-4 repeatedly, gradually growing your grammar to include more sentences.
|
||||||
|
|
||||||
5. Create a transformer to evaluate the parse-tree into a structure you'll be comfortable to work with. This may include evaluate literals, merging branches, or even converting the entire tree into your own set of AST classes.
|
5. Create a transformer to evaluate the parse-tree into a structure you'll be comfortable to work with. This may include evaluating literals, merging branches, or even converting the entire tree into your own set of AST classes.
|
||||||
|
|
||||||
Of course, some specific use-cases may deviate from this process. Feel free to suggest these cases, and I'll add them to this page.
|
Of course, some specific use-cases may deviate from this process. Feel free to suggest these cases, and I'll add them to this page.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue