Merge pull request 'add serene's asciiart to the REPL' (#4) from repl-ascii-art into master

Reviewed-on: Serene/Serene#4
Reviewed-by: Sameer Rahmani <lxsameer@gnu.org>
This commit is contained in:
mary 2020-12-24 22:04:47 +00:00
commit cf772c1c47
1 changed files with 10 additions and 2 deletions

View File

@ -74,12 +74,20 @@ func REPL(debug bool) {
})
if err != nil {
panic(err)
}
rl.HistoryEnable()
defer rl.Close()
fmt.Println(`Serene's bootstrap interpreter is used to
bootstrap the Serene's compiler.'
fmt.Println(`
_______ _______ ______ _______ _______ _______
| __| ___| __ \ ___| | | ___|
|__ | ___| < ___| | ___|
|_______|_______|___|__|_______|__|____|_______|
Serene's bootstrap interpreter is used to
bootstrap the Serene's compiler.
It comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome