Summary Files Commits Branches @commit @diff @stats
path: root / src / main.cl
blob: 3b839a9329837d3bf9010dbb1ae39348142997ad (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("    		 ");
		while not sce.empty()
		loop
			assert(sce.try_consume(), "main", "couldn't consume entire input!")
		pool;
		sce.generated_tokens().out();
	}};
};