Added errorOutput to interpreter, moved builtin functions to their own file

This commit is contained in:
2022-09-04 15:15:30 +01:00
parent 22af1edb1d
commit ae270008b0
7 changed files with 551 additions and 506 deletions

View File

@@ -30,6 +30,9 @@ DONE: Address circular references
TODO: are compounds shallow or deep copies? Deep copies
TODO: third output stream, for lexer/parser/compiler/interpreter errors
TODO: slice and dot notation around the _index function
TODO: ternary operator
TODO: Nullish types
@@ -39,7 +42,6 @@ TODO: Assertion-based test scripts
TODO: standard library
TODO: external runner library
TODO: document how it all works
TODO: third output stream, for parser/compiler/interpreter errors
TODO: better and more consistent error messages
TODO: maximum recursion/function depth