Skip to content

Instantly share code, notes, and snippets.

@korzio
Last active February 6, 2021 18:12
Show Gist options
  • Save korzio/af436027552681bb64c6bb59be61813f to your computer and use it in GitHub Desktop.
Save korzio/af436027552681bb64c6bb59be61813f to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
"os"
"os/user"
"pizzascript/repl"
)
func main() {
user, err := user.Current()
if err != nil {
panic(err)
}
fmt.Printf("Hello %s! This is the PizzaScript programming language!\n", user.Username)
fmt.Printf("Feel free to type in commands\n")
repl.Start(os.Stdin, os.Stdout)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment