Dialect of Python with explicit variable declaration and block scoping, with a lightweight and easy-to-embed bytecode compiler and interpreter.
bytecodebytecode-compilerbytecode-vminterpreterkurokoprogramming-languagepythonreplunicode-stringsvm
.gitignore | ||
chunk.c | ||
chunk.h | ||
compiler.c | ||
compiler.h | ||
debug.c | ||
debug.h | ||
demo.krk | ||
kuroko.c | ||
kuroko.h | ||
LICENSE | ||
Makefile | ||
memory.c | ||
memory.h | ||
object.c | ||
object.h | ||
README.md | ||
scanner.c | ||
scanner.h | ||
table.c | ||
table.h | ||
test.krk | ||
value.c | ||
value.h | ||
vm.c | ||
vm.h |
Kuroko - A bytecode-compiled scripting language
This project is my take on following Robert Nystrom's Crafting Interpreters.
Instead of implementing Lox, I am aiming for a language with a syntax reminiscent of Python - one with significant whitespace and generally the same keywords.
At the moment, the intent for this project is to add a proper scripting language to Bim, to which both configuration scripts and syntax highlighting will be ported.
Kuroko, as its name should imply, will also be made available in ToaruOS as a general user language, and some utilities may end up being written in it.