bf2js is a transpiler from brainf*ck to js (nodejs)
You could find examples of BF programs in tests/
By default builds, transpiles and runs js code
make file=<filename>
Example: make file=tests/hello.b
Builds source golang code to binary
make build
Transpiles bf program to js and puts file to build/
make transpile file=<file>
Runs transpiled js program
make run file=build/<file>.js
#ToDo
- Support vanilla JS for run in browser
- Add nicely handling arguments, options
- Add more validators for BF program (at least brackets validator)