Updated readme's, add prototype function declaration operation
This commit is contained in:
parent
c90d445d7d
commit
19a16d8de0
5 changed files with 137 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue