From 468b14ea9e60698a3340aa1f1f53794834dafe9f Mon Sep 17 00:00:00 2001 From: JP Appel Date: Fri, 27 Jun 2025 14:19:48 -0400 Subject: Add keyword suggestions to interpreter errors --- pkg/shell/shell.go | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'pkg/shell/shell.go') 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() { -- cgit v1.2.3