Adds 'exec' family of builtins

This commit is contained in:
sloum 2023-12-24 22:45:40 -08:00
parent 5799e071ed
commit e7e3d5166b
3 changed files with 1465 additions and 1375 deletions

View File

@ -118,7 +118,7 @@ func isKeyword(s string) bool {
"file-exists?", "file-read", "docstring!", "input", "re-match?",
"re-find", "re-replace", "slice", "stackdepth", "net-get", "try",
"catch", "throw", "import", "rot", "each!", "filter!", "words", "time",
"char-conv", "env-get", "env-set":
"char-conv", "env-get", "env-set", "exec", "<-exec", "exec->", "<-exec->":
return true
default:
return false

File diff suppressed because it is too large Load Diff

View File

@ -28,7 +28,7 @@ import (
)
const (
version float64 = 0.34
version float64 = 0.35
logo string = ` _
|, _ |. __ _
| (/,||_) (/,`
@ -48,7 +48,7 @@ var completions = []string{
"re-find", "re-replace", "slice", "stackdepth", "net-get", "try", "throw",
"catch", "import", "rot", "each!", "filter!", "INT", "STRING", "FLOAT",
"LIST", "BOOL", "TYPE", "words", "time", "char-conv", "end", "env-get",
"env-set",
"env-set", "exec", "<-exec", "<-exec->", "exec->",
}
//go:embed lib/std.fe