mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 18:15:07 +00:00
![]() You can now throw exceptions by calling Interpreter::throw_exception(). Anyone who calls ASTNode::execute() needs to check afterwards if the Interpreter now has an exception(), and if so, stop what they're doing and simply return. When catching an exception, we'll first execute the CatchClause node if present. After that, we'll execute the finalizer block if present. This is unlikely to be completely correct, but it's a start! :^) |
||
---|---|---|
.. | ||
Heap | ||
Runtime | ||
AST.cpp | ||
AST.h | ||
Forward.h | ||
Interpreter.cpp | ||
Interpreter.h | ||
Lexer.cpp | ||
Lexer.h | ||
Makefile | ||
Parser.cpp | ||
Parser.h | ||
Token.cpp | ||
Token.h |