Implement defining functions

This commit is contained in:
2018-11-15 15:51:05 +01:00
parent 58b5a7355e
commit 07660b6c46
17 changed files with 266 additions and 16 deletions

View File

@@ -29,6 +29,8 @@ namespace Ycicle
}
var parsed = new Script(input, variables);
Console.WriteLine(parsed.PrettyPrintSyntaxTree());
if (parsed.Diagnostics.Messages.Count > 0)
{
Console.ForegroundColor = ConsoleColor.Red;