Added strings to tokenizer, added comments to code.

This commit is contained in:
Marvin Blum
2015-10-09 11:29:52 +02:00
parent 25d691eb66
commit e88a6b48a8
6 changed files with 71 additions and 17 deletions

View File

@@ -8,9 +8,9 @@ import (
func main() {
// read test file
code, _ := ioutil.ReadFile("in/simple.asl")
code, _ := ioutil.ReadFile("in/test.asl")
token := asl.Tokenize(code)
out := asl.Parse(token)
fmt.Println(out)
fmt.Println("OUTPUT:\n"+out) // TODO: remove
}