Commit Graph

4305 Commits

Author SHA1 Message Date
gingerBill
65206fe33e Go through loads of TODOs 2023-08-01 11:39:04 +01:00
gingerBill
2f094134a3 Remove -strict-style-init-only 2023-08-01 11:14:52 +01:00
gingerBill
69e1f42aed Replace a lot of warnings with errors; remove deprecated stuff 2023-08-01 11:11:15 +01:00
gingerBill
c35c58b023 Add -vet-style and -vet-semicolon 2023-08-01 11:03:15 +01:00
gingerBill
4b57aec1c6 Fix typo 2023-07-31 17:30:03 +01:00
gingerBill
19b24fcce2 Add require_results for proc groups 2023-07-31 17:27:23 +01:00
gingerBill
f17077c05c Remove debug code 2023-07-31 12:11:31 +01:00
gingerBill
44ea82f845 Clean up usage of using throughout core and vendor 2023-07-31 11:46:40 +01:00
gingerBill
0de7df9eab Improve //+vet; remove using in many places; add //+vet !using-stmt where necessary 2023-07-31 11:37:14 +01:00
gingerBill
60e509b1e0 Add separate -vet flags; -vet-using-* flags; //+vet file flags 2023-07-31 11:09:19 +01:00
gingerBill
c39a360372 Update Tilde for the new TB_Passes approach 2023-07-28 14:57:04 +01:00
gingerBill
f6d1724835 BODGE for finding procedure symbols
Related to a dependency graph race condition bug (THIS NEEDS TO BE FIXED)
2023-07-28 12:12:06 +01:00
ryuukk
a99da47b0d Assign element to Slice not Array when alloc a Type_Slice 2023-07-27 22:13:55 +02:00
gingerBill
0f217c715e Fix dependency issue; Allow polymorphic procedures in tilde 2023-07-25 15:15:35 +01:00
gingerBill
c4033c215e Support non-constant global slices 2023-07-25 14:37:19 +01:00
gingerBill
e914d551e7 Basic support for global variables 2023-07-25 13:56:28 +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
baea6a1da8 Generate anonymous procedure literals 2023-07-25 13:31:22 +01:00
gingerBill
ba48093666 Fill out type information data 2023-07-25 12:19:59 +01:00
gingerBill
d4b87f1672 Continue filling in the global type info data 2023-07-25 11:46:53 +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
28c97a9467 Begin work on setting up type information table 2023-07-24 17:12:23 +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
cf77a0e2b4 Update Tilde to fix reg alloc bug 2023-07-24 15:18:20 +01:00
gingerBill
e2593a6883 Update Tilde for testing reg spill stuff 2023-07-24 14:01:10 +01:00
gingerBill
00a44d1ddb Mock out type info initialize stuff 2023-07-24 13:06:01 +01:00
gingerBill
d8445fd9df Multithread tilde backend 2023-07-24 12:53:16 +01:00
gingerBill
304db907f5 Generate object name for them module 2023-07-24 12:19:22 +01:00
gingerBill
b09cdc0f25 Hook up Tilde to the linker code 2023-07-24 12:01:23 +01:00
gingerBill
bd81c6f5b4 Move linker code into separate file 2023-07-24 11:53:18 +01:00
gingerBill
4051dd9522 Update Tilde to get basic "Hello World" working with runtime.print_string 2023-07-24 11:30:07 +01:00
gingerBill
241a939c29 Update Tilde 2023-07-24 10:27:55 +01:00
gingerBill
2f9c5d2d0b Minor clean up to builtin procs 2023-07-23 22:07:21 +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
eec3b3009f Begin work on builtin procedures 2023-07-22 10:16:28 +01:00
gingerBill
4654b41c3e Implement call expressions 2023-07-22 09:06:44 +01:00
gingerBill
b09ea17f0e Support multiple return values for non-odin calling conventions 2023-07-22 08:48:13 +01:00
gingerBill
99ebfc337e Support multiple return values 2023-07-22 08:33:30 +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
47b924990f Count extra stuff 2023-07-20 02:04:59 +01:00
gingerBill
215bebb01a Remove dead code 2023-07-20 02:00:20 +01:00
gingerBill
9fffa19c51 Mock out more global stuff 2023-07-20 01:58:46 +01:00
gingerBill
b54f3d4ee9 Mock out more global value stuff 2023-07-20 01:54:36 +01:00