package main
import (
"flag"
"github.com/imuli/go-semantic/ast"
"github.com/imuli/go-semantic/api"
"golang.org/x/text/encoding"
)
func Parse(source io.Reader, name string, code encoding.Encoding) (ast.File, error) {
// read from source and parse into an abstract syntax tree here
}
func main() {
flag.Parse()
api.Run(Parse)
}