Commit Graph

50 Commits

Author SHA1 Message Date
Krzosa Karol
3d438645a0 Polymorphs nested structs 2023-04-01 14:31:41 +02:00
Krzosa Karol
7674984f4a Propagate polymorph to declaration 2023-04-01 12:20:44 +02:00
Krzosa Karol
96d87390bc Propagate polymorphic to lambda 2023-04-01 12:16:38 +02:00
Krzosa Karol
db3790016d Polymorphs, recursice typespec tagging 2023-04-01 10:11:12 +02:00
Krzosa Karol
5fb4999ca8 Polymorphs 2023-04-01 09:28:35 +02:00
Krzosa Karol
b2e8012afa Change name Scratch_Scope to Scoped_Arena 2023-03-31 17:39:00 +02:00
Krzosa Karol
277404fe95 Iterator + start to add core to core codegen 2023-03-31 17:38:32 +02:00
Krzosa Karol
aaf1b2f2d9 Cleanup + little polymorph + ast_copy 2023-03-31 08:19:26 +02:00
Krzosa Karol
21c8ceff03 Baby steps struct polymorphs 2023-03-29 21:36:26 +02:00
Krzosa Karol
58a46b46e6 cleanup notes 2023-03-29 21:35:53 +02:00
Krzosa Karol
9b91f77cf0 Union type sizing and code generation 2023-03-29 09:52:24 +02:00
Krzosa Karol
b572f4ef7c Parsing union 2023-03-29 09:34:33 +02:00
Krzosa Karol
fa26e9d218 Factor 2023-03-29 09:27:38 +02:00
Krzosa Karol
5495f96b3b Clang format 2023-03-28 21:16:10 +02:00
Krzosa Karol
7370e8b716 Using arena as token array, remove arenas idea 2023-02-09 12:36:36 +01:00
Krzosa Karol
aa994c999a Get rid of clib in big int, introduce message api, add stringify message 2023-01-01 19:51:35 +01:00
Krzosa Karol
ec66f02e46 Cleanup iterators, remove logging, add message queue 2023-01-01 19:18:42 +01:00
Krzosa Karol
d6a5df8d95 Cleanup iterators 2023-01-01 17:44:27 +01:00
Krzosa Karol
d120d05eee Move types to Core_Ctx 2023-01-01 16:27:42 +01:00
Krzosa Karol
34928e3977 Move interns into Core_Ctx 2023-01-01 14:23:59 +01:00
Krzosa Karol
647958b72d Getting rid of globals 2023-01-01 14:17:37 +01:00
Krzosa Karol
c5539276ae Working on simplifying configurable allocation scheme 2023-01-01 12:40:58 +01:00
Krzosa Karol
23db7cc5c4 Add Core compiler interface 2022-12-31 14:47:47 +01:00
Krzosa Karol
f50e7b5250 Errors work better with sublime 2022-10-13 08:18:50 +02:00
Krzosa Karol
2c53693754 CORE_Static 2022-10-11 13:04:35 +02:00
Krzosa Karol
4004b8b8d3 Fixed leaky imports, modified log stuff 2022-10-11 10:20:18 +02:00
Krzosa Karol
9ad2da03c8 Load is file relative not module relative 2022-10-09 15:20:53 +02:00
Krzosa Karol
54426fdd69 F32 is default float, operator overloads turn literals into default types 2022-10-09 14:51:27 +02:00
Krzosa Karol
0049b39e17 link directive 2022-10-09 14:00:41 +02:00
Krzosa Karol
b22e1ac0db Removing heap allocations, Porting to Unix 2022-10-09 10:34:23 +02:00
Krzosa Karol
15e4ebd682 Added conditional compilation and Const namespace with OS name 2022-10-08 10:02:50 +02:00
Krzosa Karol
0010b92ef1 Load cannot be namespaced anymore due to weird namespace behaviour that this creates.
I need to add a way to import but force evaluation of everything in the future to make
that up.
2022-10-06 14:24:29 +02:00
Krzosa Karol
0646ae9279 Var args sort of working, but I feel like all this stuff will need to get yanked out
or tested and refactored
2022-09-30 22:33:47 +02:00
Krzosa Karol
b17027f431 Massaging error messages 2022-09-30 13:41:22 +02:00
Krzosa Karol
4ca3ab95df Bulletproofing operator overloads using generated data 2022-09-30 13:36:48 +02:00
Krzosa Karol
62faf8a78c Less heap more List 2022-09-30 12:33:58 +02:00
Krzosa Karol
0a7fe8caad Moving more code to list 2022-09-30 09:52:54 +02:00
Krzosa Karol
cf619c2ea3 Introducing List and changes in base 2022-09-30 09:40:56 +02:00
Krzosa Karol
37489b2730 Operator overloads for unary expressions 2022-09-29 17:36:15 +02:00
Krzosa Karol
9ee22abbd2 Misc 2022-09-29 17:10:56 +02:00
Krzosa Karol
27ed000800 Resolving operator overloads functions 2022-09-29 14:27:37 +02:00
Krzosa Karol
7ce3871a9e Parsing operator overloads 2022-09-29 14:16:44 +02:00
Krzosa Karol
5f11a11f0f Change the decl searching api while figuring out how to implement
function overloading
2022-09-29 12:04:21 +02:00
Krzosa Karol
681b3c1f95 Comments 2022-09-28 17:15:22 +02:00
Krzosa Karol
0050abe190 Fix error where it would show wrong function in error 2022-09-28 10:49:48 +02:00
Krzosa Karol
f388e3f915 Begin raymarcher example and math module, fixing parsing bugs 2022-09-27 22:42:46 +02:00
Krzosa Karol
dda2252ca2 length_of align_of size_of are no longer operators but function calls 2022-09-27 13:50:30 +02:00
Krzosa Karol
60f794580c Fixing bugs, constraining syntax 2022-09-27 11:30:16 +02:00
Krzosa Karol
3dd9fae080 Disable constants inside structures 2022-09-27 10:26:33 +02:00
Krzosa Karol
03c19ddeaa Rename files 2022-08-26 21:54:02 +02:00