feat: temporary grammar
This commit is contained in:
@@ -2,12 +2,15 @@
|
||||
|
||||
using System.Text;
|
||||
using InkBlot;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
var loggerFactory = LoggerFactory.Create(builder => builder.AddConsole());
|
||||
|
||||
var parser = new InkBlotParser();
|
||||
parser.Parse(new PreMadeFileReader(new Dictionary<string, string>
|
||||
InkBlotParser.Parse(new PreMadeFileReader(new Dictionary<string, string>
|
||||
{
|
||||
{ "main.ink", "Hel-\\lo!" }
|
||||
}), "main.ink");
|
||||
}), loggerFactory, "main.ink");
|
||||
|
||||
|
||||
internal class PreMadeFileReader(Dictionary<string, string> filesToContents) : IFileReader
|
||||
|
||||
Reference in New Issue
Block a user