mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-09 16:06:08 +02:00
Add list statement support with tests for creation, access, and errors
This commit is contained in:
@@ -6,7 +6,8 @@ internal class FunctionScope(int callerLine, Stack<string> arguments)
|
||||
{
|
||||
public int CallerLine { get; } = callerLine;
|
||||
public Dictionary<string, string> Variables { get; } = [];
|
||||
public Dictionary<string, List<string>> Lists { get; } = [];
|
||||
public Dictionary<string, int> Labels { get; } = [];
|
||||
public Stack<string> Arguments { get; } = arguments;
|
||||
public Stack<string> Results { get; } = new();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user