aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2022-06-11 21:40:38 +0900
committerRyo Nihei <nihei.dev@gmail.com>2022-06-11 22:27:52 +0900
commit52ad315a0df8a346953e570e8be472709b81cc6a (patch)
tree5221784eacd9efcc63d83297d8e2b60f8acbc1bd /README.md
parentRemove the kind field from a node corresponding to an anonymous terminal symbol (diff)
downloadurubu-52ad315a0df8a346953e570e8be472709b81cc6a.tar.gz
urubu-52ad315a0df8a346953e570e8be472709b81cc6a.tar.xz
Support the underscore symbol matching any symbols in vartan-test command
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 222ee62..3718437 100644
--- a/README.md
+++ b/README.md
@@ -150,6 +150,8 @@ Passed test.txt
When you specify a directory as the 2nd argument of `vartan test` command, it will run all test cases in the directory.
+The underscore `_` allows you to match any symbols. Thus `(expr (expr (id)) (_) (expr (id)))` matches `a + b`, `a - b`, and so on.
+
### 5. Generate a parser
Using `vartan-go` command, you can generate a source code of a parser to recognize your grammar.