Commit Graph

63 Commits

Author SHA1 Message Date
2e7b5b7480 Call methods inside objects 2026-04-11 12:03:10 +10:00
1cf995f7ac Fixes for structs 2026-04-10 19:38:26 +10:00
16569d7355 Struct member writing 2026-04-10 14:57:01 +10:00
fd08b7cdb7 Struct field access (slightly buggy) 2026-04-10 10:14:23 +10:00
5841a7a999 Parse object member access 2026-04-10 10:00:24 +10:00
a2fc138ba1 'new' keyword 2026-04-09 19:00:40 +10:00
9b55b509f5 Fix struct interaction with type system 2026-04-09 17:13:51 +10:00
f694f50d70 Fix struct parsing 2026-04-09 17:13:13 +10:00
5b61a11f00 Codegen for structs 2026-04-09 16:04:53 +10:00
00d6ed83fb Parse structs 2026-04-09 15:39:17 +10:00
6988f314b0 Parse exprs in parens 2026-04-09 11:43:00 +10:00
70dc5eb5a0 Parse expressions in parens (3 + 2) * 4 2026-04-09 10:38:58 +10:00
1e3bd6c601 Division no longer becomes subtraction 2026-04-09 10:17:37 +10:00
631b587d07 Fix a load of stuff 2026-03-07 16:26:54 +11:00
41a2fa53c6 Start work on WASM compatibility, lambda fix 2026-03-06 09:24:16 +11:00
00ef8a7d56 Type parser 2026-03-05 19:32:31 +11:00
f1eee4f6a8 Command line argument parsing 2026-03-04 12:25:59 +11:00
cfca3c1d7a Lambdas now capture state 2026-03-03 08:00:00 +11:00
38473f0e01 Friendship ended with C++, C is my new best friend 2026-03-01 16:00:03 +11:00
142268c016 Output ground files as executable 2026-01-28 18:58:39 +11:00
6002bd922b (BREAKING) "use" keyword, stdlib seperate 2026-01-28 17:03:40 +11:00
4b86fee7b5 Object field assignment 2026-01-28 14:56:36 +11:00
d12036fe70 Fix type issues with struct access 2026-01-27 21:30:50 +11:00
59e273b26e Member access (no writing yet) 2026-01-27 21:12:09 +11:00
e285b2c59f Use new to create an object from a struct 2026-01-27 14:10:57 +11:00
e3abe07f4b Add intToString() and stringToInt() functions 2026-01-27 12:19:26 +11:00
010d155f5d Start work on structs 2026-01-25 17:40:07 +11:00
c82f81f668 Compilation with ground->asm 2026-01-21 16:26:17 +11:00
6d5d29f05b Use inbuilt stdlib instead of hard coded functions 2026-01-12 16:18:59 +11:00
48c130351a Fix indentation 2026-01-12 15:43:18 +11:00
6bc483b1db Inline ground 2026-01-12 15:24:37 +11:00
c5b67bff72 Function calling fix 2026-01-12 14:45:07 +11:00
ca8db171d9 Type checking for functions 2025-12-29 10:30:07 +11:00
c266728ff0 make function calling better 2025-12-28 13:49:05 +11:00
b46a66cea7 Partially working function calling 2025-12-28 13:41:05 +11:00
337b88c148 Fix function calling bug 2025-12-26 13:50:14 +11:00
d8812fa14e Refactor type system, print all errors in file 2025-12-26 13:28:47 +11:00
24ea348858 Fix clang builds 2025-12-25 22:42:25 +11:00
9a311c3cb8 Better errors, comments 2025-12-25 22:37:40 +11:00
aa5ef0e664 Operator precedence I think 2025-12-24 22:01:16 +11:00
7ff306b9e8 Some math (no order of operations yet) 2025-12-24 16:22:51 +11:00
ac7f22e1bc Continue type checker work 2025-12-24 14:31:43 +11:00
5ec2f86b70 Start work on static type checking 2025-12-24 13:16:11 +11:00
43310c70bf Clean up temporary variables properly 2025-12-22 19:38:06 +11:00
957e0fd95a Start work on dropping tmp vars after use 2025-12-22 14:26:12 +11:00
525b2bc733 Add >, >=, <, <= 2025-12-22 13:49:44 +11:00
d2f295f46a refactor 2025-12-21 12:06:55 +11:00
869f71466e Add argument parser, output files 2025-12-21 11:42:18 +11:00
a3a9553189 Function calling and input() builtin 2025-12-20 20:25:48 +11:00
72ec9c1fb6 Fixes, rebrand 2025-12-20 15:09:09 +11:00