Started testing with tokenizer.

This commit is contained in:
Marvin Blum
2015-10-10 14:38:33 +02:00
parent 7657631b36
commit 765a3fde5b
11 changed files with 132 additions and 16 deletions

3
test/tokenizer_each.asl Normal file
View File

@@ -0,0 +1,3 @@
each allUnits {
// ...
}

3
test/tokenizer_for.asl Normal file
View File

@@ -0,0 +1,3 @@
for var i = 0; i < 100; i = i+1 {
// ...
}

3
test/tokenizer_func.asl Normal file
View File

@@ -0,0 +1,3 @@
func TestFunction(param0, param1) {
return true;
}

3
test/tokenizer_if.asl Normal file
View File

@@ -0,0 +1,3 @@
if a < b {
// ...
}

9
test/tokenizer_var.asl Normal file
View File

@@ -0,0 +1,9 @@
// single line comment
/*
multi
line
comment
*/
var x = 1;

3
test/tokenizer_while.asl Normal file
View File

@@ -0,0 +1,3 @@
while true {
// ...
}