kuroko-lang / kuroko

Dialect of Python with explicit variable declaration and block scoping, with a lightweight and easy-to-embed bytecode compiler and interpreter.
https://kuroko-lang.github.io/
MIT License
431 stars 25 forks source link

Externalize core modules #37

Closed klange closed 10 months ago

klange commented 1 year ago

Several modules in the core interpreter would be better implemented as loadable modules:

klange commented 10 months ago

fileio provides classes that are used in the core VM, so I don't think it can be extracted without extra effort. threading also doesn't seem worth it.

os, stat, time, and dis have all been successfully extracted.