Krzosa Karol
|
37750908aa
|
Update todo, some python codegen
|
2022-06-24 10:07:37 +02:00 |
|
Krzosa Karol
|
25fffae7e0
|
Add operation works!
|
2022-06-23 12:48:40 +02:00 |
|
Krzosa Karol
|
a36747bc9c
|
Change error printing to use colors, enable colors on windows cmd, print bytecode instruction line
|
2022-06-22 18:14:43 +02:00 |
|
Krzosa Karol
|
cd48253e3e
|
Register stuff cleanup
|
2022-06-22 16:16:02 +02:00 |
|
Krzosa Karol
|
1ac066c0b6
|
Rename file
|
2022-06-22 14:45:37 +02:00 |
|
Krzosa Karol
|
de159fc7d9
|
Prepare before typing the untyped
|
2022-06-22 10:07:23 +02:00 |
|
Krzosa Karol
|
eee9e24cfc
|
Reworking VM into infinite stack machine
|
2022-06-21 23:13:07 +02:00 |
|
Krzosa Karol
|
2c3a8dc764
|
Begin to codegen bytecode instructions
|
2022-06-21 15:49:39 +02:00 |
|
Krzosa Karol
|
3f384a60ec
|
Adding debug logging to interpreter
|
2022-06-21 13:35:20 +02:00 |
|
Krzosa Karol
|
5a8f36b16a
|
Bytecode interpreter init
|
2022-06-20 19:27:22 +02:00 |
|
Krzosa Karol
|
4e288dcfab
|
Cleaning up parsing / typechecking of calls slightly, adding any vargs
|
2022-06-20 09:28:38 +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
|
071a8de6a4
|
Compiling with Type_Info
|
2022-06-18 23:32:34 +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
|
8ead876d90
|
Before adding Any type
|
2022-06-18 14:38:53 +02:00 |
|
Krzosa Karol
|
499faac256
|
Add error messages when file not found + error position
|
2022-06-18 09:58:48 +02:00 |
|
Krzosa Karol
|
3ba8bd08fb
|
Stage arena is not a sub
|
2022-06-18 09:53:40 +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
|
218ca7266a
|
Add routine for getting proper typename
|
2022-06-17 10:58:12 +02:00 |
|
Krzosa Karol
|
ed017c79a5
|
void pointer duck typing
|
2022-06-17 09:16:33 +02:00 |
|
Krzosa Karol
|
4f0d16e632
|
Add Var Unpack
|
2022-06-16 08:56:31 +02:00 |
|
Krzosa Karol
|
8b470fbf34
|
Squashing file write bugs
|
2022-06-15 12:11:34 +02:00 |
|
Krzosa Karol
|
7f5471de08
|
More resolved data in compound exprs, Fix invalid generation of compound exprs,
|
2022-06-14 21:41:41 +02:00 |
|
Krzosa Karol
|
58e919ef69
|
else if into elif
|
2022-06-14 21:25:02 +02:00 |
|
Krzosa Karol
|
d63a327e3e
|
Emitting proper lines and files, coding in the language!
|
2022-06-14 14:15:21 +02:00 |
|
Krzosa Karol
|
bc3d3d00ca
|
Writing to windows console through foreign calls!
|
2022-06-13 22:34:19 +02:00 |
|
Krzosa Karol
|
e73820c6f5
|
Compiling again, with double import, main and everything
|
2022-06-13 21:28:31 +02:00 |
|
Krzosa Karol
|
30f448a490
|
Fix codegen scope names
|
2022-06-13 20:35:45 +02:00 |
|
Krzosa Karol
|
2c431e3207
|
Writing more real program and squashing bugs
|
2022-06-13 20:22:40 +02:00 |
|
Krzosa Karol
|
955167ce18
|
Fixing bugs, prepending all names with context name
|
2022-06-13 18:07:17 +02:00 |
|
Krzosa Karol
|
4b16439a14
|
More work on modules, Ast_Module, Ast_File and Ast_Scope got unified
|
2022-06-13 14:04:47 +02:00 |
|
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
|
cdaf85438e
|
Package is Decl
|
2022-06-12 19:54:37 +02:00 |
|
Krzosa Karol
|
31c2c00452
|
Rearrange # flags, Add Windows.kl
|
2022-06-12 19:41:31 +02:00 |
|
Krzosa Karol
|
526967abbd
|
token_match_pound
|
2022-06-12 12:14:15 +02:00 |
|
Krzosa Karol
|
cd3098da45
|
Add char * which is supposed to work like in C and int
|
2022-06-12 11:58:36 +02:00 |
|
Krzosa Karol
|
4d6a8efd06
|
Compiling euler code with only link errors
|
2022-06-12 00:22:07 +02:00 |
|
Krzosa Karol
|
83130b130b
|
First draft for adding c string type
|
2022-06-12 00:15:19 +02:00 |
|
Krzosa Karol
|
6a612cf1b4
|
Compounds for structs
|
2022-06-11 23:48:17 +02:00 |
|
Krzosa Karol
|
68663e650a
|
Fixing codegen issues because of name resolution, invalid constants rewritten
|
2022-06-11 23:26:50 +02:00 |
|
Krzosa Karol
|
0fcdd02c5b
|
Rewritten field access, lose functionality but I'm fine with it, it's simpler now,
might need to support casting
|
2022-06-11 23:19:41 +02:00 |
|
Krzosa Karol
|
b76b9c605a
|
Compound arrays
|
2022-06-11 09:54:35 +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
|
70255c18cb
|
Enums working
|
2022-06-10 19:41:10 +02:00 |
|