Browse Source
Merge pull request #225 from ciphergoth/patch-1
Fix typo in how_to_use.md sample code: gramamr -> grammar
tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.6.5
Erez Shinan
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
docs/how_to_use.md
|
|
@@ -27,7 +27,7 @@ Here is some mock usage of them. You can see a real example in the [[examples]] |
|
|
|
```python |
|
|
|
from lark import Lark, Transformer |
|
|
|
|
|
|
|
gramamr = """start: rules and more rules |
|
|
|
grammar = """start: rules and more rules |
|
|
|
|
|
|
|
rule1: other rules AND TOKENS |
|
|
|
| rule1 "+" rule2 -> add |
|
|
|