aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2021-08-05 21:16:55 +0900
committerRyo Nihei <nihei.dev@gmail.com>2021-08-05 21:58:12 +0900
commit1adea873e3a949d5a892fc7ad5ff9cfa42dc2c8c (patch)
treea19ed726327193ce2cf3b82261ba069706767b9d /README.md
parentPrint a stack trace on panic (diff)
downloadcotia-1adea873e3a949d5a892fc7ad5ff9cfa42dc2c8c.tar.gz
cotia-1adea873e3a949d5a892fc7ad5ff9cfa42dc2c8c.tar.xz
Remove the accept message
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/README.md b/README.md
index c3c6fc1..3052501 100644
--- a/README.md
+++ b/README.md
@@ -29,8 +29,8 @@ term
;
factor
: number
- | id
- ;
+ | id
+ ;
whitespaces: "[\u{0009}\u{0020}]+" #skip;
number: "[0-9]+";
@@ -52,8 +52,7 @@ If you want to make sure that the grammar behaves as expected, you can use `vart
⚠️ An encoding that `vartan parse` command and the driver can handle is only UTF-8.
```sh
-$ echo -n 'foo + bar * baz * 100 ' | vartan parse expr.json
-Accepted
+$ echo -n 'foo + bar * baz * 100' | vartan parse expr.json
expr
├─ expr
│ └─ term