added slice function
This commit is contained in:
parent
15e294085c
commit
adff10b56a
2 changed files with 107 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue