Add support for maps

This commit is contained in:
Stone_Red
2026-08-07 23:36:02 +02:00
parent 4626b5a7fa
commit 7d645f3c6e
6 changed files with 613 additions and 4 deletions
@@ -17,6 +17,9 @@ internal class FunctionScope(int callerLine, Stack<string> arguments)
/// <summary>Gets the local list table for this function invocation.</summary>
public Dictionary<string, List<string>> Lists { get; } = [];
/// <summary>Gets the local map table for this function invocation.</summary>
public Dictionary<string, Dictionary<string, string>> Maps { get; } = [];
/// <summary>Gets the local label table for this function invocation.</summary>
public Dictionary<string, int> Labels { get; } = [];