added some string functions

This commit is contained in:
Aidan 2020-06-27 21:08:21 -07:00
parent af184d9176
commit eb85a10415
No known key found for this signature in database
GPG key ID: 327711E983899316
2 changed files with 51 additions and 0 deletions

View file

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