Commit Graph

59 Commits

Author SHA1 Message Date
gingerBill
ca2b2c498e Add -obfuscate-source-code-locations 2023-12-13 16:47:34 +00:00
gingerBill
e0652ee2f4 Minor fix to call expr in tilde with variadic parameters 2023-12-13 13:10:51 +00:00
gingerBill
bc99bacb21 Update Tilde 2023-12-13 12:38:01 +00:00
gingerBill
b7af4e7f6b Explicitly write out the passes for each level and remove certain passes 2023-10-30 12:31:24 +00:00
gingerBill
984a95b8c7 Update Tilde 2023-09-11 23:36:39 +01:00
gingerBill
0b0230adce Update Tilde 2023-08-26 13:14:49 +01:00
gingerBill
1631a2bac1 Update Tilde 2023-08-21 11:15:16 +01:00
gingerBill
0cb9908f27 Update Tilde 2023-08-19 12:26:59 +01:00
gingerBill
0230b88078 Tilde: #soa pointers 2023-08-07 15:11:15 +01:00
gingerBill
55c9fb7c5c Tilde: Begin work on #soa 2023-08-07 15:04:03 +01:00
gingerBill
8201a9ce6e Tilde: for in for enum types 2023-08-07 14:53:31 +01:00
gingerBill
0c1b39d881 Mock out map get/set functionality 2023-08-07 14:40:42 +01:00
gingerBill
c91898a888 Remove #relative slices; Replace with #relative multi-pointers 2023-08-05 16:05:39 +01:00
gingerBill
c39a360372 Update Tilde for the new TB_Passes approach 2023-07-28 14:57:04 +01:00
gingerBill
0f217c715e Fix dependency issue; Allow polymorphic procedures in tilde 2023-07-25 15:15:35 +01:00
gingerBill
c6e4b8ed5c Move mutable value decl stuff to a separate procedure 2023-07-25 13:49:19 +01:00
gingerBill
ab398f3704 Implement @(static) local variables 2023-07-25 13:46:40 +01:00
gingerBill
e4006eb583 Update tilde 2023-07-25 01:11:57 +01:00
gingerBill
b934e4b564 Implement basic runtime type information
This allows for `runtime.println_any` to work!
2023-07-25 00:33:43 +01:00
gingerBill
28fca190ee Fix transmute(uintptr)ptr etc 2023-07-24 16:09:01 +01:00
gingerBill
78116e0ea2 Implement for in statements for array-like values 2023-07-24 15:46:54 +01:00
gingerBill
5a50afa1fd Implement for in interval statements 2023-07-24 15:28:51 +01:00
gingerBill
d8445fd9df Multithread tilde backend 2023-07-24 12:53:16 +01:00
gingerBill
99c812b02d Begin working on a minimum build 2023-07-23 21:44:50 +01:00
gingerBill
d82c2ce50f Update Tilde; Add min and max 2023-07-22 12:21:29 +01:00
gingerBill
6c12156b1a Simplify procedure argument handling 2023-07-22 11:16:29 +01:00
gingerBill
b09ea17f0e Support multiple return values for non-odin calling conventions 2023-07-22 08:48:13 +01:00
gingerBill
e5f9458905 Update Tilde to get procedure passing rules 2023-07-22 07:56:13 +01:00
gingerBill
ec0a9a5f8a Copy lvalues on multi-valued assignments to allow for a, b = b, a on large types (minor bodge) 2023-07-21 13:05:39 +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
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
55733171c1 Planning for multi-valued expressions in the tilde backend 2023-07-17 23:16:50 +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
45b3ae31af Mock out more of the ep procedures 2023-07-17 00:31:44 +01:00
gingerBill
66a20264ab Mock out cg_emit_arith 2023-07-17 00:06:03 +01:00