Add project files.
This commit is contained in:
11
Parser/Program.cs
Normal file
11
Parser/Program.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
// See https://aka.ms/new-console-template for more information
|
||||
|
||||
using System.Text.Json;
|
||||
using Parser;
|
||||
|
||||
var bar = File.ReadAllText("kitchen.txt");
|
||||
var parser = new Parser.RecipeTranslator();
|
||||
var ast = parser.ParseReceipt(bar);
|
||||
Console.WriteLine(ASTNode.PrintNode(ast));
|
||||
Console.ReadLine();
|
||||
|
||||
Reference in New Issue
Block a user