aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/shell/shell.go
diff options
context:
space:
mode:
authorJP Appel <jeanpierre.appel01@gmail.com>2025-06-27 14:19:48 -0400
committerJP Appel <jeanpierre.appel01@gmail.com>2025-06-27 17:47:08 -0400
commit468b14ea9e60698a3340aa1f1f53794834dafe9f (patch)
treee41156e2c0b897c73ea6ce68e565813455bdbe07 /pkg/shell/shell.go
parentf795d47d4c0cef03a410fb1001bae6819f9ba41f (diff)
Add keyword suggestions to interpreter errors
Diffstat (limited to 'pkg/shell/shell.go')
-rw-r--r--pkg/shell/shell.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/pkg/shell/shell.go b/pkg/shell/shell.go
index f7dc350..34d2d40 100644
--- a/pkg/shell/shell.go
+++ b/pkg/shell/shell.go
@@ -9,20 +9,6 @@ import (
"golang.org/x/term"
)
-var commands = []string{
- "help",
- "clear",
- "let",
- "del",
- "slice",
- "rematch",
- "repattern",
- "tokenize",
- "opt_simplify", "opt_tighten", "opt_flatten", "opt_sort", "opt_tidy", "opt_contradictions", "opt_compact", "opt_strictEq",
- "parse",
- "compile",
-}
-
func (inter *Interpreter) runNonInteractive() error {
scanner := bufio.NewScanner(os.Stdin)
for scanner.Scan() {