@utatti/mitty

0.4.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.4.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.4.0
    1
  • 0.3.0
    0
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i @utatti/mitty

Weekly Downloads

1

Version

0.4.0

License

MIT

Unpacked Size

3.12 MB

Total Files

110

Last publish

Collaborators

  • utatti