blob: 4f98f7d55232f2eb18d1c262c47ea3bdab026cf5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
class Main inherits System {
sce: StringConsumerEngine <- new StringConsumerEngine;
main() : Object {{
sce.init(" 92824 + 59 if then else fi");
while not sce.empty()
loop
assert(sce.try_consume(), "main", "couldn't consume entire input!")
pool;
sce.generated_tokens().out();
}};
};
|