Talk:Lenta

From Esolang
Jump to navigation Jump to search

Brainf**k Translation

Every program has to start with $ and end with #. Translation:

+ | 0!+:
- | 0!-:
> | ]
< | [
, | .:
. | 0+'
[ | ;?\
] | ;!?/

All [ and ] must have looping slashes (shown in example).

Example: Cat Program (,[.,])

         /              \
$  .:  ;?\  0+'  .:  ;!?/  #
         \              /

Interpreter

I was able to implement it! :) If it doesn't conform to the spec, then please feel free to correct it/let me know. --Monochromeninja, Python programmer (talk) 18:50, 20 October 2021 (UTC)