mirror of https://github.com/lark-parser/lark.git
Updated How to use Lark (markdown)
parent
28eb60d2be
commit
f3421cd8ee
|
@ -8,7 +8,7 @@ This is the recommended process for working with Lark:
|
||||||
|
|
||||||
3. Try your grammar in Lark against each input sample. Make sure the resulting parse-trees make sense.
|
3. Try your grammar in Lark against each input sample. Make sure the resulting parse-trees make sense.
|
||||||
|
|
||||||
- You can perform steps 1-3 together, gradually growing your grammar to include more sentences.
|
- You can perform steps 1-3 repeatedly, gradually growing your grammar to include more sentences.
|
||||||
|
|
||||||
4. Use Lark's grammar features to [[shape the tree|Tree Construction]]: Get rid of superfluous rules by inlining them, and use aliases when specific cases need clarification.
|
4. Use Lark's grammar features to [[shape the tree|Tree Construction]]: Get rid of superfluous rules by inlining them, and use aliases when specific cases need clarification.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue