Harder

From Esolang
Jump to navigation Jump to search

Harder is BF but harder

Instructions

* flip the current bit
~ set current bit to 0 or 1 based on input
` output current bit
[c] run c if current bit is 1
{c} run c if current bit is 0
> move to the right current bit
< move to the left current bit
@ if current bit is 1, go to the [ or { based on nesting
# if current bit is 0, go to the [ or { based on nesting
$ go to the [ or { based on nesting

Unary cat

~[`~@] is also ,[.,] in BF