John Benediktsson
7b023ad59d
brainfuck: inline (?) because it's not a language command.
2020-05-16 10:13:10 -07:00
Doug Coleman
15b13870ae
peg.ebnf: Clean up EBNF: syntax.
...
The syntax for an EBNF parser is now ``EBNF: identifier string``. The
inline syntax went from [EBNF ... EBNF] to EBNF[[ ]], EBNF[=[ ]=], etc.
<EBNF looked for a main word, but this functionality is just EBNF[[ ]]
now.
2017-08-05 22:23:57 -05:00
Doug Coleman
2c257f399c
factor: Rename MACRO: and MACRO: to have quot as the output in stack effects.
2015-07-18 22:16:11 -07:00
John Benediktsson
cd6ccdadc3
peg: use escaped character classes.
2015-07-16 08:44:59 -07:00
John Benediktsson
01d244c829
brainfuck: enable use from command-line.
2015-04-09 10:43:54 -07:00
John Benediktsson
bfd615b1e8
brainfuck: more fries with that.
2014-06-17 21:09:42 -07:00
John Benediktsson
125f64a72f
brainfuck: collapse spaces to compress better, 2+2=5 test.
2014-06-17 09:32:09 -07:00
John Benediktsson
f896a4d4ae
brainfuck: minor cleanup.
2011-10-26 10:07:04 -07:00
John Benediktsson
4fb66c0f05
brainfuck: cleanup.
2011-10-14 13:53:55 -07:00
John Benediktsson
02181a5d50
brainfuck: some cleanup and make the ebnf simpler.
2011-08-26 18:42:17 -07:00
John Benediktsson
88e5397b51
brainfuck: Require loops to be non-empty, add test case.
2009-06-07 17:39:21 -07:00
John Benediktsson
4b21217956
brainfuck: Adding debug (#) operator.
2009-06-07 16:18:13 -07:00
John Benediktsson
6b86f059e7
Merge groups of similar operations.
2009-06-07 15:21:39 -07:00
John Benediktsson
2a5db1abd9
brainfuck: Remove concept of operations now that it is compiled.
2009-06-07 07:52:07 -07:00
John Benediktsson
67a36883fe
Compile brainfuck a bit more stylishly.
2009-06-06 20:44:48 -07:00
John Benediktsson
e30a9fc4b1
Add some test cases, remember to flush after running program.
2009-06-06 20:11:59 -07:00
John Benediktsson
e4a10254d8
Changed brainfuck from interpreter to compiler, using EBNF's.
2009-06-06 10:07:23 -07:00
John Benediktsson
d99ae5af92
Adding brainf*ck implementation.
2009-06-01 11:21:14 -07:00