Lots of work on rewriting functions to allow more functionality

This commit is contained in:
2018-11-18 22:22:30 +01:00
parent dd9f5416a0
commit 860f2cc7e5
12 changed files with 203 additions and 107 deletions

View File

@@ -1,3 +1,4 @@
using System;
using Upsilon.Evaluator;
using Xunit;
@@ -104,9 +105,9 @@ return table[""test""]()
const string input = @"
table = {
function func()
return function func()
return function()
return {
function func()
function()
return 100
end
}