summaryrefslogtreecommitdiff
path: root/src/main.zig
AgeCommit message (Collapse)Author
2025-03-27Fix branching and VMluccie-cmd
Signed-off-by: luccie-cmd <luccie@sideros.org>
2025-03-24Some progress on IR parsing.Ernesto Lanchares
Alhtough IR parsing is technically called while parsing, since we lack the hability to parse blocks or labels or if or any hard stuff really, it does not affect code parsing. However it is nice to have it there as zig compiles it :)
2025-03-24implemented glTF loadingLorenzo Torres
2025-03-23make the ecs subsystem be a separate moduleLorenzo Torres
2025-03-23PROPOSAL: IRErnesto Lanchares
This is a proposal of a custom IR to run wasm. At the moment only `ir.zig` has some parts related to this IR. The idea of the IR is to be a subset of the one defined in wasm. There are some gaps (mostly in wasm instructions that have opcode 0xFC) but in wasm they don't use all of the opcodes for some reason so maybe we could try to utilize them and be a superset of wasm.
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-22cleaned up ecs interfaceLorenzo Torres
2025-03-22fixed component queriesLorenzo Torres
2025-03-22fixed memory bug with thread poolsLorenzo Torres
2025-03-21removed patch fileLorenzo Torres
2025-03-21Added block instruction in WASM VMluccie-cmd
Signed-off-by: luccie-cmd <luccie@sideros.org>
2025-03-20preliminary work on ecsLorenzo Torres
2025-03-17Refactored source code structure.Lorenzo Torres
2025-03-16Added checking if our extensions are supported and make Renderer.destroy() ↵luccie-cmd
not return an error Signed-off-by: luccie-cmd <luccie@sideros.org>
2025-03-16temporarily disabled WebAssemblyLorenzo Torres
2025-03-12base codeLorenzo Torres