1234567891011121314151617181920 |
- package main
- import (
- "code.osinet.fr/fgm/waiig15/repl"
- "fmt"
- "os"
- "os/user"
- )
- func main() {
- user, err := user.Current()
- if err != nil {
- panic(err)
- }
- fmt.Printf("Hello %s! This is the Monkey programming language!\n",
- user.Username)
- fmt.Printf("Feel free to type in commands\n")
- repl.Start(os.Stdin, os.Stdout)
- }
|