Started testing for parser.

This commit is contained in:
Marvin Blum
2015-10-10 17:00:11 +02:00
parent 18ab469808
commit e051b0ae42
8 changed files with 100 additions and 13 deletions

View File

@@ -6,8 +6,15 @@ import (
"io/ioutil"
)
const version = "0.1"
func usage() {
fmt.Println("Usage: asl [-v|-pretty]")
fmt.Println("Usage: asl [-v|-r|-pretty] <input file/folder> [<output file/folder>]")
fmt.Println("-v (optional) shows asl version")
fmt.Println("-r (optional) recursivly compile all asl files in folder")
fmt.Println("-pretty (optional) activates pretty printing")
fmt.Println("<input file/folder> file or directory to compile")
fmt.Println("<output file/folder> (optional) output file/folder, if not set, files will be created alongside their asl files")
}
func main() {