Execute a Markov algorithm: Difference between revisions

Content added Content deleted
(→‎{{header|jq}}: simplify)
Line 2,866: Line 2,866:
| tests as $tests
| tests as $tests
| range(0; $tests|length) as $ix
| range(0; $tests|length) as $ix
| $tests[$ix] as $test
| $tests[$ix]
| parseRules( $rules[$ix] ) as $parsed
| " \(.)\n=>\(chain( parseRules( $rules[$ix] ) ))\n" ;
| $test | chain($parsed)
| " \($test)\n=>\(.)\n" ;


proceed</lang>
proceed</lang>
Line 2,890: Line 2,888:
=>00011H1111000
=>00011H1111000
</pre>
</pre>



=={{header|Julia}}==
=={{header|Julia}}==