retrofitted string functions

This commit is contained in:
Aidan 2020-06-29 17:06:27 -07:00
parent d70a5ec77c
commit ea99142b3a
No known key found for this signature in database
GPG key ID: 327711E983899316
2 changed files with 62 additions and 0 deletions

View file

@ -129,6 +129,20 @@ func GenFuncTable() ast.FuncTable {
TimesCalled: 0,
Args: 1,
},
"concat": &ast.Function{
Function: concat,
Name:"concatenate",
TimesCalled: 0,
Args: -1,
},
"print": &ast.Function{
Function:print_str,
Name: "print",
TimesCalled: 0,
Args: 1,
},
}
return stdlib