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 | ||
bindNativeMethod.krk | ||
chunk.c | ||
chunk.h | ||
compiler.c | ||
compiler.h | ||
debug.c | ||
debug.h | ||
kuroko.c | ||
kuroko.h | ||
LICENSE | ||
Makefile | ||
memory.c | ||
memory.h | ||
object.c | ||
object.h | ||
README.md | ||
rline.c | ||
rline.h | ||
scanner.c | ||
scanner.h | ||
system.krk | ||
table.c | ||
table.h | ||
test.krk | ||
testList.krk | ||
value.c | ||
value.h | ||
vm.c | ||
vm.h |
Kuroko - A bytecode-compiled scripting language
This bytecode VM / compiler is substantially based on 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.