Fixed Greeting Solutions

2 ranked public solutions.

Solutions

AuthorTitleRulesStepsEval ChecksCumulative State
Tim WattsDirect Greeting33636 bytes
Tim WattsStaged Greeting441059 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