Commit Graph

25 Commits

Author SHA1 Message Date
Krzosa Karol
41d2baa56b We are working! POLYMORPHS There was an error where we have to reconstruct exact
typespec from type. This means we will probably have problems with namespaces!!
2023-04-02 15:07:47 +02:00
Krzosa Karol
7bf3e107bb Polymorphic procedure, with passed in compile time type but without removing the type in params etc. 2023-04-01 19:40:12 +02:00
Krzosa Karol
3d438645a0 Polymorphs nested structs 2023-04-01 14:31:41 +02:00
Krzosa Karol
21c9a57d96 Comments 2023-04-01 11:54:52 +02:00
Krzosa Karol
db3790016d Polymorphs, recursice typespec tagging 2023-04-01 10:11:12 +02:00
Krzosa Karol
277404fe95 Iterator + start to add core to core codegen 2023-03-31 17:38:32 +02:00
Krzosa Karol
534db633ed Untested ast iterator 2023-03-31 08:56:25 +02:00
Krzosa Karol
77bcc74a64 ast_copy 2023-03-31 08:33:09 +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
d8c80fb7a3 Add polymorph token 2023-03-29 11:42:40 +02:00
Krzosa Karol
fa26e9d218 Factor 2023-03-29 09:27:38 +02:00
Krzosa Karol
e13b4b7f25 Clang format + meta fix 2023-03-29 09:24:30 +02:00
Krzosa Karol
c97bb4272b Clang format on hpp 2023-03-29 09:11:17 +02:00
Krzosa Karol
391df593a2 Trying to do some code generation 2023-02-11 10:32:11 +01:00
Krzosa Karol
6f8a7ba6c8 Fix arrays in tuples error in C gen. Better api for getting unique name. 2023-02-10 09:04:27 +01: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
3de813212a Add todos 2023-01-01 17:50:22 +01:00
Krzosa Karol
d6a5df8d95 Cleanup iterators 2023-01-01 17:44:27 +01:00
Karol Krzosa (Nokia)
d75c54f61f Modifying the class hierarchy and removing globals, allocators, simplifying 2022-12-31 20:10:11 +01:00
Krzosa Karol
55515ff420 Introduce the allocator stuff again 2022-12-31 16:51:01 +01:00
Krzosa Karol
e20edaa3a2 You can use compiler_interface hpp outside 2022-12-31 14:53:40 +01:00
Krzosa Karol
23db7cc5c4 Add Core compiler interface 2022-12-31 14:47:47 +01:00