monna/main.go

21 lines
364 B
Go
Raw Normal View History

/* TODO(tijani):
- add quit command to the repl.
- remove semicolons from the language to mark the end of a statement.
- add line and position reporting in the lexer when a lexing or parsing error occurs.
*/
package main
import (
"fmt"
"os"
2024-08-28 19:31:35 -05:00
"monna/repl"
)
func main() {
2024-08-28 19:31:35 -05:00
fmt.Printf("Hello human, type some commands: \n")
repl.Start(os.Stdin, os.Stdout)
}