luccie-cmd
83d91cfffe
Fixed the functions
2025-08-04 20:48:35 +02:00
luccie-cmd
6f942fe9c2
Add full support for globals
2025-08-04 19:33:05 +02:00
luccie-cmd
94195fc774
Added support for global variables
2025-08-04 19:21:12 +02:00
luccie-cmd
e0d44a5f84
Added support for importing functions and begin working on a modding tools
2025-08-04 16:03:06 +02:00
luccie-cmd
139e5aacbc
Add parameter handling and remove redundant comments
2025-08-03 16:14:50 +02:00
Lorenzo Torres
e7e0927a83
Updated the source for master
2025-08-01 21:38:27 +02:00
Ernesto Lanchares
25e51f9aea
Modified how exports work and fixed memory leaks.
...
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-04-04 18:34:58 +02:00
luccie-cmd
28420f53b0
Added executing of and
2025-03-30 15:00:17 +02:00
luccie-cmd
2dc07080dd
Add every single instruction prototype for WASM VM
2025-03-29 20:17:52 +01:00
Ernesto Lanchares
16343878cd
Started adding all of IR opcodes
2025-03-29 19:31:08 +01:00
Ernesto Lanchares
7023261320
Changed structs in the VM
2025-03-29 19:16:17 +01:00
luccie-cmd
8d39d3d4d0
Added executing of mod IR in the WASM VM
2025-03-28 19:48:15 +01:00
Ernesto Lanchares
dd3dc54b05
Fixing format.
...
Should we run zig fmt as a prehook? or maybe after
pushing?
2025-03-27 17:04:49 +01:00
luccie-cmd
1db7f9e506
Fix branching and VM
...
Signed-off-by: luccie-cmd <luccie@sideros.org>
2025-03-27 13:57:37 +01:00
Lorenzo Torres
7660bc09bc
fixed leb128 integer decoding
2025-03-23 22:40:03 +01:00
Ernesto Lanchares
b7854d7325
Big rework of the parser!
...
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-23 14:39:49 +01:00
luccie-cmd
94a4dc16c6
Fix formatting
...
Signed-off-by: luccie-cmd <luccie@sideros.org>
2025-03-21 22:49:43 +01:00
luccie-cmd
bbe9213573
Added block instruction in WASM VM
...
Signed-off-by: luccie-cmd <luccie@sideros.org>
2025-03-21 22:49:37 +01:00
Lorenzo Torres
1d64275dee
Refactored source code structure.
2025-03-17 19:44:08 +01:00