Whitespace interpreter and C-translator.
$ ./whitespace [Whitespace source file]
Specify -t
flag and -o
flag.
$ ./whitespace [Whitespace source file] -t -o out.c
If you don't specify output file with -o
, C source code will output
stdout.
Options | Function |
---|---|
-b , --bytecode |
Show code in hexadecimal |
-f , --filter |
Visualize whitespace source code |
-h , --help |
Show help and exit |
-m , --mnemonic |
Show byte code in mnemonic format |
-o FILE , --output=FILE |
Specify output filename |
-t , --translate |
Translate brainfuck to C source code |
Use Makefile.
$ make
If you want to build with MSVC, use msvc.mk. msvc.mk is written for nmake.
> nmake /f msvc.mk
This software is released under the MIT License, see LICENSE.