Commit Graph

4045 Commits

Author SHA1 Message Date
gingerBill
1cdb975c91 Add attribute @(require) import "foo" to replace/supplement _ :: foo 2023-08-22 12:05:25 +01:00
gingerBill
cd42d26eb3 Fix variadic parapoly bug 2023-08-21 12:19:38 +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
15033eab28 Fix comparison of two nil unions against each other 2023-08-16 11:52:40 +01:00
gingerBill
8b4c530062 Disable HAS_VALGRIND logic for BlockingMutex (fixes #2703) 2023-08-16 11:02:09 +01:00
gingerBill
9ff9587b7b Remove unused code in gb.h; Minimize use of heap_allocator() in parser 2023-08-16 00:41:49 +01:00
gingerBill
2cc22d118d Require parentheses for #align(N) 2023-08-15 14:55:02 +01:00
gingerBill
589820639c Correct lb_run_function_pass_manager behaviour 2023-08-10 14:35:09 +01:00
gingerBill
2b3f3e11d3 Make trailing commas followed by a closing token on the same an error with -vet-style 2023-08-08 16:01:08 +01:00
gingerBill
cad3a50e4e Add ODIN_PLATFORM_SUBTARGET 2023-08-08 15:28:21 +01:00
gingerBill
4d9ee55468 Fix add_constant_switch_case 2023-08-08 15:23:01 +01:00
gingerBill
b72f009d87 Disallow aliasing of any and typeid 2023-08-08 15:10:57 +01:00
gingerBill
2181e0fc27 Make for init; ; {} an error without an explicit cond or post 2023-08-08 15:07:00 +01:00
gingerBill
cd74cdfdaf Remove switch in in favour of switch _ in 2023-08-08 14:57:25 +01:00
gingerBill
49ab935ae9 Disallow for in in favour of for _ in 2023-08-08 14:56:12 +01:00
gingerBill
939bf4bb5d Add experimental -subtarget:ios 2023-08-08 11:35:51 +01:00
gingerBill
7861dfd667 Fix tilde extension when trying to build as assembly (unsupported currently) 2023-08-08 11:16:14 +01:00
William Roe
5d8b78cb88 Fix read_cycle_counter intrinsic on arm64
Running this code with the hard-coded x9 register results in not 
returning the cycle count, but some other value.

This code (using $0 as the register), works on arm64 Linux and Darwin.
2023-08-07 21:18:56 +01:00
gingerBill
0600054ad4 Remove temporary assert 2023-08-07 15:21:18 +01:00
gingerBill
b782fca75b Fix using bug 2023-08-07 15:18:45 +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
561a94cc50 Tilde: Fix type info for enums 2023-08-07 14:50:06 +01:00
gingerBill
0636887931 Tilde: Add in/not_in for maps 2023-08-07 14:43:11 +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
afa8eb2d6f Fix #2699 2023-08-05 15:04:14 +01:00
gingerBill
1481015dc4 Fix #2690 2023-08-05 15:01:21 +01:00
gingerBill
8cdedd4cd2 Add raw_data(^matrix[R, C]T) -> [^]T 2023-08-05 12:35:27 +01:00
gingerBill
985e4eed60 Fix #2697 2023-08-04 16:00:10 +01:00
gingerBill
3323d5c76c Disallow import declarations within a when statement 2023-08-04 15:45:25 +01:00
gingerBill
4a71603a77 Add hasher proc generation 2023-08-03 14:46:22 +01:00
gingerBill
aadc8477b9 Generate equal proc for unions 2023-08-03 13:42:14 +01:00
gingerBill
8060da2132 Toggle tilde backend in the build script 2023-08-03 13:16:23 +01:00
gingerBill
b495a302b0 Merge branch 'master' into tilde 2023-08-03 13:14:09 +01:00
gingerBill
9453b2387b Merge pull request #2669 from laytan/check-disabled-when-generating-parapoly
Fix #2666 by checking for disabled when generating parapoly procs
2023-08-01 14:45:36 +01:00
gingerBill
a4de59c8ee Merge pull request #2686 from ryuukk/patch-8
Assign element to Slice not Array when alloc a Type_Slice
2023-08-01 14:45:19 +01:00
Hasan Yasin Ozturk
fb30bda7d7 Add -show-system-calls flag info to cli usage help 2023-08-01 15:51:22 +03:00
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