| commit | ca85f4ed5ffad72ce7f004cdf895bf62fe8a10a8 | [log] [tgz] |
|---|---|---|
| author | Sketch🕴️ <skallywag@sketch.dev> | Sat Feb 28 19:31:47 2026 +0400 |
| committer | Sketch🕴️ <skallywag@sketch.dev> | Sat Feb 28 19:31:47 2026 +0400 |
| tree | 599950c4078ab9d2489fd9b06248505cebd1c410 | |
| parent | cd59d229846e38345ceeaf71d4c8130981793969 [diff] |
Step 8: Wire REPL to main.go entry point
diff --git a/cmd/matheval/main.go b/cmd/matheval/main.go index b66f2f7..6aaf71d 100644 --- a/cmd/matheval/main.go +++ b/cmd/matheval/main.go
@@ -1,7 +1,11 @@ package main -import "fmt" +import ( + "os" + + "matheval/repl" +) func main() { - fmt.Println("matheval - math expression evaluator") + repl.Run(os.Stdin, os.Stdout) }
diff --git a/matheval b/matheval new file mode 100755 index 0000000..524de52 --- /dev/null +++ b/matheval Binary files differ