Commit Graph

109 Commits

Author SHA1 Message Date
1438ba7bd1 Add semantic highlighting for binop params 2025-08-03 19:39:40 +03:00
018f3e2561 Fix function signature meta for extern functions 2025-08-03 18:45:27 +03:00
bb9f69ee53 Add autocomplete for imports 2025-08-02 23:03:11 +03:00
658450993a Fix hover types for for-loops 2025-08-02 20:10:48 +03:00
b71c253942 Add types to hovers in LSP, fix around and add metas 2025-07-29 21:39:14 +03:00
7d3aaa143a Start adding type-information to tooltips 2025-07-29 20:44:15 +03:00
735c3231b1 Make macros generate globals 2025-07-28 23:49:22 +03:00
33ed1fd813 Add macro call convention 2025-07-28 22:18:30 +03:00
beaba4e7de Mangle function names, except for user defined externs 2025-07-28 20:25:36 +03:00
b643c13582 Use metadata instead of names for allocator identification 2025-07-28 19:22:03 +03:00
726251e39c Fix warnings, cleanup 2025-07-28 18:22:51 +03:00
a4e18af983 Add intrinsic bit-operators 2025-07-28 12:16:14 +03:00
49084ea0af Add AST -> MIR for bitwise-operations and or 2025-07-28 11:59:20 +03:00
516833d26f Add parsing for bitwise or/and, xor and bitshifts 2025-07-28 11:53:50 +03:00
dc360ef196 Implement importing of associated functions with types 2025-07-27 23:28:24 +03:00
a6a903a45d Allow borrows in associated function &self 2025-07-27 22:45:34 +03:00
676554b6a0 Improve deref parsing 2025-07-27 22:24:38 +03:00
1c83ca44ab Add dot syntax for associated functions 2025-07-27 21:29:39 +03:00
0613fc5c53 Allow associated functions to take self as owned 2025-07-27 18:41:51 +03:00
46668b7099 Fix a bunch of warnings 2025-07-27 18:11:18 +03:00
ab94bd7df0 Add AST -> MIR processing for associated functions 2025-07-27 03:08:34 +03:00
5eef265652 Add parsing for associated function calls 2025-07-27 02:54:01 +03:00
a253c032d8 Add parsing for &self and &mut self 2025-07-27 02:49:08 +03:00
bee31f4b92 Add associated function parsing partially 2025-07-27 02:33:11 +03:00
0196fb53ed Import binops while importing types as well 2025-07-26 13:18:55 +03:00
269de327b8 Allow importing types 2025-07-26 00:57:39 +03:00
12e2851a8b Add Not-Unary 2025-07-25 23:40:57 +03:00
307137d0d9 Fix a significant problem in how the typerefs aren't narrowed properly 2025-07-25 20:16:54 +03:00
ea8a833bdf Fix warnings and issues 2025-07-25 00:32:49 +03:00
5b46e973d4 Add types to number-literals 2025-07-24 23:04:35 +03:00
0e63219205 Implement shorthand for array definition 2025-07-24 22:04:48 +03:00
be3c415a57 Implement void returns 2025-07-24 21:54:55 +03:00
aec7d55e9b Add codegen to custom binops 2025-07-24 15:03:05 +03:00
a7795f83db Use FunctionDefinitionKind for binops 2025-07-24 13:40:06 +03:00
50af50c43f Typecheck custom binops 2025-07-24 13:07:49 +03:00
974c7e98f1 Add AST -> MIR for custom binops 2025-07-24 12:34:16 +03:00
eda78fc924 Add binop impl lexing 2025-07-24 12:23:19 +03:00
954f3438d3 Codegen intrinsics 2025-07-24 11:56:44 +03:00
87a8eac61b Fix for loops causing issues together 2025-07-24 01:48:25 +03:00
14537743ed Fix for-loops 2025-07-23 21:17:16 +03:00
75a7a435d1 Make for-loops syntax sugar instead 2025-07-23 20:44:30 +03:00
1a5e3ef1d9 Add loops ast -> mir 2025-07-23 20:29:13 +03:00
ef4964ed86 Add parsing for for/while loops 2025-07-23 20:14:35 +03:00
431aae0b0d Add lexing to loops 2025-07-23 19:52:46 +03:00
8b79959288 Fix typedefinition in scope 2025-07-23 15:34:01 +03:00
b9459a19bb Add div/mod parsing 2025-07-23 14:59:51 +03:00
29d790e583 Start working on if-expression hands being expressions 2025-07-22 20:58:32 +03:00
3d73c52cb4 Fix casting within setters 2025-07-22 19:31:35 +03:00
f35f1ef701 Repurpose module map and rename old to ErrorModules 2025-07-22 17:34:01 +03:00
e9bca63f0d Add module id to CustomType, String to std 2025-07-22 16:16:46 +03:00