https://github.com/willothy/wip-lang
VM and language with cooperative multitasking, initially based on crafting interpreters (WIP)
https://github.com/willothy/wip-lang
Last synced: over 1 year ago
JSON representation
VM and language with cooperative multitasking, initially based on crafting interpreters (WIP)
- Host: GitHub
- URL: https://github.com/willothy/wip-lang
- Owner: willothy
- Created: 2024-01-06T07:46:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-16T20:53:13.000Z (over 2 years ago)
- Last Synced: 2025-02-05T04:46:14.935Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 318 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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.