aboutsummaryrefslogtreecommitdiff
path: root/source/app.d
blob: 4e7b546a54269ccac93376c7fb5040eed06e46a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import std.string : split;
import std.stdio  : stdin, readln, writeln;

static import machine;

void main() {
	while ( !stdin.eof ) {
		foreach ( token; stdin.readln.split ) {
			machine.process(token);
		}
	}
}