Skip to content

willothy/lox-plus-plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Initially based on part 2 of crafting interpreters.

Features:

  • Lists
  • Dicts
  • Interned strings
  • NaN Boxing
  • Closures
  • GC
  • Coroutines and generators

Future goals:

  • Everything is an expression
  • Native objects
  • Lua-like tables
  • Metaprogramming / metatables
  • Channels as coroutine wakers
  • Methods incl. methods for primitive types
  • Module system
  • Gradual typing (compile time checks only)
  • LLVM JIT?

TODO:

  • so many things (commented)
  • port compiler to Rust
  • consider Rust port of VM later, so performance can be compared.

About

VM and language with cooperative multitasking, initially based on crafting interpreters (WIP)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors