aboutsummaryrefslogtreecommitdiff
path: root/users/fcuny/exp/monkey/cmd/repl
diff options
context:
space:
mode:
Diffstat (limited to 'users/fcuny/exp/monkey/cmd/repl')
-rw-r--r--users/fcuny/exp/monkey/cmd/repl/main.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/users/fcuny/exp/monkey/cmd/repl/main.go b/users/fcuny/exp/monkey/cmd/repl/main.go
new file mode 100644
index 0000000..46b865c
--- /dev/null
+++ b/users/fcuny/exp/monkey/cmd/repl/main.go
@@ -0,0 +1,12 @@
+package main
+
+import (
+ "fmt"
+ "monkey/pkg/repl"
+ "os"
+)
+
+func main() {
+ fmt.Printf("Welcome to monkey's REPL.")
+ repl.Start(os.Stdin, os.Stdout)
+}