Dialect of Python with explicit variable declaration and block scoping, with a lightweight and easy-to-embed bytecode compiler and interpreter.
Go to file
2020-12-27 16:07:27 +09:00
.gitignore through chapter 19 of Crafting Interpreters 2020-12-26 09:32:21 +09:00
chunk.c Basic garbage collection; had to fix some stuff for stack preallocation 2020-12-27 16:07:27 +09:00
chunk.h wrap up closure implementation from chapter 25 2020-12-27 13:02:26 +09:00
compiler.c Basic garbage collection; had to fix some stuff for stack preallocation 2020-12-27 16:07:27 +09:00
compiler.h Basic garbage collection; had to fix some stuff for stack preallocation 2020-12-27 16:07:27 +09:00
debug.c wrap up closure implementation from chapter 25 2020-12-27 13:02:26 +09:00
debug.h through chapter 19 of Crafting Interpreters 2020-12-26 09:32:21 +09:00
kuroko.c Finish up chapter 22, local variables; fix up indentation-based scoping 2020-12-26 18:39:29 +09:00
kuroko.h through chapter 19 of Crafting Interpreters 2020-12-26 09:32:21 +09:00
LICENSE meta stuff 2020-12-26 16:59:43 +09:00
Makefile through chapter 19 of Crafting Interpreters 2020-12-26 09:32:21 +09:00
memory.c Basic garbage collection; had to fix some stuff for stack preallocation 2020-12-27 16:07:27 +09:00
memory.h Basic garbage collection; had to fix some stuff for stack preallocation 2020-12-27 16:07:27 +09:00
object.c Basic garbage collection; had to fix some stuff for stack preallocation 2020-12-27 16:07:27 +09:00
object.h Basic garbage collection; had to fix some stuff for stack preallocation 2020-12-27 16:07:27 +09:00
README.md meta stuff 2020-12-26 16:59:43 +09:00
scanner.c remove temporary 'block' keyword 2020-12-27 10:58:36 +09:00
scanner.h remove temporary 'block' keyword 2020-12-27 10:58:36 +09:00
table.c hash tables (which should work with any object as keys?) and string interning from ch 20 2020-12-26 14:33:34 +09:00
table.h hash tables (which should work with any object as keys?) and string interning from ch 20 2020-12-26 14:33:34 +09:00
test.krk wrap up closure implementation from chapter 25 2020-12-27 13:02:26 +09:00
value.c Finish up chapter 22, local variables; fix up indentation-based scoping 2020-12-26 18:39:29 +09:00
value.h hash tables (which should work with any object as keys?) and string interning from ch 20 2020-12-26 14:33:34 +09:00
vm.c Basic garbage collection; had to fix some stuff for stack preallocation 2020-12-27 16:07:27 +09:00
vm.h Basic garbage collection; had to fix some stuff for stack preallocation 2020-12-27 16:07:27 +09:00

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.