Add .idea to gitignore and prep return value types Add middleend module

for AST return value tracking

The changes introduce support for tracking return values and labels
across AST nodes. The key changes include:

- Adding ReturnValue type to BaseValue - Adding return_type field to
LoxFunction - Adding label field to Block statements - Creating
middleend crawler module for AST traversal Add return value types to AST

This accurately captures both changes: adding `.idea/` to gitignore and
adding return value types to the AST structure. The changes include
adding return value fields to statement nodes and adjusting the
interpreter logic accordingly.
This commit is contained in:
Giulio Agostini
2025-10-10 10:18:02 +02:00
parent c1ecd7d1f7
commit 07cedc27bf
10 changed files with 331 additions and 64 deletions
+1
View File
@@ -0,0 +1 @@
pub mod crawler;