export var functions

This commit is contained in:
Aidan 2020-07-03 16:27:02 -07:00
parent a08677b4f4
commit 4865c7ce92
No known key found for this signature in database
GPG key ID: 327711E983899316
5 changed files with 33 additions and 3 deletions

View file

@ -48,6 +48,13 @@ func GenFuncTable() ast.FuncTable {
Args: -1,
},
"export": &ast.Function{
Function: export,
Name: "export",
TimesCalled: 0,
Args: 2,
},
"input": &ast.Function{
Function: input,
Name: "input",