Skip to content

Rust implementation of Motherf programming language

Notifications You must be signed in to change notification settings

pavel-voronin/motherf-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

motherf-wasm

Goal

To have the Motherf language written in Rust and compiled in WASM so that it is truly embeddable.

Usage

You need to have wasm-pack installed.

npm run compile
npx http-server -o

Progress

So far I have:

  • Basic BF (not Motherf) interpreter written in Rust
  • Interpreter compiled in WASM
  • Loaded WASM into JS
  • Program in BF computed in WASM and result logged to browser
  • Protection from the endless loops