All Projects → verdie-g → brainfuck2wasm

verdie-g / brainfuck2wasm

Licence: MIT License
A brainfuck-to-WebAssembly compiler

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to brainfuck2wasm

Headache
Programming Language that compiles to 8 Bit Brainfuck
Stars: ✭ 59 (+63.89%)
Mutual labels:  brainfuck
brainhug
A simple brainfuck translator crate in Rust
Stars: ✭ 14 (-61.11%)
Mutual labels:  brainfuck
esoo
Like the Programming Languages Zoo but with esoteric languages.
Stars: ✭ 18 (-50%)
Mutual labels:  brainfuck
fullstack-rust
Reference implementation of a full-stack Rust application
Stars: ✭ 39 (+8.33%)
Mutual labels:  webassembly
Brainfuck
A flexible Brainfuck / Brainloller / Braincopter interpreter in Swift 3.1.
Stars: ✭ 13 (-63.89%)
Mutual labels:  brainfuck
cat-o-licious
Cat game written in Go
Stars: ✭ 100 (+177.78%)
Mutual labels:  webassembly
wasm-linker-js
A simple WebAssembly Linker in JavaScript
Stars: ✭ 14 (-61.11%)
Mutual labels:  webassembly
eosio-demo1-election
My experiment on EOSIO blockchain to develop an election Smart Contract. I also develop a webapp which interacts with the blockchain.
Stars: ✭ 17 (-52.78%)
Mutual labels:  webassembly
TypeScriptXX
🧷 Stay safe! Type-safe scripting for C++ using TypeScriptToLua and CMake with auto-generated declarations.
Stars: ✭ 33 (-8.33%)
Mutual labels:  webassembly
widgets playground
Showcase example for https://github.com/therecipe/qt
Stars: ✭ 50 (+38.89%)
Mutual labels:  webassembly
DominicanWhoCodes
DominicanWho.Codes App
Stars: ✭ 58 (+61.11%)
Mutual labels:  webassembly
vmrp
mrp emulator, virtual machine, mrp模拟器
Stars: ✭ 126 (+250%)
Mutual labels:  webassembly
Uno.Themes
This library is designed to help you use the material design system with the Uno Platform
Stars: ✭ 112 (+211.11%)
Mutual labels:  webassembly
wasmsign2
PoC implementation of the WebAssembly Modules Signatures proposal.
Stars: ✭ 18 (-50%)
Mutual labels:  webassembly
image-hub
Image Hub is a sample application for exploring WebAssembly modules used as Envoy filters.
Stars: ✭ 56 (+55.56%)
Mutual labels:  webassembly
jasper
🧳 Single-binary packaging for Ruby applications that supports native and Wasm targets
Stars: ✭ 29 (-19.44%)
Mutual labels:  webassembly
gearoenix
Cross-platform C++ 3D game engine.
Stars: ✭ 33 (-8.33%)
Mutual labels:  webassembly
node-wasi
WASI for Node.js
Stars: ✭ 64 (+77.78%)
Mutual labels:  webassembly
Sharpen
(Demo) A v-dom "diff" engine based on WebAssembly, aim to build efficient and fluent web apps.
Stars: ✭ 20 (-44.44%)
Mutual labels:  webassembly
koder
QR/bar code scanner for the Browser
Stars: ✭ 73 (+102.78%)
Mutual labels:  webassembly

brainfuck2wasm

Compile brainfuck to webassembly.

function bfToWasm(bfStr: string, optimize: boolean): Uint8Array

Two pages of the linear memory are used. Each page is 64 KiB. The first one is for the output and the second one is for the brainfuck's array which is an array of 16384 4 byte wide cells.

Brainfuck's result is output in two format : string and array of int32.

TODO

  • Optimize brainfuck
  • Input instruction
  • Grow brainfuck's memory dynamically
  • Error handling
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].