Summary Files Commits Branches @commit @diff @stats
path: root / src / main.cl
diff options
context:
space:
mode:
1 files changed, 10 insertions, 0 deletions
-rw-r--r--src/main.cl10
diff --git a/src/main.cl b/src/main.cl
new file mode 100644
index 0000000..9ebb87b
--- /dev/null
+++ b/src/main.cl
@@ -0,0 +1,10 @@
+class Main inherits System {
+ sce: StringConsumerEngine <- new StringConsumerEngine;
+
+ main() : Object {{
+ sce.init(" abc");
+ sce.try_consume();
+ sce.try_consume();
+ sce.out();
+ }};
+};