Skip to content
A Brain*uck to WASM compiler
Brainfuck Limbo Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo Apply fit plugin to demo xterm May 10, 2019
src Drop esm dependency May 10, 2019
test Drop esm dependency May 10, 2019
.gitignore Fix demo May 9, 2019
.prettierignore Add .prettierignore May 6, 2019
.travis.yml Add .travis.yml May 5, 2019
LICENSE
README.md Drop esm dependency May 10, 2019
index.mjs Change how mitty binary work May 10, 2019
mitty Change how mitty binary work May 10, 2019
package-lock.json
package.json v0.4.0 May 10, 2019
test.mjs

README.md

Mitty

Build Status

Mitty is a Brain*uck to WASM compiler and runtime.

Demo

https://utatti.github.io/mitty/

How to use

Install:

npm i -g @utatti/mitty

Prepare a Brain*uck code:

>++++++++[-<+++++++++>]<.>>+>-[+]++
>++>+++[>[->+++<<+++>]<<]>-----.>->
+++..+++.>-.<<+[>[+>+]>>]<---------
-----.>>.+++.------.--------.>+.>+.

Run mitty:

# JavaScript interpreter
mitty interpret hello.b

# WASM compiler
mitty compile hello.b hello.wasm
mitty exec hello.wasm

Requirement

Node.js >= 12 is needed to run ES Modules natively.

Test cases

The test cases in the /test directory are copied from the following repository. They have their own licensing.

References

License

MIT

You can’t perform that action at this time.