Skip to content
/ clam Public

Functional, bytecode interpreted language written in C

License

Notifications You must be signed in to change notification settings

jawadcode/clam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clam

Functional, bytecode interpreted language written in C

Usage Instructions

Build

# Release
meson setup builddir/release --buildtype release -Db_lto=true
meson compile -C builddir/release

# Debug
# You may also use "--buildtype=debug" but this causes weird `_FORTIFY_SOURCE` warnings with clang18Stdenv.
meson setup builddir/debug --buildtype debugoptimized -Db_sanitize=address,undefined
meson compile -C builddir/debug

Run

./builddir/{debug,release}/clam

Credits

The design and implementation of this interpreter is heavily inspired by Clox (from Crafting Interpreters), massive props to Bob Nystrom for writing such a useful book.

About

Functional, bytecode interpreted language written in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages