From 26fa0559b0689a4647c38a2275c5880148248718 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 1 Nov 2025 18:13:33 +0200 Subject: feat(src/StringConsumer): Add higher order consumers, integer, binary operation and if keywords consumers Higher order consumers are called that way because they use other (base) consumers in their logic. In a sense, the other consumers are parameters to the higher order consumers. --- src/main.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cl') diff --git a/src/main.cl b/src/main.cl index 3b839a9..4f98f7d 100644 --- a/src/main.cl +++ b/src/main.cl @@ -2,7 +2,7 @@ class Main inherits System { sce: StringConsumerEngine <- new StringConsumerEngine; main() : Object {{ - sce.init(" "); + sce.init(" 92824 + 59 if then else fi"); while not sce.empty() loop assert(sce.try_consume(), "main", "couldn't consume entire input!") -- cgit v1.3.1-26-gb76a