summaryrefslogtreecommitdiff
path: root/src/mods/vm.zig
AgeCommit message (Collapse)Author
2025-04-04Modified how exports work and fixed memory leaks.Ernesto Lanchares
Now exports are already defined by the mods api (something like preinit, init, preframe, postframe, deinit should be enough functions). At the moment we only support preinit function.
2025-03-30Added executing of andluccie-cmd
2025-03-29Add every single instruction prototype for WASM VMluccie-cmd
2025-03-29Started adding all of IR opcodesErnesto Lanchares
2025-03-29Changed structs in the VMErnesto Lanchares
2025-03-28Added executing of mod IR in the WASM VMluccie-cmd
2025-03-27Fixing format.Ernesto Lanchares
Should we run zig fmt as a prehook? or maybe after pushing?
2025-03-27Fix branching and VMluccie-cmd
Signed-off-by: luccie-cmd <luccie@sideros.org>
2025-03-23fixed leb128 integer decodingLorenzo Torres
2025-03-23Big rework of the parser!Ernesto Lanchares
It now follows a more functional style but it should be waaay easier to add functionality. Probably the parser is a bit slower than the previous one but the code is much cleaner and a good enough compiler should be able to inline the function calls and make it par with the previous one. As a TODO, runtime structs should not depends on the parser, but I think that is a topic for another commit.
2025-03-21Fix formattingluccie-cmd
Signed-off-by: luccie-cmd <luccie@sideros.org>
2025-03-21Added block instruction in WASM VMluccie-cmd
Signed-off-by: luccie-cmd <luccie@sideros.org>
2025-03-17Refactored source code structure.Lorenzo Torres