|
023d3b75b6
|
Add flags and cpu to options that are configurable
|
2025-07-25 00:28:58 +03:00 |
|
|
a09bccb255
|
Add hexadecimal numerics
|
2025-07-24 21:24:17 +03:00 |
|
|
436ab319b8
|
Add intrinsic binops
|
2025-07-24 16:01:23 +03:00 |
|
|
89002f34e4
|
Add function double-definition checking
|
2025-07-24 12:13:34 +03:00 |
|
|
954f3438d3
|
Codegen intrinsics
|
2025-07-24 11:56:44 +03:00 |
|
|
5ff5651f5f
|
Work on intrinsics, clean up code a bit
|
2025-07-24 11:29:58 +03:00 |
|
|
3404f0fb6e
|
Add static allocator, fix loop_hard
|
2025-07-24 03:29:02 +03:00 |
|
|
ef4964ed86
|
Add parsing for for/while loops
|
2025-07-23 20:14:35 +03:00 |
|
|
1a65b4085f
|
Add LDRunner
|
2025-07-23 18:57:56 +03:00 |
|
|
4de346e3c0
|
Make tests also codegen correctly
|
2025-07-23 16:33:12 +03:00 |
|
|
efeefe0bfe
|
Add scaffolding to return some errors from codegen
|
2025-07-23 16:06:05 +03:00 |
|
|
b39b829061
|
Add production of .llir and .mir -files for LLIR and MIR
|
2025-07-22 23:32:32 +03:00 |
|
|
bbdfae081d
|
Fix std Strings
|
2025-07-22 19:50:54 +03:00 |
|
|
f35f1ef701
|
Repurpose module map and rename old to ErrorModules
|
2025-07-22 17:34:01 +03:00 |
|
|
3d3a9a34f9
|
Fix binary operators for floats, make library functions extern
|
2025-07-21 17:32:20 +03:00 |
|
|
a1507e14ca
|
Add flag to ignore no-main-error
|
2025-07-21 16:47:51 +03:00 |
|
|
1ba1ae3213
|
Try add some display for LLIR
|
2025-07-21 12:07:42 +03:00 |
|
|
a62f9db422
|
Get static arrays actually working alone
|
2025-07-20 19:23:42 +03:00 |
|
|
575abe8172
|
Make passes actually return errors well
|
2025-07-20 15:25:21 +03:00 |
|
|
0c6d9885ec
|
Add debug information compilation for subprograms and their parameters
|
2025-07-18 15:44:12 +03:00 |
|
|
292688a840
|
Fix some warnings
|
2025-07-17 20:26:01 +03:00 |
|
|
6dfd98eba3
|
Use true source for error formatting
|
2025-07-17 19:34:54 +03:00 |
|
|
9d1b18f083
|
Add FullToken array to error raporting
|
2025-07-17 17:44:18 +03:00 |
|
|
ce7c4bfb52
|
Improve error raporting futher significantly
|
2025-07-17 17:15:57 +03:00 |
|
|
f0e47a5d57
|
Attempt to significantly improve error-raporting
|
2025-07-17 16:47:10 +03:00 |
|
|
64e34ecf13
|
Add module_id for modules and metadata
|
2025-07-17 14:56:41 +03:00 |
|
|
7075b6f73f
|
Update order of prints
|
2025-07-15 23:18:01 +03:00 |
|
|
1acaa29a12
|
Fix module scopes being linked
|
2025-07-15 20:09:33 +03:00 |
|
|
bcad9b57fe
|
Make the compiler produce .o/.asm/.ll according to input file name
|
2025-07-15 00:25:17 +03:00 |
|
|
5b5ec48b8d
|
Put all debug prints behind debug-assertions
|
2025-07-14 23:43:03 +03:00 |
|
|
0e5f12e0e2
|
Update README
|
2025-07-14 22:57:33 +03:00 |
|
|
587aa1d7f2
|
Fix warnings
|
2025-07-14 22:56:31 +03:00 |
|
|
1e759d49c7
|
Fix issue in type-inference pass about function params not registering
|
2025-07-14 22:55:43 +03:00 |
|
|
5acd1624fd
|
Move test to inside-executable, and add tests that test it compiles
|
2025-07-14 22:52:30 +03:00 |
|
|
fa4df50a04
|
Fix linking so that non-imported functions don't bother main-module
|
2025-07-14 22:22:55 +03:00 |
|
|
2b47c4efc7
|
Make linking modules together work, fix printing modules
|
2025-07-14 21:10:13 +03:00 |
|
|
848347e4a8
|
Add importer pass, make importer import module properly
|
2025-07-14 20:35:58 +03:00 |
|
|
a71843dfe9
|
Implement import-pass
|
2025-07-14 20:13:30 +03:00 |
|
|
1173e17fe6
|
Update TODO-list
|
2025-07-14 17:57:34 +03:00 |
|
|
b64cdc4c71
|
Fix if-statement block return type evaluation
|
2025-07-14 17:17:48 +03:00 |
|
|
c2a087785e
|
Update README and lib docs
|
2025-07-14 02:28:01 +03:00 |
|
|
515c031f19
|
Finish type checking and inferrence for arrays
|
2025-07-13 20:15:03 +03:00 |
|
|
92736e392e
|
Refactor Type Hints -> Type Refs
|
2025-07-13 15:58:19 +03:00 |
|
|
f3f47831e9
|
Split type inference to it's very own pass
|
2025-07-13 15:55:14 +03:00 |
|
|
d757ac4eb3
|
Fiddle around with if-expression codegen
|
2025-07-09 21:12:39 +03:00 |
|
|
c50474cc8e
|
Update README.md
|
2025-07-09 20:27:12 +03:00 |
|
|
50f5f3cc70
|
Update lib.rs docs
|
2025-07-09 20:16:52 +03:00 |
|
|
f7fa69fbe2
|
Add docs to lib.rs
|
2025-07-09 20:13:16 +03:00 |
|
|
9710d17e00
|
Add a bunch of documentation
|
2025-07-09 20:01:24 +03:00 |
|
|
d5daaa0e87
|
Improve Debug and Display implementations
|
2025-07-09 18:47:40 +03:00 |
|