Commit Graph

21 Commits

Author SHA1 Message Date
Krzosa Karol
bcd825c154 New concept of AST_MODULE, Ast_File and Ast_Module are now both scopes.
Concept of loading and importing.
2022-06-13 13:39:31 +02:00
Krzosa Karol
8bd5e9638f More module work 2022-06-13 12:01:28 +02:00
Krzosa Karol
b0553c38cf New module scheme 2022-06-13 10:49:10 +02:00
Krzosa Karol
31c2c00452 Rearrange # flags, Add Windows.kl 2022-06-12 19:41:31 +02:00
Krzosa Karol
cd29798c1d AST_STRICT for type aliases 2022-06-12 13:09:37 +02:00
Krzosa Karol
526967abbd token_match_pound 2022-06-12 12:14:15 +02:00
Krzosa Karol
3b4e14a089 Squashing compound bugs 2022-06-11 09:59:03 +02:00
Krzosa Karol
bcddf7f721 Unify call and compound but have different kinds 2022-06-10 23:45:02 +02:00
Krzosa Karol
7365d6aa88 Basic compound parsing, maybe I should unify with calls again 2022-06-10 23:03:21 +02:00
Krzosa Karol
cf1237f449 Fix big casting bug in CALL, euler.kl is working now too 2022-06-10 22:51:32 +02:00
Krzosa Karol
37e56a0914 Compiling global, work on AST_LAMBDA_EXPR 2022-06-10 22:06:35 +02:00
Krzosa Karol
9b03147099 Enum members have const syntax, enum members gen S64 type by default, 2022-06-10 21:36:36 +02:00
Krzosa Karol
decab135b8 Referencing other packages works!! 2022-06-10 19:25:57 +02:00
Krzosa Karol
ab663d0b01 Getting packages out of resolve_name 2022-06-10 17:07:58 +02:00
Krzosa Karol
6ad5f4e706 Nicer error messages 2022-06-10 16:26:26 +02:00
Krzosa Karol
e2d07923c8 Add parent_scope on all nodes 2022-06-10 16:12:47 +02:00
Krzosa Karol
89b3e00ae4 Closer to old state 2022-06-10 14:08:27 +02:00
Krzosa Karol
d5d9911f3e More work on packages 2022-06-10 11:05:08 +02:00
Krzosa Karol
b0077fe9df Basic resolving, codegen with packages 2022-06-10 10:35:10 +02:00
Krzosa Karol
fbe911d267 Complete rework, adding packages 2022-06-09 21:30:52 +02:00
Krzosa Karol
4edd2a4799 Big renames, prepare for scope changes 2022-06-09 17:45:30 +02:00