Mid
f406b2a032
Sections are now top-level nodes (which contain TLCs)
...
Previously, `@section` was a statement inside a top-level chunk, which
caused issues when the TLC allocated stack memory (the prologue was
generated before the `@section`).
This way, Nectar source code is now defined as a list of sections,
first and foremost.
2025-11-12 12:29:15 +02:00
Mid
7a8b14308b
Make dereferencing operator binary, to account for segmentation
2025-10-17 18:16:58 +03:00
Mid
fee8ea5cb3
Bug fixed in string literal -> int cast
2025-10-17 14:09:40 +03:00
Mid
2aa64f4a37
More declarations
2025-10-17 14:09:25 +03:00
Mid
8c164a3b09
sgpr and smem
2025-10-17 14:09:10 +03:00
Mid
9d975eeceb
Force assign declaration statement for all virtual/temp variables
2025-10-15 14:11:24 +03:00
Mid
ecab77f9e9
Holy fucking bug omg
2025-10-15 14:11:02 +03:00
Mid
132cedff09
ebp is also callee-saved
2025-10-15 14:10:54 +03:00
Mid
f978b66662
Conditionally save volatile regs
2025-10-15 14:10:42 +03:00
Mid
104ba53b33
Introduce null keyword
2025-10-14 16:30:58 +03:00
Mid
2d56f124a9
Rename dumbification to normalization
2025-10-10 17:18:10 +03:00
Mid
fc8d65f893
Bug fix
2025-10-10 17:16:06 +03:00
Mid
2049826870
Bug fix
2025-10-10 17:15:52 +03:00
Mid
fc16c077d9
Auto dereferencing is only for near pointers
2025-10-09 11:36:44 +03:00
Mid
8fc5521601
Multiple bug fixes
2025-10-09 11:36:21 +03:00
Mid
dfbadfecb9
More AST functions (incl new second-class record pass)
2025-10-09 11:35:35 +03:00
Mid
2f67a6f109
Fix dumbing bug
2025-10-02 13:46:08 +03:00
Mid
1177462bda
Increase XOPBUFSZ to 64
2025-10-02 13:45:15 +03:00
Mid
246f7a3b71
type_dereference
2025-10-02 13:44:49 +03:00
Mid
2188448b19
Implicitly cast return type
2025-10-02 13:44:35 +03:00
Mid
d46b104d5c
Fix operator precedence and introduce auto-deref
2025-10-02 13:44:18 +03:00
Mid
07e3604a8c
Set TLC functionType sooner
2025-10-02 13:39:11 +03:00
Mid
fb75434cba
Copy cexprs to keep AST nodes unique/unshared
2025-10-02 13:38:27 +03:00
Mid
fb6fd76d0b
More denoops
2025-09-19 19:05:18 +03:00
Mid
e80f6643dc
Dumbify callee expressions
2025-09-19 19:04:53 +03:00
Mid
8d8d1cf067
Match resource masks instead of resource names
2025-09-19 19:04:26 +03:00
Mid
1708faf14d
Cast fixes
2025-09-19 19:03:50 +03:00
Mid
14ab1f432d
Correct type sizes under different ABIs
2025-09-15 17:10:38 +03:00
Mid
f03e8517df
document xop_sz
2025-09-14 10:44:28 +03:00
Mid
273e6d1058
Add ugpr and umem types
2025-09-14 10:44:08 +03:00
Mid
251d24fb30
in bits, not bytes
2025-09-14 10:43:37 +03:00
Mid
d0262c586e
So many bug fixes like omg why didn't u use bp for stacc idiot
2025-09-13 11:19:49 +03:00
Mid
13333c971a
Add && and ||
2025-09-13 11:17:11 +03:00
Mid
b4272a67d1
Add more deepcopies
2025-09-13 11:14:30 +03:00
Mid
7f855f3931
Despaghettify source
2025-08-15 17:31:05 +03:00
Mid
5196026ed1
Fucking add else statement
2025-08-14 18:22:31 +03:00
Mid
5755e243a9
IR linearization
2025-08-13 18:27:52 +03:00
Mid
67fb9e5b52
Add back lea
2025-08-06 16:19:10 +03:00
Mid
012d18cdf8
Fix stack growth and parameter passing
2025-08-04 18:06:30 +03:00
Mid
81b1010453
Basic allocators with unmanaged list (broken)
2025-07-29 17:54:13 +03:00
Mid
fb4849d382
Call pointers only
2025-07-29 17:48:31 +03:00
Mid
db08fcbd27
End of an Era
2025-07-17 21:02:10 +03:00
BrainStackOverFlow
5c5187f0ff
Fix actually use specified include dirs
2025-07-17 13:06:48 +03:00
BrainStackOverFlow
9adcfd2ff5
Fix (null) output of stack variables
2025-07-17 11:26:20 +03:00
BrainStackOverFlow
20197ee0bc
Fix unhandled AST_EXPR_EXT_SIZEOF Error
2025-07-17 11:00:59 +03:00
Mid
b204860b2e
Fucking add scope file oh my god how could I miss this
2025-07-16 11:00:45 +03:00
Mid
923ec25d79
Restructure source tree, SRoA and variable pointer size
2025-06-30 20:37:51 +03:00
Mid
6ec68a766f
penis sex fuck penis cock, irregular register allocation and rename VarTable to Scope
2025-06-10 22:07:22 +03:00
Mid
56c10daaa7
parametrize your mom?
2025-05-03 10:00:20 +03:00
Mid
2c6033e501
gingus
2025-02-27 20:10:02 +02:00