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 |
|
Krzosa Karol
|
43fe057cf4
|
Fixing fallout from temporary solution to field access
|
2022-06-10 19:31:59 +02:00 |
|
Krzosa Karol
|
89b3e00ae4
|
Closer to old state
|
2022-06-10 14:08:27 +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
|
2ec901f6da
|
Big renames
|
2022-06-09 14:22:04 +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
|
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
|
ec89defb5d
|
Fix type complete not called properly
|
2022-06-07 15:54:39 +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
|
a59283903b
|
Add var args for using printf
|
2022-06-07 11:16:30 +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
|
d3da979d64
|
More for loop variations working
|
2022-06-06 23:55:44 +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
|
d042251c21
|
Bit Negating now works properly for different types
|
2022-06-06 17:14:42 +02:00 |
|
Krzosa Karol
|
dc56bd54f3
|
Managing bigint memory
|
2022-06-06 16:49:41 +02:00 |
|
Krzosa Karol
|
06d6ec7525
|
Working on casts
|
2022-06-06 13:24:01 +02:00 |
|
Krzosa Karol
|
4f876a36a4
|
Switched to bigint in lexer
|
2022-06-06 10:00:53 +02:00 |
|
Krzosa Karol
|
960523b443
|
Remove int uint, all programs compiling
|
2022-06-06 09:36:37 +02:00 |
|
Krzosa Karol
|
6157325d8f
|
Compiling with new untyped system
|
2022-06-06 08:56:03 +02:00 |
|
Krzosa Karol
|
968a6ac708
|
Researching 128bit integers
|
2022-06-05 12:12:54 +02:00 |
|
Krzosa Karol
|
a73b12d54d
|
Add big int file
|
2022-06-04 09:34:43 +02:00 |
|
Krzosa Karol
|
f3527be36a
|
Add unicode literal
|
2022-06-04 09:27:59 +02:00 |
|
Krzosa Karol
|
c3f235bd44
|
Cleanup
|
2022-06-04 09:12:27 +02:00 |
|
Krzosa Karol
|
a324a5abf0
|
Compiling and running first program!
|
2022-06-03 23:15:16 +02:00 |
|
Krzosa Karol
|
5e798bd179
|
Add string accessors, working towards first program
|
2022-06-03 21:59:51 +02:00 |
|
Krzosa Karol
|
42699034ae
|
Got all programs working, now adding unary not and neg
|
2022-06-03 17:58:20 +02:00 |
|
Krzosa Karol
|
25820a0c5b
|
More work on types
|
2022-06-03 16:06:33 +02:00 |
|
Krzosa Karol
|
7e4b9777e6
|
Cleanup
|
2022-06-03 12:07:17 +02:00 |
|
Krzosa Karol
|
081e559520
|
Basic type conversion when assigning, added + - unary
|
2022-06-03 10:48:07 +02:00 |
|
Krzosa Karol
|
e2e684294e
|
Add bool values to parser, and bool nodes to ast
|
2022-06-02 23:48:03 +02:00 |
|
Krzosa Karol
|
2909214ee0
|
Add floats
|
2022-06-02 22:52:16 +02:00 |
|
Krzosa Karol
|
a416007bba
|
AST_INT, AST_STR to AST_VALUE
|
2022-06-02 22:37:42 +02:00 |
|
Krzosa Karol
|
ebb21df015
|
Before adding untyped types
|
2022-06-01 21:38:39 +02:00 |
|
Krzosa Karol
|
494a937d1f
|
Rewritten the expression parser, tldr that '.' is actually right associative binary operator, I brain farted really hard this time
|
2022-06-01 18:59:38 +02:00 |
|