Commit Graph

22 Commits

Author SHA1 Message Date
1a5e3ef1d9 Add loops ast -> mir 2025-07-23 20:29:13 +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
8954d1a6d0 Add binop_hint 2025-07-22 23:14:38 +03:00
ef427f5e58 Fix checking that parameters and return-type is known 2025-07-22 22:29:00 +03:00
0a90ac4497 Fix inner block generation 2025-07-22 22:15:34 +03:00
28437aecb6 Fix indexing return type and casting to and from a char 2025-07-22 20:03:25 +03:00
3d73c52cb4 Fix casting within setters 2025-07-22 19:31:35 +03:00
e9bca63f0d Add module id to CustomType, String to std 2025-07-22 16:16:46 +03:00
1224c612c7 Codegen & compile char, change *str to *char 2025-07-22 15:07:33 +03:00
e220900ac3 Start adding chars 2025-07-22 14:44:28 +03:00
104205ee5d Type-infer and check typecasting 2025-07-22 13:24:53 +03:00
3378f556ec Add AST -> MIR for typecasting 2025-07-21 21:28:39 +03:00
069c277516 Update String to be *str 2025-07-21 19:32:40 +03:00
3d3a9a34f9 Fix binary operators for floats, make library functions extern 2025-07-21 17:32:20 +03:00
ec0c7fa194 Fix float coersion rules 2025-07-21 16:53:29 +03:00
7c7dde03f9 Fix error reporting on No-Main-Function and add fp compilation 2025-07-21 16:44:16 +03:00
b23577aa18 Check for trivial expressions that they are >0 when unsigned 2025-07-21 15:44:47 +03:00
9db508bd9c Change user-space pointer to different type 2025-07-21 13:52:37 +03:00
a49105b07a Add typecheck/infer for pointers 2025-07-21 13:29:19 +03:00
1fadaa60f2 Add mutability compatibility check to borrows 2025-07-21 10:33:37 +03:00
74ce296a05 Refactor a bit 2025-07-21 10:29:26 +03:00