aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2021-08-19 19:46:33 +0900
committerRyo Nihei <nihei.dev@gmail.com>2021-08-19 19:46:33 +0900
commit6c2036e86fc37a5361d6daf64b914f1af66559ef (patch)
tree0b1a51a0ee8834918bbcd0f5fe189787fd649a1e /README.md
parentMake the functions that test the automaton common (diff)
downloadcotia-6c2036e86fc37a5361d6daf64b914f1af66559ef.tar.gz
cotia-6c2036e86fc37a5361d6daf64b914f1af66559ef.tar.xz
Fix indents of a tree
Diffstat (limited to 'README.md')
-rw-r--r--README.md24
1 files changed, 12 insertions, 12 deletions
diff --git a/README.md b/README.md
index c787765..6c323e9 100644
--- a/README.md
+++ b/README.md
@@ -56,20 +56,20 @@ $ echo -n 'foo + bar * baz * 100' | vartan parse expr.json
expr
├─ expr
│ └─ term
-│ └─ factor
-│ └─ id "foo"
+│ └─ factor
+│ └─ id "foo"
├─ add_op "+"
└─ term
- ├─ term
- │ ├─ term
- │ │ └─ factor
- │ │ └─ id "bar"
- │ ├─ mul_op "*"
- │ └─ factor
- │ └─ id "baz"
- ├─ mul_op "*"
- └─ factor
- └─ number "100"
+ ├─ term
+ │ ├─ term
+ │ │ └─ factor
+ │ │ └─ id "bar"
+ │ ├─ mul_op "*"
+ │ └─ factor
+ │ └─ id "baz"
+ ├─ mul_op "*"
+ └─ factor
+ └─ number "100"
```
When `vartan parse` command successfully parses the input data, it prints a CST or an AST (if any).