aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorElis Eriksson <spelis@spelis.li>2026-06-20 20:12:29 +0200
committerElis Eriksson <spelis@spelis.li>2026-06-20 20:12:29 +0200
commit38942c34a497a4c6edf080dc64440c1bc486fc46 (patch)
tree8fd3c891dff03f649b21aeb02c594e3e50f3160c /README.md
parentde91ec0542aea5959376ee0d2c9d486268dd9392 (diff)
downloadbfc-38942c34a497a4c6edf080dc64440c1bc486fc46.tar
bfc-38942c34a497a4c6edf080dc64440c1bc486fc46.tar.gz
bfc-38942c34a497a4c6edf080dc64440c1bc486fc46.tar.bz2
bfc-38942c34a497a4c6edf080dc64440c1bc486fc46.tar.lz
bfc-38942c34a497a4c6edf080dc64440c1bc486fc46.tar.xz
bfc-38942c34a497a4c6edf080dc64440c1bc486fc46.tar.zst
bfc-38942c34a497a4c6edf080dc64440c1bc486fc46.zip
Pattern matching optimizer and more
it's not the best optimizer but it works. Also added a -ast_dump flag which dumps the AST to stderr. Also input is now done in raw mode just because it can be.
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3ab27f6..b6de465 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,11 @@ Just one command:
Just one more command:
-`cat file.bf | ./build/bfc > output`
+`cat input.bf | ./build/bfc > output`
+
+or:
+
+`echo "bf string" | ./build/bfc > output`
Then running the program is as simple as: