Commit Graph

673 Commits

Author SHA1 Message Date
7b4f38406d Add some initial documentation support for functions 2025-08-14 16:28:33 +03:00
9e37ae7aac Re-add equals for floats 2025-08-14 14:40:14 +03:00
3e0367fb1e Disallow == between floats 2025-08-13 12:54:41 +03:00
685520a6cf Fix floating-point modulo 2025-08-13 12:47:50 +03:00
0203213b28 Fix a bunch of errors in reid-llvm-lib 2025-08-12 21:21:10 +03:00
c23160bc32 Fix inconsitent multiple typedefs 2025-08-12 21:02:32 +03:00
fe6fe6c435 Fix linker setting types as dependencies when they are also dependencies 2025-08-12 20:47:27 +03:00
3e85ed2705 Remove unnecessary dbg! 2025-08-12 20:35:28 +03:00
d50a748884 Add contributes breakpoints 2025-08-08 16:20:22 +03:00
c44d588b30 Fix a1.reid 2025-08-08 16:01:26 +03:00
0e23ab4636 Add back a type in linker that I thought unnecessary 2025-08-07 21:40:57 +03:00
ce2473a715 Add is_null to documentation 2025-08-07 21:33:50 +03:00
1a8535516c Add nullptr comparison 2025-08-07 21:32:30 +03:00
e1ac019ecd Fix codegen typedef sorting, again, oops 2025-08-07 18:43:21 +03:00
82b67dfaaa Fix typedef ordering in codegen 2025-08-06 22:01:28 +03:00
a5c7823a29 Resolve types recursively instead of just on-surface 2025-08-06 21:36:33 +03:00
3dba4a79ff Move one type resolution to a better place 2025-08-06 21:04:31 +03:00
2a8842658d Fix linker type importing 2025-08-06 21:01:05 +03:00
8d32f2bbad Add a lot more references to types in places 2025-08-05 23:57:45 +03:00
0ee9d3bf7d Fix linker type-replacement for imported functions 2025-08-05 22:23:57 +03:00
1dd4bbbb05 Fix lsp compilation problem 2025-08-05 22:04:02 +03:00
8cbc65422e Fix more warnings 2025-08-05 22:03:14 +03:00
3cd4121951 Fix linker cyclical fields checker 2025-08-05 22:02:19 +03:00
c84954480b Fix loads of warnings 2025-08-05 22:00:11 +03:00
67106ea17b Fix struct gep naming in LLVM 2025-08-05 21:57:07 +03:00
015c111b29 Fix modules needing to be evaluated in order in codegen 2025-08-05 21:55:04 +03:00
aad3c93068 Fix imports not setting their importer-value correctly 2025-08-05 21:45:40 +03:00
1ba0de442a Fix linker working with recursive imports 2025-08-05 21:03:53 +03:00
1c3386bc9a Fix triple-importing 2025-08-04 23:46:46 +03:00
8a178387ca Allow initializing foreign structs as well 2025-08-04 22:33:06 +03:00
b93b7aa52b Fix struct fields not being linked correctly for foreign types 2025-08-04 22:24:03 +03:00
1275063dc2 Pass associated functions as well as functions 2025-08-04 22:09:26 +03:00
02522dd36d Fix typechecker crashing unexpectedly with vague type 2025-08-04 21:18:14 +03:00
5b7c3d5b3a Cleanup 2025-08-04 21:14:32 +03:00
70a968d7a0 Add sqrt 2025-08-04 19:48:14 +03:00
a9d5a4d03b Fix token ranges for for-loops 2025-08-04 18:37:19 +03:00
11d93e4adf Fix length-intrinsic 2025-08-04 18:12:01 +03:00
c2f6cfb8e6 Update intrinsics documentation 2025-08-04 18:02:28 +03:00
34612e98ce Add documentation about memcpy-intrinsic 2025-08-04 17:52:03 +03:00
3b4835cff8 Fix and add memcpy-intrinsic 2025-08-04 17:51:32 +03:00
627d1bcfa5 Add a large amount of new intrinsics 2025-08-04 17:51:32 +03:00
ae6796acfc Fix calling convention for integers/real-numbers 2025-08-04 17:51:32 +03:00
5d19d38682 Add intrinsic min/max to integers and floats 2025-08-04 17:51:32 +03:00
4a33e7d123 Fix binop parsing from last commit 2025-08-04 17:51:32 +03:00
79ecb3b9ba Fix token-ranges for derefs and binop rhs 2025-08-04 14:30:36 +03:00
28157ae4b8 Bump version numbers 2025-08-04 00:43:13 +03:00
8d27a6e7bd Fix reference-linking for local functions 2025-08-04 00:41:44 +03:00
136e9f9d1f Update readme 2025-08-04 00:21:10 +03:00
8e41deb653 Add compile-on-save 2025-08-04 00:13:10 +03:00
766a853b48 Add refactoring and go-to-definition for multifile 2025-08-04 00:07:31 +03:00