Commit Graph

94 Commits

Author SHA1 Message Date
13e462def7 Add generics parsing 2025-08-25 19:08:10 +03:00
aa1de16f4c Add documentation to std 2025-08-14 17:34:08 +03:00
7b4f38406d Add some initial documentation support for functions 2025-08-14 16:28:33 +03:00
79ecb3b9ba Fix token-ranges for derefs and binop rhs 2025-08-04 14:30:36 +03:00
1438ba7bd1 Add semantic highlighting for binop params 2025-08-03 19:39:40 +03:00
d9911a8ff5 Fix TokenRange for assoc function self 2025-08-03 19:27:54 +03:00
c7f1b81c9d Improve associated functions so you can now call them on numbers too 2025-08-03 01:33:52 +03:00
101ee2d8e5 Account for intrinsic associated functions with autocomplete 2025-08-03 01:00:02 +03:00
4ea0913842 Add autocomplete for associated functions and struct fields 2025-08-03 00:13:53 +03:00
bb9f69ee53 Add autocomplete for imports 2025-08-02 23:03:11 +03:00
8595da0c30 Make LSP use a more general analysis structure 2025-08-02 21:11:33 +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
33ed1fd813 Add macro call convention 2025-07-28 22:18:30 +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
516833d26f Add parsing for bitwise or/and, xor and bitshifts 2025-07-28 11:53:50 +03:00
cea756b2ad Fix derefs with casts 2025-07-28 01:36:35 +03:00
1f56fa5dc3 Fix using self within self 2025-07-28 00:41:35 +03:00
9d5a20e76a Allow pub-keyword for impl-block 2025-07-27 22:55: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
09f1784810 Update AssociatedFunctionBlock parsing 2025-07-27 02:56:47 +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
12e2851a8b Add Not-Unary 2025-07-25 23:40:57 +03:00
0b3ee3bf92 Refactor some more 2025-07-25 15:55:14 +03:00
b288fee2d5 Fix parsing of explicitly typed literals 2025-07-25 03:04:04 +03:00
6634597c92 Add ability to specify variable types in let 2025-07-25 00:41:38 +03:00
dbd539fb76 Improve typed literal parsing somewhat 2025-07-25 00:14:03 +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
22160b0802 Add octal, binary and hexadecimal representation 2025-07-24 21:33:03 +03:00
a09bccb255 Add hexadecimal numerics 2025-07-24 21:24:17 +03:00
27db67dd99 Possibly fix typechecking for binops 2025-07-24 18:42:10 +03:00
50af50c43f Typecheck custom binops 2025-07-24 13:07:49 +03:00
5ef329d570 Add custom binop parsing 2025-07-24 12:29:39 +03:00
c4017715d2 Codegen for/while loops 2025-07-23 21:07:12 +03:00
a251be2715 Make loops typecheck and type infere 2025-07-23 20:53:11 +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
b9459a19bb Add div/mod parsing 2025-07-23 14:59:51 +03:00
9df1593de9 Fix decimal parsing, add u128-support for integer parsing 2025-07-22 23:20:38 +03:00
5c5c9c5f7b Improve error for statement-failure 2025-07-22 20:54:06 +03:00
1224c612c7 Codegen & compile char, change *str to *char 2025-07-22 15:07:33 +03:00
9b9398ac26 Add lexing of escaped characters, add parsing of characters 2025-07-22 14:57:09 +03:00