hecc
I wanted to actually write a compiler, but I keep biting off more than I can chew, and this was a first step! It works in a pretty "traditional way":
+
, -
, >
, or <
as just the operation plus the length[-]
) to a dedicated operationdune install
fucc <input.bf> <output.c>
cc <output.c>
./a.out
NOTE:
All brainfuck code must be terminated with a bang (!
)