-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Umka for microcontrollers #187
Comments
VM seem to be simple to decoupling with files: umka_common.c umka_common.h umka_ident.c umka_ident.h umka_lexer.h umka_types.c umka_types.h umka_vm.c umka_vm.h. |
@hiperiondev The Umka compiler/interpreter has never been targeted at such low-resource platforms. Even though it's a feasible task, additional efforts are needed to complete it.
All in all, rewriting Umka for microcontrollers seems to be a good non-trivial project on its own. |
Thanks for the reply. Indeed the requirements are too big and it would be necessary to completely rewrite the code. Unfortunately it's not something I can do right now. |
P.S. this also related to libc-less umka, I think it's important for WASM targets especially |
@skejeton That's right. However, I already have one WASM target, the Umka playground. |
indeed, but this is an emscripten target, many WASM developers prefer to not use libc for the sake of not having to use emscripten. However there's MUSL libc that can be used with WASI (a Posix environment for WASM), but I think it's worth removing the use of libc functions one by one in favour of custom utility ones |
I'm doing a port of umka for the ESP32 microcontroller but I run into a problem.
The compiler is too large (it cannot hold the compilation in memory)
Is it possible to compile the program and only execute the result?
Is it possible to "decouple" the compiler as optional?
These two features are essential for a low-resource environment and that is why Wren is not useful in this type of application, unlike Lua.
The text was updated successfully, but these errors were encountered: