Commit Graph

31 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
c4b27bf604 WOO YEE Basic polymorphism for untyped values, not working for typed expressions yet 2023-04-02 14:14:30 +02:00
Krzosa Karol
7203589915 Fix losing type pointer in constant type value 2023-04-02 12:53:20 +02:00
Krzosa Karol
f8e78c8ee4 Factor 2023-04-02 12:36:02 +02:00
Krzosa Karol
18c0af2b99 Factor 2023-04-02 12:33:00 +02:00
Krzosa Karol
9dfa539563 Using ForArrayRemovable 2023-04-02 12:12:21 +02:00
Krzosa Karol
9bb355ed93 core build system and array, it compiles! 2023-04-02 11:16:13 +02:00
Krzosa Karol
14c83a7c5f Small Messages 2023-04-01 20:57:44 +02:00
Krzosa Karol
7a369d801a Fix? ordered_remove in loops 2023-04-01 20:56:34 +02:00
Krzosa Karol
3c70b45be4 Fix matches list 2023-04-01 20:36:36 +02:00
Krzosa Karol
96ce6765fe unique_name sheningans 2023-04-01 20:32:29 +02:00
Krzosa Karol
e8f82f643a Cleanup compile time variables from generated code 2023-04-01 19:54:03 +02:00
Krzosa Karol
3d8dfd49fd Fix polymorph invalid resolved_decl in call 2023-04-01 19:45:04 +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
acf64024b9 Move iterator to AST 2023-04-01 11:44:49 +02:00
Krzosa Karol
9e077d4d88 Unique names for polymorphic types 2023-04-01 11:43:26 +02:00
Krzosa Karol
b14979d754 We are generating basic polymorphic types! 2023-04-01 10:30:07 +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
b6835d0f6a Copying and printing the copy 2023-03-31 22:44:11 +02:00
Krzosa Karol
e70d544029 Core printing 2023-03-31 22:28:18 +02:00
Krzosa Karol
dd61594794 Add core printer file 2023-03-31 21:43:44 +02:00
Krzosa Karol
d552716b49 Add di's to ast_copy 2023-03-31 21:40:39 +02:00
Krzosa Karol
61f8c5c825 Removing polymorph from test 2023-03-31 17:52:10 +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
1839279235 Fix iterator traversal order 2023-03-31 12:41:19 +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