Commit Graph

22 Commits

Author SHA1 Message Date
baa7bafafc Add length-intrinsic 2025-07-29 01:15:09 +03:00
30257e1a2b Add global api support for llvm-lib 2025-07-28 23:20:13 +03:00
3d8f4bbd24 Implement macro-pass 2025-07-28 22:37:24 +03:00
67a5fcd002 Basically revert everything, create macro-pass 2025-07-28 22:11:46 +03:00
2e153922f1 Start adding macros 2025-07-28 21:54:51 +03:00
89850d7b4f Change intrinsic alloca to malloc and actually use libc malloc 2025-07-28 21:22:15 +03:00
13be3e9c02 Namespace all functions, except those that are explicitly extern 2025-07-28 21:13:53 +03:00
5026013df3 Add intrinsic malloc, use that in alloca 2025-07-28 20:46:58 +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
8e71c6a47d Fix nullptr type 2025-07-28 01:47:43 +03:00
dc360ef196 Implement importing of associated functions with types 2025-07-27 23:28:24 +03:00
7b27f30b9e Implement builtin associated alloca and nullptr 2025-07-27 20:46:17 +03:00
537167fe4f Add intrinsic associated functions 2025-07-27 19:55:28 +03:00
46668b7099 Fix a bunch of warnings 2025-07-27 18:11:18 +03:00
0196fb53ed Import binops while importing types as well 2025-07-26 13:18:55 +03:00
c466b8eb2a Fix everything except for casts 2025-07-25 22:21:11 +03:00
63f48f7df9 Implement a bunch of intrinsic binops 2025-07-25 18:48:16 +03:00
7ba3204803 Implement typechecking and inference logic for binops 2025-07-25 18:10:22 +03:00
6ee43d4012 Refactor stuff into codegen-module 2025-07-25 15:52:52 +03:00