diff options
| Commit | 26fa0559b0689a4647c38a2275c5880148248718 (patch) | |
|---|---|---|
| Author | 2025-11-01 18:13:33 +0200 | |
| Committer | 2025-11-01 18:13:33 +0200 | |
| Files | c6e3ad8bcb2a873607bc9d619f5cee22185f1765 /src/main.cl | |
| cool-self-hosted-main.tar cool-self-hosted-main.tar.gz cool-self-hosted-main.zip | ||
| Parent | beccf376ecbcc3819cc0d102b3635b6e5f39fa9e (diff) | |
feat(src/StringConsumer): Add higher order consumers, integer, binary operation and if keywords consumers HEAD main
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.
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | src/main.cl | 2 |
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!") |
