Add translator source generator

This commit is contained in:
2025-05-15 21:03:35 +02:00
parent a25cbd6dde
commit 871f46b996
11 changed files with 686 additions and 127 deletions

View File

@@ -0,0 +1,15 @@
namespace PoyoLang.Translator.SourceGenerator;
public class Node
{
public char Letter { get; }
public string Target { get; }
public List<Node> Nodes { get; } = [];
public Node(char letter, string target)
{
Letter = letter;
Target = target;
}
}