Skip to content

sfluor/lugha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lugha

A toy interpreter for a C like language to learn more about rust.

Playground available here: https://sfluor.github.io/lugha/

Dev commands

Rebuilding the wasm modules with wasm-pack build

Run the server with npm run start, if you encounter a SSL error you might need to do NODE_OPTIONS=--openssl-legacy-provider npm run start instead.

Profiling with cargo flamegraph --bench eval -- --bench

Running test with cargo test (or cargo watch -q -x test -c)

Releases

No releases published

Packages

No packages published