Commit Graph

11 Commits

Author SHA1 Message Date
Kayne Ruse
8eefbc8a0c Added remaining opcodes to inspector
Also used some coloring for terminal outputs
2026-04-12 23:04:31 +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
547229e150 Script tests re-added, all tests can run under gdb
Also fixed a minor bug with printing, and removed the ability to
configure the parser.

Added and updated QUICKSTART.md as a quick way to get people started.

There's some broken scripts under 'scripts/' that require functions to
work properly.
2026-04-10 15:28:56 +10:00
Kayne Ruse
842f041a50 VM test is passing 2026-04-07 21:34:05 +10:00
Kayne Ruse
7408a24a12 Scope test is working 2026-04-07 20:48:32 +10:00
Kayne Ruse
09fc6d5279 Compiler test is passing 2026-04-07 20:36:58 +10:00
Kayne Ruse
f25e81cd09 Parser test is passing 2026-04-07 20:14:27 +10:00
Kayne Ruse
48072f0dd1 AST test is passing 2026-04-07 20:06:44 +10:00
Kayne Ruse
522fc3e64b Value test is passing 2026-04-07 19:44:28 +10:00
Kayne Ruse
f4ce6ad9f1 String test is passing
Note: String fragmentation is no longer supported
2026-04-07 19:22:31 +10:00
Kayne Ruse
fbb7e1bc54 WIP: Retreived the unit tests (formerly test cases)
Some of these still work, others have just been dummied out for now.

Also added tests for console colors tool, and tweaked it to work
properly.
2026-04-05 18:42:56 +10:00