Added while and switch.

This commit is contained in:
Marvin Blum
2015-09-21 17:16:00 +02:00
parent af7a0a9f4c
commit 1f0730b984
7 changed files with 103 additions and 10 deletions

View File

@@ -8,7 +8,7 @@ import (
func main(){
// read test file
code, _ := ioutil.ReadFile("in/simple.asl")
code, _ := ioutil.ReadFile("in/statements.asl")
token := asl.Tokenize(code)
out := asl.Parse(token)