Updated readme's, add prototype function declaration operation

This commit is contained in:
Aidan 2020-07-04 20:41:10 -07:00
parent c90d445d7d
commit 19a16d8de0
No known key found for this signature in database
GPG key ID: 327711E983899316
5 changed files with 137 additions and 4 deletions

View file

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