Adds 'exec' family of builtins
This commit is contained in:
parent
5799e071ed
commit
e7e3d5166b
|
@ -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
|
||||
|
|
2834
keywords.go
2834
keywords.go
File diff suppressed because it is too large
Load Diff
4
main.go
4
main.go
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue