Commit Graph

8727 Commits

Author SHA1 Message Date
gingerBill
c61e7c05da Begin working on global constants 2023-07-20 00:34:24 +01:00
gingerBill
a919828003 Add complex and quaternion global stuff 2023-07-19 23:27:06 +01:00
gingerBill
0bd33882b6 Basic constant compound literal support 2023-07-19 21:43:42 +01:00
gingerBill
e0e55a649c Rename tilde_backend* files to tilde* 2023-07-19 20:50:15 +01:00
gingerBill
f32d71eca0 Mock out any type switch statement 2023-07-19 20:44:37 +01:00
gingerBill
5fb98609cd Implement type switch statement for unions 2023-07-19 18:03:42 +01:00
gingerBill
19633ece80 Simplification of the ValueDecl code 2023-07-19 15:51:56 +01:00
gingerBill
fb04103352 Add defer statements; add implicit context pointer to context stack 2023-07-19 15:37:33 +01:00
gingerBill
9abf43b0d2 Mock out defer handling logic (before handling defer statements) 2023-07-19 15:24:07 +01:00
gingerBill
7f97274ecc Wrap Tilde's goto pseudo-instruction 2023-07-19 14:31:32 +01:00
gingerBill
b2edab193f Support branch statements break/continue/fallthrough 2023-07-19 14:19:01 +01:00
gingerBill
184563bbe1 Add trivial switch statement check to use a jump table 2023-07-19 13:58:56 +01:00
gingerBill
73f25ed182 Add basic switch statement
Implement as naive if-else chain
2023-07-19 13:37:56 +01:00
gingerBill
533f6a552c Add for and += assignments 2023-07-19 13:15:13 +01:00
gingerBill
32ac319525 Implement if statements 2023-07-19 12:55:44 +01:00
gingerBill
569397bd7e Update TB 2023-07-19 11:39:37 +01:00
gingerBill
3535d16c3a Implement Ternary If Expression 2023-07-18 18:58:56 +01:00
gingerBill
7f4efa90c8 Mock out cg_emit_comp 2023-07-18 16:51:37 +01:00
gingerBill
bab3cd988e Mock out cg_emit_unary_arith 2023-07-18 13:42:37 +01:00
gingerBill
feda213c0c Mock out cg_append_tuple_values 2023-07-18 13:30:59 +01:00
gingerBill
c6593e8cde Mock out binary expressions and variable declarations 2023-07-18 13:27:47 +01:00
gingerBill
4d8d3919c0 Update tilde; procedure type determination from debug types 2023-07-18 13:16:35 +01:00
gingerBill
55733171c1 Planning for multi-valued expressions in the tilde backend 2023-07-17 23:16:50 +01:00
gingerBill
988926b59d Flesh out debug procedure type 2023-07-17 22:51:18 +01:00
gingerBill
d72f8da6d7 Move debug type code its own file 2023-07-17 22:37:40 +01:00
gingerBill
0b697b24bd Implement debug type for procs 2023-07-17 22:33:13 +01:00
gingerBill
b2c75dc3a2 Mostly fill in cg_debug_type 2023-07-17 22:18:15 +01:00
gingerBill
b5b3f1fb42 Mock out struct_ep calls 2023-07-17 17:28:12 +01:00
gingerBill
bd73834e19 Update Tilde; mock out cg_build_return_stmt
128-bit types are broken
2023-07-17 16:56:10 +01:00
gingerBill
7f43c24297 Merge branch 'master' into tilde 2023-07-17 16:23:01 +01:00
gingerBill
1b3657122c Uncomment procedures in procedure group 2023-07-17 16:02:18 +01:00
gingerBill
0f28857c59 Improve type inference for procedure group stuff 2023-07-17 13:03:58 +01:00
gingerBill
88485d5467 Improve scoring for polymorphic procedures 2023-07-17 12:57:33 +01:00
gingerBill
921530dd01 Fix to allow procedure groups on objective-c types 2023-07-17 12:43:56 +01:00
gingerBill
dcf3023d93 Fix bug caused by incorrect assert 2023-07-17 12:06:48 +01:00
gingerBill
45b3ae31af Mock out more of the ep procedures 2023-07-17 00:31:44 +01:00
Jeroen van Rijn
b12c46b28a Merge pull request #2659 from Pingar5/master
Fixed typo in GGPO bindings
2023-07-17 01:11:32 +02:00
gingerBill
66a20264ab Mock out cg_emit_arith 2023-07-17 00:06:03 +01:00
gingerBill
d2d243cca8 Mock out cg_emit_conv 2023-07-16 23:41:51 +01:00
Brennen Shaughnessy
635d671ee7 Fixed typo in GGPO bindings 2023-07-15 15:59:58 -04:00
gingerBill
ee8372145d Begin working on proper expressions 2023-07-15 14:26:47 +01:00
gingerBill
ccb736411b Basic context creation 2023-07-15 13:30:31 +01:00
gingerBill
e2e5641a45 Update TB; Fix calling nullptr TB_Node* problems 2023-07-15 13:15:50 +01:00
gingerBill
ca442defbb Mocking out call related stuff 2023-07-14 17:34:00 +01:00
gingerBill
b17ebeb6f6 Mock out more of the addr related stuff 2023-07-14 17:03:28 +01:00
gingerBill
a8afcf1ca9 cg_emit_load/cg_emit_store 2023-07-14 16:03:21 +01:00
gingerBill
6545cc2d48 Stub out expr and const files 2023-07-14 14:54:49 +01:00
gingerBill
2a10c8fe5c Begin work on building statements 2023-07-14 13:01:17 +01:00
gingerBill
7cd2d14b64 Very start of working on Tilde Backend for Odin 2023-07-14 11:58:18 +01:00
gingerBill
fc5abfd68b Update Tilde 2023-07-14 11:56:13 +01:00