Krzosa Karol
|
f189ca381e
|
Adding len() builtin and TYPE_SLICE
|
2022-06-14 09:33:46 +02:00 |
|
Krzosa Karol
|
c0253f0424
|
Add hex support
|
2022-06-13 22:14:31 +02:00 |
|
Krzosa Karol
|
e73820c6f5
|
Compiling again, with double import, main and everything
|
2022-06-13 21:28:31 +02:00 |
|
Krzosa Karol
|
8260f2cc9a
|
Fixing generated names when namespaced Windows :: #import calls and field accesses
|
2022-06-13 21:12:38 +02:00 |
|
Krzosa Karol
|
3bbe5e5c2b
|
Fixing generated names
|
2022-06-13 20:55:49 +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
|
f9487a2c24
|
New cast '->'
|
2022-06-13 15:38:54 +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
|
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
|
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
|
ac371b7203
|
Fix bug where you could have same named decls
|
2022-06-11 10:01:31 +02:00 |
|
Krzosa Karol
|
b76b9c605a
|
Compound arrays
|
2022-06-11 09:54:35 +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
|
480313b5fe
|
Delete more old code
|
2022-06-10 21:48:34 +02:00 |
|
Krzosa Karol
|
2db6722406
|
Field access codegen works, properly converts to arrows
|
2022-06-10 21:46:14 +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
|
70255c18cb
|
Enums working
|
2022-06-10 19:41:10 +02:00 |
|
Krzosa Karol
|
ab663d0b01
|
Getting packages out of resolve_name
|
2022-06-10 17:07:58 +02:00 |
|
Krzosa Karol
|
957dbbd5cc
|
Fix not top level ast's getting into ordered list. Delete parent nodes
|
2022-06-10 16:47:49 +02:00 |
|
Krzosa Karol
|
e2d07923c8
|
Add parent_scope on all nodes
|
2022-06-10 16:12:47 +02:00 |
|
Krzosa Karol
|
3402b4fe4d
|
Add DECL_TYPE
|
2022-06-10 15:05:44 +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
|
19356026fe
|
More compile timers, euler3
|
2022-06-08 10:04:34 +02:00 |
|
Krzosa Karol
|
87d6737a10
|
Working on euler using the compiler + squashing bugs
|
2022-06-08 09:53:13 +02:00 |
|
Krzosa Karol
|
5744da8899
|
Passing arrays as arguments to functions working
|
2022-06-07 21:34:02 +02:00 |
|
Krzosa Karol
|
b65a5f78bf
|
Working on arrays
|
2022-06-07 21:19:06 +02:00 |
|
Krzosa Karol
|
c69d2b7fe2
|
Language actually gets properly stepped through using debugger!
|
2022-06-07 17:53:04 +02:00 |
|
Krzosa Karol
|
9cdc5ee6c9
|
Codegen basic arrays with size attached
|
2022-06-07 17:38:15 +02:00 |
|
Krzosa Karol
|
44d26d6939
|
Can call the compiler from command line with argument
|
2022-06-07 15:27:18 +02:00 |
|
Krzosa Karol
|
d45ee5ec8a
|
Fix scope bug, fix parsing bug
|
2022-06-07 13:37:57 +02:00 |
|
Krzosa Karol
|
af5865b059
|
Working on actually making a program
|
2022-06-07 12:10:20 +02:00 |
|
Krzosa Karol
|
759825172c
|
Printf is working !!
|
2022-06-07 11:27:09 +02:00 |
|
Krzosa Karol
|
b7df759d9d
|
Add foreign functions
|
2022-06-07 09:56:19 +02:00 |
|
Krzosa Karol
|
c5b82c0532
|
Added unary ++ --, prefix and postfix, working on running a program
|
2022-06-07 09:05:02 +02:00 |
|
Krzosa Karol
|
f852a23fcb
|
Fixing bugs, pointer arithmetic checking, better for, working on first program
|
2022-06-06 23:50:38 +02:00 |
|
Krzosa Karol
|
729e7aee86
|
Fixing type checking
|
2022-06-06 22:14:30 +02:00 |
|
Krzosa Karol
|
7173557d26
|
Testing big ints
|
2022-06-06 17:00:01 +02:00 |
|