51 Commits

Author SHA1 Message Date
zxq5 c67217a6b8 Merge branch 'main' into compiler 2026-02-14 11:09:33 +00:00
zxq5 7ccbd9258f - fixed some clippy lints
- updated comments in compiler codegen
- deleted old dsa compiler outputs
- settings for zed
2026-02-14 11:05:15 +00:00
zxq5 931af90789 - renamed assembler_runner to just assembler
- implemented type parsing including custom types and generics (useless
  for now as we do no semantic analysis)
- implemented struct literal parsing
- implemented struct definition parsing (no generics yet)
- implemented tuple parsing
- registers are now allocated starting from zero
- updated to-dos
2026-02-10 10:03:48 +00:00
zxq5 e2be83414b - updated assembler to support new shift implementation
- updated emulator to support new shift implementation
- updated emulator to rename NoReg to Null as in the common lib
2026-02-09 00:05:45 +00:00
zxq5 bbcef7178f updated assembler to write to binary files correctly 🤦 2026-02-06 15:15:10 +00:00
zxq5 1fcfb3120b started working on build system 2026-02-05 03:12:44 +00:00
zxq5 2f91c4127c reorganised code examples 2026-02-05 01:10:31 +00:00
zxq5 f25db6c8fd updated assembler logging 2026-02-04 01:56:15 +00:00
zxq5 fd5b305576 started work on c compiler 2025-11-14 23:36:51 +00:00
nullndvoid c41e5328e6 docs: fix failing doctest 2025-06-29 02:21:31 +01:00
zxq5 7c63340888 minor changes to assembler 2025-06-26 20:53:22 +01:00
zxq5 620584488b fixed unit tests & misc changes to workspace config 2025-06-26 00:50:58 +01:00
zxq5 82b99c127c finished initial interrupts implementation 2025-06-25 00:13:55 +01:00
nullndvoid 92c4660a4d misc: get rid of some errors from Cargo lol 2025-06-24 21:55:11 +01:00
zxq5 2a6991fe4a idk, i refactored some stuff ig 2025-06-24 19:34:45 +01:00
zxq5 76197fac8f finished refactor of emulator - started on loader (needs significant changes before functional in the way that I would like) 2025-06-23 23:45:47 +01:00
nullndvoid ed479ac146 assembler: purge unwrap and use more AssembleErrors 2025-06-23 19:39:49 +01:00
nullndvoid f432fe7665 misc: clippy lint fixes 2025-06-23 18:23:01 +01:00
zxq5 ddd0c27893 found a cause of a memory bug in emulator - fix is TODO (#6) - continued working on brainf interpreter. we really need better debugging tools tbh. 2025-06-23 00:31:09 +01:00
zxq5 2b777f55c7 Merge remote-tracking branch 'refs/remotes/origin/main' 2025-06-22 03:54:44 +01:00
zxq5 9c56258c48 assembler changes & brainf##k compiler lmao 2025-06-22 03:51:16 +01:00
nullndvoid bbf893290f misc: more clippy fixes, **switched to stable**
The switch was due to rust-analyzer bug on latest nightly, please use stable until [this bug](https://github.com/rust-lang/rust-analyzer/issues/20051) is fixed
2025-06-22 00:42:44 +01:00
nullndvoid 1907bbb200 misc: clippy fixes 2025-06-22 00:30:27 +01:00
zxq5 528ceddade refactor & fixed assembler path handling 2025-06-21 04:05:22 +01:00
zxq5 42c26d4184 added a create-project system to assembler, and fixed a couple of parsing bugs 2025-06-20 03:25:28 +01:00
zxq5 52e2306fca refactoring assembler 2025-06-19 23:28:53 +01:00
zxq5 5c83b49328 fixed some clippy warns 2025-06-19 18:50:57 +01:00
nullndvoid a48dfee777 misc: revert "purged .unwrap()"
Harry is an idiot @zxq5 is also an idiot

This reverts commit d4e538a2b3.
2025-06-19 17:01:04 +01:00
zxq5 d4e538a2b3 purged .unwrap() 2025-06-19 16:57:43 +01:00
nullndvoid 6f834025ed emulator: imports work relatively to file being assembled (set cwd) 2025-06-19 16:35:00 +01:00
nullndvoid 7bdeab58a1 merge zxq5 changes with mine lol 2025-06-19 15:53:55 +01:00
nullndvoid 81433dcbcd misc: apply clippy lints 2025-06-19 15:51:23 +01:00
zxq5 d5a690563b fixed some clippy errors 2025-06-19 15:44:42 +01:00
zxq5 e308362533 idk 2025-06-19 15:18:48 +01:00
zxq5 6b58a17f03 fixed a lot of bugs with the emulator, instruction set and assembler 2025-06-19 01:57:36 +01:00
zxq5 e281bc2d1d IT WORKS HELL YEAH. 2025-06-18 22:53:01 +01:00
zxq5 1210b19333 asm done with parsing and linking. codegen all that's left 2025-06-18 03:54:39 +01:00
zxq5 42847f7bfb merge commit 2025-06-17 23:50:16 +01:00
zxq5 b0670d1e6c assembler updates 2025-06-17 23:48:06 +01:00
nullndvoid 3a40719e54 misc: back to little endian because I am evil 2025-06-17 19:51:16 +01:00
nullndvoid 0b16246dd2 misc: applied some clippy lints 2025-06-17 19:43:35 +01:00
zxq5 87fbd6c362 assembler still very broken, dependency resolution works, now working on expanding pseudoinstructions 2025-06-17 03:11:22 +01:00
zxq5 88a1c9f245 Merge remote-tracking branch 'refs/remotes/origin/main' 2025-06-16 23:40:29 +01:00
zxq5 9e0d014e99 removed some useless code 2025-06-16 23:39:05 +01:00
zxq5 75246f5e73 editor go brr? 2025-06-16 23:38:36 +01:00
nullndvoid ae10249616 misc: fixed some shit thanks to Clippy, have fun with the merge conflicts lmao 2025-06-16 23:21:35 +01:00
zxq5 7d17107a8c Merge remote-tracking branch 'refs/remotes/origin/main' 2025-06-16 03:50:25 +01:00
zxq5 7f834adbce assembler shenanigans. shiny ahh code. 2025-06-16 03:48:31 +01:00
nullndvoid 5ed0f9c1ca misc: formatting and clippy lint fixes 2025-06-16 01:19:57 +01:00
zxq5 2b5ad0885b added assembler skeleton code 2025-06-15 21:53:57 +01:00