Commit Graph

39 Commits

Author SHA1 Message Date
Krzosa Karol
02ec291ad0 Add file listing 2022-06-27 09:17:53 +02:00
Krzosa Karol
e035a3510f Tests for new untyped conversions 2022-06-22 14:15:27 +02:00
Krzosa Karol
f66b155e40 Rewriting constant casts into literals of said type 2022-06-22 14:01:15 +02:00
Krzosa Karol
79edfae55b Lot's of work on Any and Type 2022-06-19 15:28:18 +02:00
Krzosa Karol
014ef07b9f Any type initially working 2022-06-19 12:34:05 +02:00
Krzosa Karol
ade2638255 Better support for Type types, squashing bugs due to pointer confusion etc. 2022-06-19 10:18:57 +02:00
Krzosa Karol
94b820a071 Add switch case statement 2022-06-19 09:31:16 +02:00
Krzosa Karol
fc0d4345ee Working on type operations and type infos 2022-06-19 00:05:22 +02:00
Krzosa Karol
9d2ce3560b Type as value initially working 2022-06-18 23:49:47 +02:00
Krzosa Karol
523760dc0a get_type_info 2022-06-18 23:39:46 +02:00
Krzosa Karol
c85fa02750 Add a language.kl module which should contain builtin stuff 2022-06-18 19:42:59 +02:00
Krzosa Karol
649f37cb1b Generating comprehensive type infos 2022-06-18 16:24:54 +02:00
Krzosa Karol
e63dc0322a Foreign variables, exporting some of the info to the c program, compile errors though 2022-06-18 16:01:05 +02:00
Krzosa Karol
0ed4f62557 Fix #strict regression, adding Any and Type_Info 2022-06-18 15:24:54 +02:00
Krzosa Karol
3ba8bd08fb Stage arena is not a sub 2022-06-18 09:53:40 +02:00
Krzosa Karol
28f89def4b Fixing printing / memory issues, Add stage arena, printing types in errors properly 2022-06-18 09:50:34 +02:00
Krzosa Karol
f876b69779 Change precedence of casts 2022-06-18 09:21:33 +02:00
Krzosa Karol
871ff65ec2 Working on code in language, fixing bugs 2022-06-17 17:00:34 +02:00
Krzosa Karol
8f1d400b57 Work on unicode 2022-06-17 11:53:36 +02:00
Krzosa Karol
a77f0ee8fe Fix struct function ordering in c files 2022-06-17 11:46:05 +02:00
Krzosa Karol
ae62b6933e fixing compiler bugs 2022-06-17 10:35:05 +02:00
Krzosa Karol
ed017c79a5 void pointer duck typing 2022-06-17 09:16:33 +02:00
Krzosa Karol
66d7c8ca52 Switched to using memory copy in order to implement multiple returns 2022-06-16 13:16:27 +02:00
Krzosa Karol
9c58d4f116 Fixing multiple return values bugs 2022-06-16 12:48:20 +02:00
Krzosa Karol
5345894e3e Cleanup Slice and Tuple generation 2022-06-16 12:16:15 +02:00
Krzosa Karol
c604b44458 Slowly adding multiple return values 2022-06-16 11:48:47 +02:00
Krzosa Karol
2a3284f70e Window painting is working! 2022-06-16 09:51:48 +02:00
Krzosa Karol
d591cfea6f First window up in the language! 2022-06-16 09:29:47 +02:00
Krzosa Karol
8b470fbf34 Squashing file write bugs 2022-06-15 12:11:34 +02:00
Krzosa Karol
69362ba37a Go back to old precedence of casting 2022-06-15 10:56:11 +02:00
Krzosa Karol
cdeebfb8f9 Ported unicode conversions 2022-06-15 10:51:45 +02:00
Krzosa Karol
aab89ffada Add static and runtime assert 2022-06-15 10:30:33 +02:00
Krzosa Karol
e984049429 Porting unicode code 2022-06-15 10:12:40 +02:00
Krzosa Karol
43f424c414 Add handling of binary numbers 0b1001 2022-06-15 09:22:28 +02:00
Krzosa Karol
891d4304e0 Fix ordering of structs when array type appears, add more windows stuff 2022-06-15 09:08:10 +02:00
Krzosa Karol
44ee0f4351 Fix error when using default argument 2022-06-14 21:16:17 +02:00
Krzosa Karol
a4513fcdfa Fix issue where compounds had not enough type information to typecheck 2022-06-14 20:42:32 +02:00
Krzosa Karol
107c8435b7 Add ';;' operator, more windows decls 2022-06-14 20:12:52 +02:00
Krzosa Karol
e4e939ec04 Restructure 2022-06-14 14:28:29 +02:00