ginger/main.go
2016-07-23 11:06:26 -06:00

19 lines
207 B
Go

package main
import (
"fmt"
"os"
"github.com/mediocregopher/ginger/expr"
)
func main() {
ee, err := expr.Parse(os.Stdin)
if err != nil {
panic(err)
}
for _, e := range ee {
fmt.Println(e)
}
}