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
201b18069b
continued on register allocator rewrite, slow progress as scoping is
...
proving to be a challenge
2026-02-14 02:46:29 +00:00
zxq5
d66baf6f99
moved loc
2026-02-13 21:42:59 +00:00
zxq5
9f35fc9415
block allocator implementation and example
2026-02-08 12:36:49 +00:00
zxq5
2f91c4127c
reorganised code examples
2026-02-05 01:10:31 +00:00
zxq5
89762b54e3
updated docs
2026-02-05 01:09:38 +00:00
zxq5
a1099249e9
updated roadmap
2026-02-04 01:59:50 +00:00
zxq5
7780f5804f
deleted old files and modified some dsa source files
2026-02-04 01:58:37 +00:00
zxq5
889ee8ef71
wrote dsa/dsc code examples including an allocator
2026-02-04 01:58:03 +00:00
zxq5
48a74bfde2
updated dsc example to reflect current feature set.
2026-02-03 15:38:40 +00:00
zxq5
ce2eda72a0
updated roadmap with progress
2026-02-03 15:34:35 +00:00
zxq5
3afeafc9d4
- compiler works for basic maths expressions and functions
...
- basic pointers and reading values from pointers works
- writing to pointers not yet implemented (looks painful so a problem
for tomorrow)
- updated print library. the compiler has this hardcoded in all programs
for now
2026-02-03 02:11:30 +00:00
zxq5
8f7163c459
added some documentation and started on compiler for custom language (not C) based on previous prototypes. pretty broken state rn.
2026-02-01 22:16:09 +00:00
zxq5
52ef7872f0
compiler working for some mathematical expressions, function calls and
...
simple conditionals
2026-01-31 13:28:42 +00:00
zxq5
e31deb594f
fixed a bug with the multiply function in core.dsa and added a print_num
...
function to print.dsa for decimal numbers
2026-01-31 13:28:11 +00:00
zxq5
63c9d858b4
added a to-do list and bacon.toml for developing the compiler
2026-01-31 13:27:31 +00:00
zxq5
2582ad10fa
started work on compiler
2025-06-30 20:44:39 +01:00
zxq5
98668c681e
more optimisations test program ~54MIPS -> ~110MIPS
2025-06-29 02:04:14 +01:00
zxq5
ae92510fb8
dsa lib bugfixes
2025-06-26 20:53:51 +01:00
zxq5
e9f04824ea
updates to dsa libs
2025-06-26 00:51:20 +01:00
zxq5
1101331f70
fixed a couple of emulator bugs, including fixing shift instructions. finished implementing lib/io/print/print_hex_byte and print_hex_word
2025-06-25 16:31:42 +01:00
zxq5
c171b0db89
worked on print.dsa and maths/core.dsa
2025-06-25 00:40:31 +01:00
zxq5
0fdd28aad1
finished the interpreter
2025-06-24 19:31:55 +01:00
zxq5
f639240b6c
progress on debugging bf.dsa
2025-06-24 18:07:33 +01:00
nullndvoid
083628ec7e
emulator: builds still don't actually work, will look into ELF stuff
2025-06-23 18:13:08 +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
b8091222a4
working on bf.dsa (brainf##k interpreter) cos fun
2025-06-22 16:14:51 +01:00
zxq5
6ea3a76d74
fixed some bugs with file picker & loading different file types - will start working on brainf##k interpreter tomorrow because a compiler isn't enough.
2025-06-22 05:19:55 +01:00
zxq5
2b777f55c7
Merge remote-tracking branch 'refs/remotes/origin/main'
2025-06-22 03:54:44 +01:00
zxq5
7892c44d89
updated print with new functions
2025-06-22 03:51:39 +01:00
nullndvoid
c7322d8171
emulator on android: crashes but APKs are building
2025-06-22 03:46:42 +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
f791b05292
idk what changes i made
2025-06-19 23:30:32 +01:00
zxq5
5c83b49328
fixed some clippy warns
2025-06-19 18:50:57 +01:00
nullndvoid
6f834025ed
emulator: imports work relatively to file being assembled (set cwd)
2025-06-19 16:35:00 +01:00
zxq5
e308362533
idk
2025-06-19 15:18:48 +01:00
zxq5
5784beafbc
An idiot admires complexity, a genius admires simplicity, a physicist tries to make it simple, for an idiot anything the more complicated it is the more he will admire it, if you make something so clusterfucked he can't understand it he's gonna think you're a god cause you made it so complicated nobody can understand it. That's how they write journals in Academics, they try to make it so complicated people think you're a genius
2025-06-19 02:58:30 +01:00
zxq5
ccc4421bb1
I should go to sleep frfr.
2025-06-19 02:56:15 +01:00
zxq5
11a107e56d
wrote print.dsa
2025-06-19 01:57:47 +01:00
zxq5
e281bc2d1d
IT WORKS HELL YEAH.
2025-06-18 22:53:01 +01:00
zxq5
42847f7bfb
merge commit
2025-06-17 23:50:16 +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
e9eca34d48
editor changes
2025-06-16 03:49:08 +01:00
zxq5
17fed069c5
wrote a println example in .dsa
2025-06-15 03:05:41 +01:00