mirror of
https://github.com/Kugelschieber/asl.git
synced 2026-01-18 20:10:25 +00:00
Added strings to tokenizer, added comments to code.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user