summaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authorTyler Murphy <tylerm@tylerm.dev>2023-04-15 01:04:50 -0400
committerTyler Murphy <tylerm@tylerm.dev>2023-04-15 01:04:50 -0400
commit1b3c67ba06e3b41f308f9475968fe19f36b31f06 (patch)
treee7d32ca6dba3ab154a76f0c514ffed7a88a8baa3 /readme.md
parenti made things faster (diff)
downloadbrainfucked-1b3c67ba06e3b41f308f9475968fe19f36b31f06.tar.gz
brainfucked-1b3c67ba06e3b41f308f9475968fe19f36b31f06.tar.bz2
brainfucked-1b3c67ba06e3b41f308f9475968fe19f36b31f06.zip
fix bug and add zero instruction
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index f741485..87ed15a 100644
--- a/readme.md
+++ b/readme.md
@@ -41,6 +41,8 @@ Just like brainfuck, cells wrap from 0 to 255, and vice versa, and also the tape
`%` Clear screen
+`$` Zero n cells where n is the value of the current cell
+
`\` Comment out the rest of the line
## Usage
@@ -52,6 +54,12 @@ For example:
$ brainfucked helloworld.bfd
```
+Brainfucked can also read from standard in, so the following would also work.
+
+```
+$ cat helloworld.bfd | brainfucked
+```
+
## License
This project is Licensed under the [WTFPL](http://www.wtfpl.net/)