Fixed Greeting Solutions
2 ranked public solutions.
Solutions
| Author | Title | Rules | Steps | Eval Checks | Cumulative State |
|---|---|---|---|---|---|
| Tim Watts | Direct Greeting | 3 | 3 | 6 | 36 bytes |
| Tim Watts | Staged Greeting | 4 | 4 | 10 | 59 bytes |
Direct Greeting
By Tim Watts. 3 rules, 3 steps, 6 eval checks, 36 bytes cumulative state.
---
title: Direct Greeting
slug: direct-greeting
author: Tim Watts
website: https://readevalprint.com
summary: Print the greeting with the fewest rules in the pilot set.
---
^START$ ::= OUT\nEXIT
OUT ::> stdout Hello, challenge!\n
^EXIT$ ::- 0
::=
START
Staged Greeting
By Tim Watts. 4 rules, 4 steps, 10 eval checks, 59 bytes cumulative state.
---
title: Staged Greeting
slug: staged-greeting
author: Tim Watts
website: https://readevalprint.com
summary: Route through a READY state before printing the greeting.
---
^START$ ::= READY
^READY$ ::= OUT\nEXIT
OUT ::> stdout Hello, challenge!\n
^EXIT$ ::- 0
::=
START