Commit Graph

508 Commits

Author SHA1 Message Date
nub31
9719cd4426 working kinda 2025-02-02 20:12:20 +01:00
nub31
2b5969cf99 Fix variables not always recognized 2025-02-01 20:10:58 +01:00
nub31
896d5a5e13 Move memory allocator to own func and prefix internal functions to prevent collisions 2025-02-01 17:24:51 +01:00
nub31
e7d1801abc Heap allocate structs and arrays 2025-02-01 16:29:43 +01:00
nub31
8c21483f74 Found issue with stack allocated structs and possibly arrays. Must be investigated further 2025-01-31 23:48:30 +01:00
nub31
16a031823e Implements struct initializers 2025-01-31 22:47:55 +01:00
nub31
ee640ae7a8 Stack allocate arrays 2025-01-30 18:57:10 +01:00
nub31
a81d7939ba Fix array access 2025-01-30 18:47:25 +01:00
nub31
9625c21148 Update so we dont use callee saved registers 2025-01-30 18:22:53 +01:00
nub31
89ed0e58fd itoa 2025-01-30 18:09:12 +01:00
nub31
b6c80af6c4 ... 2025-01-30 18:05:59 +01:00
nub31
1f4b2a42eb Improved types 2025-01-30 17:36:44 +01:00
nub31
47b88f58f3 Remove debug util 2025-01-30 16:34:06 +01:00
nub31
a4404a4fe2 Add arrays 2025-01-30 16:33:06 +01:00
nub31
8a50278f0f while loops working 2025-01-30 13:37:38 +01:00
nub31
ea705b9109 Compile time global variable definitions 2025-01-30 13:01:43 +01:00
nub31
5a8efcf237 Ditch the IReadonlyCollection bullshit 2025-01-30 11:57:29 +01:00
nub31
305731bddb update .gitignore 2025-01-29 21:42:29 +01:00
nub31
a0988311d6 Remove stuff 2025-01-29 21:42:00 +01:00
nub31
d685fe2209 Move io 2025-01-29 21:39:55 +01:00
nub31
39be4d823b Validate input 2025-01-29 21:35:28 +01:00
nub31
d7dc2bdffe Refactor main 2025-01-29 20:57:03 +01:00
nub31
88aa2375ef directory scoped imports 2025-01-29 20:51:38 +01:00
nub31
0c807d765c ... 2025-01-29 16:30:13 +01:00
nub31
a5effb4b5a Some refactoring 2025-01-28 20:22:19 +01:00
nub31
24348b4d74 Me stupid 2025-01-28 20:18:10 +01:00
nub31
877547f722 Label factor refactor 2025-01-28 20:16:56 +01:00
nub31
5d3f67c35a Create label 2025-01-28 20:14:15 +01:00
nub31
050586f2b7 fmt 2025-01-28 20:13:41 +01:00
nub31
a64bf1e487 ... 2025-01-28 20:10:43 +01:00
nub31
ddb3e19dbb ... 2025-01-28 20:09:39 +01:00
nub31
0553d0abbf ... 2025-01-28 20:06:21 +01:00
nub31
c65b487f05 ... 2025-01-28 19:53:54 +01:00
nub31
6356e37f77 Refactor 2025-01-28 17:37:09 +01:00
nub31
cddf4c4f78 Remove branch checker for now 2025-01-27 21:14:44 +01:00
nub31
1e0f31cb6b Add next steps 2025-01-27 21:04:04 +01:00
nub31
37ee8fafd3 If statements 2025-01-27 20:35:03 +01:00
nub31
5d5781dbd7 Add comment for global variables 2025-01-27 19:32:11 +01:00
nub31
ab3106434e Extern functions 2025-01-27 19:24:09 +01:00
nub31
cca7ff5b8e Fix tabs 2025-01-27 17:03:53 +01:00
nub31
39515e4e32 Support for parentheses in binary expressions 2025-01-27 16:53:08 +01:00
nub31
5bef35861d Remove unused format string 2025-01-27 15:40:56 +01:00
nub31
216039a1ab fix indenting 2025-01-27 15:30:27 +01:00
nub31
fba16be57b Binary expressions working with types 2025-01-27 15:27:53 +01:00
nub31
177ab7bd2f Update Nub.Lib to Nub.Core 2025-01-27 13:03:47 +01:00
nub31
9b4608a259 Add basic binary expression support
Current implementation is placeholder. Assembly is generated by mr. chat and is currently unchecked.
Also only 64 bit ints are supported
2025-01-26 23:20:16 +01:00
nub31
c20981e4cb Start work on binary expressions 2025-01-26 22:51:56 +01:00
nub31
880c85d296 Fix spacing 2025-01-26 22:24:16 +01:00
nub31
5e414ce09b Variable reassignment 2025-01-26 22:23:48 +01:00
nub31
0169382a77 Add support for expression syscalls 2025-01-26 22:12:40 +01:00