negative number parsing

This commit is contained in:
Aidan 2020-08-21 00:14:31 -07:00
parent 69536783c7
commit 90284f2d06
No known key found for this signature in database
GPG key ID: 327711E983899316
3 changed files with 86 additions and 0 deletions

View file

@ -157,6 +157,13 @@ func GenFuncTable() ast.FuncTable {
Args: 2,
},
"substr": &ast.Function{
Function: Substr,
Name: "substr",
TimesCalled: 0,
Args: 3,
},
"exit": &ast.Function{
Function: ExitShell,
Name: "exit",