wasm

command
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

README

WASM bindings for brainfuck compiler

Usage

You should get the compiler in your path:

go get github.com/amirali/bf

then you should make the wasm file:

make

and then you have the bf.wasm file and load it into your project by using wasm_exec.js and import method in index.html. Then you have execute_brainfuck("<program>", "<input_characters>") and you can use it in your javascript code.

Demo

You can demo this by serving on :8080 port using this command:

make run

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL