aardappel / lobster

The Lobster Programming Language
http://strlen.com/lobster
2.29k stars 119 forks source link

hotfix support #171

Closed Xarvie closed 2 years ago

Xarvie commented 2 years ago

is it support runtime compile? like code.compile(“./main.codefile”); hot reload for mobile game bug fix.

Xarvie commented 2 years ago

Oh, it’s support.

aardappel commented 2 years ago

Do note when you use compile_run_file, that code essentially runs in its own VM, so it's not suitable for hot-patching unless you always run the code to be patched separately from the "launcher".

Xarvie commented 2 years ago

thanks, got it