added slice function

This commit is contained in:
Aidan 2020-07-24 20:32:08 -07:00
parent 15e294085c
commit adff10b56a
No known key found for this signature in database
GPG key ID: 327711E983899316
2 changed files with 107 additions and 0 deletions

View file

@ -80,6 +80,12 @@ func GenFuncTable() ast.FuncTable {
Args: 1,
},
"slice": &ast.Function{
Function: Slice,
Name: "slice",
TimesCalled: 0,
Args: 3,
},
"export": &ast.Function{
Function: Export,