Home

Awesome

Whitespace

Build Status

Whitespace interpreter and C-translator.

Usage

Run Whitespace program

$ ./whitespace [Whitespace source file]

Tanslate Whitespace to C

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

OptionsFunction
-b, --bytecodeShow code in hexadecimal
-f, --filterVisualize whitespace source code
-h, --helpShow help and exit
-m, --mnemonicShow byte code in mnemonic format
-o FILE, --output=FILESpecify output filename
-t, --translateTranslate brainfuck to C source code

Build

Use Makefile.

$ make

If you want to build with MSVC, use msvc.mk. msvc.mk is written for nmake.

> nmake /f msvc.mk

Dependent libraries

MSVC only

References

LICENSE

This software is released under the MIT License, see LICENSE.