Updated How to use Lark (markdown)

Erez Shinan 2018-04-01 11:33:02 +03:00
parent 668cc7a710
commit 28eb60d2be
1 changed files with 1 additions and 1 deletions

@ -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.