public static void Main(string[] args) { string kaynakKodu = File.ReadAllText("kaynak.txt"); Lexer l = new Lexer(kaynakKodu); TokenListesi tl = l.TokenListesiAl(); List <Durum> agac = new Parser(tl).AgacAl(); }
public Parser(TokenListesi tl) { this.tl = tl; parseEt(); }