Commit Graph

7 Commits

Author SHA1 Message Date
Kayne Ruse
f9790b99ce Moved type coersion check, functions can be compared
Also updated some tagged comments
2026-04-15 15:04:54 +10:00
Kayne Ruse
e24823924a Comment tweaks 2026-04-12 15:02:07 +10:00
Kayne Ruse
c0c03a4110 Functions are working, tests incomplete
This required a massive cross-cutting rework to the scope system,
multiple subtle bugfixes and relearning of the parser internals, but it
does appear that functions are working correctly.

A few caveats: for now, parameters are always constant, regardless of
type, return values can't be specified, and some script tests have been
written.

Most importantly, a key feature is working: closures.
2026-04-12 11:52:58 +10:00
Kayne Ruse
66155fa213 Tweak, but I need a decompiler now 2026-04-10 16:19:03 +10:00
Kayne Ruse
09fc6d5279 Compiler test is passing 2026-04-07 20:36:58 +10:00
Kayne Ruse
48072f0dd1 AST test is passing 2026-04-07 20:06:44 +10:00
Kayne Ruse
57fe9bb00d WIP: Compiles but still very broken 2026-04-05 17:04:30 +10:00