aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorChloe Kudryavtsev <toast@toast.cafe>2021-12-23 17:42:57 -0500
committerChloe Kudryavtsev <toast@toast.cafe>2021-12-23 17:42:57 -0500
commit79e26b5e91299898e70c6e4c91253fcde7e13909 (patch)
tree70914e2349a6de35f7689d996a23692c13047924 /README.md
parentadd math.lua example (diff)
patch readme example grammar lexer initialization
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index b923887..a34c046 100644
--- a/README.md
+++ b/README.md
@@ -144,7 +144,7 @@ lexer = patok {
op = '[+*]',
num = '%d+',
ws = '%s+',
-}
+}()
```
We could have also made special lexemes for `+` and `*` individually.