bf to Lua Compiler
is a compiler I wrote because I wanted to do some experiments with the esoteric language brainfuck. i got the idea when someone linked the site esolangs.org, this person deserves credit, but I have forgotten who it was =/ (Tell me please! I want to thank you!)
This isn't the best or most efficient compiler since it sometimes leaves very redundant code, but the compiler filesize is only 999 bytes! (according to CC, 1.02KB according to pastebin...), and there's a minified version with only 882 bytes.
Feel free to one up me by writing more efficient or compact code, (since the original was 240 bytes) as a challenge.
The basic syntax:
No screenies, this just takes arguments in the shell.
Usage/Download:
Let me know if you find any bugs with my implementation, for comparison an online Interpreter can be found at https://copy.sh/brainfuck/
NOTE: My implementation does not print the alphabetical equivalent to a number, it just prints a number.
Please tell me if there is anything you would like to see change, suggestions or bugs.
Edited by supernicejohn, 09 July 2016 - 11:03 PM.