Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joukewitteveen/brainfuck2
A brainfuck interpreter
https://github.com/joukewitteveen/brainfuck2
brainfuck-dialect brainfuck-interpreter
Last synced: 3 months ago
JSON representation
A brainfuck interpreter
- Host: GitHub
- URL: https://github.com/joukewitteveen/brainfuck2
- Owner: joukewitteveen
- Created: 2013-04-20T16:16:49.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-04T16:15:12.000Z (over 11 years ago)
- Last Synced: 2024-04-24T15:35:07.835Z (7 months ago)
- Topics: brainfuck-dialect, brainfuck-interpreter
- Language: C
- Homepage:
- Size: 105 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
- AwesomeInterpreter - brainfuck2
README
Brainfuck 2
===========This is an interpreter for a brainfuck dialect. Notable design choices are
the unbounded size of the data array (both to the left and to the right) and
the addition of the '2' command, which doubles the number executions of the
previous command as follows:+22+2 adds 10: (((1 * 2) * 2) + 1) * 2
Whitespace is ignored and characters not among <>+-,.2[] have the effect
that from that character on, the rest of the line is ignored (treated as
comments). Syntactical errors are fatal.By the addition of the '2' command, programs can potentially get a lot
shorter.[>+2+2+>+22+2>+2+>+<22-]>+2.>+.+2+2+.2+2+.>+2.<2+2222-.>.+2+.-2-2.-222.>+.>.
Incidentally, the original brainfuck was conceived 20 years before
brainfuck2. Hooray!(c) 2013 Jouke Witteveen