bbash/main.go
Tobias P.L Wennberg 84f321389a Bether input
2025-01-12 13:08:49 +01:00

24 lines
318 B
Go

package main
import (
"bbash/command"
"bbash/environment"
"bbash/input_parser"
"fmt"
)
func main() {
env := environment.Get_env()
command.Init(&env)
for {
in_parsed := input_parser.Parse(&env)
if in_parsed.Instruction == "exit" {
break
}
command.Run_command(in_parsed, &env)
fmt.Println()
}
}