Binary Not Solutions

1 ranked public solution.

Solutions

AuthorTitleRulesStepsEval ChecksCumulative State
Tim WattsTruth Table Flip6828154 bytes

Truth Table Flip

By Tim Watts. 6 rules, 8 steps, 28 eval checks, 154 bytes cumulative state.

---
title: Truth Table Flip
slug: truth-table-flip
author: Tim Watts
website: https://readevalprint.com
summary: Handle each binary input as its own rewrite row.
---
@IN@ ::< 1s 1 lines stdin
^0$ ::= OUT1\nEXIT
^1$ ::= OUT0\nEXIT
OUT1 ::> stdout 1\n
OUT0 ::> stdout 0\n
^EXIT$ ::- 0
::=
@IN@