mirror of https://github.com/lark-parser/lark.git
Updated How to use Lark (markdown)
parent
668cc7a710
commit
28eb60d2be
|
@ -4,7 +4,7 @@ This is the recommended process for working with Lark:
|
||||||
|
|
||||||
1. Collect or create input samples, that demonstrate key features or behaviors in the language you're trying to parse.
|
1. Collect or create input samples, that demonstrate key features or behaviors in the language you're trying to parse.
|
||||||
|
|
||||||
2. Write a grammar. Try to aim for a structure that is intuitive, and in way that imitates how you would explain your language to a fellow human.
|
2. Write a grammar. Try to aim for a structure that is intuitive, and in a way that imitates how you would explain your language to a fellow human.
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue