We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
ALWCIDFEC
ALWCIDFEC(A Language Where Commands Is Different For Each Cell) is variant of 3-cell brainfuck, where as it says in title, commands are different for each cell you use.
Instructions
| BF / For cell 1 | For cell 2 | For cell 3 |
|---|---|---|
| + | * | 4 |
| - | / | 1 |
| [ | ( | { |
| ] | ) | } |
Examples
Infinite loop
Cell 1:
+[]
Cell 2:
*()
Cell 3:
4{}
A+B Problem
++++**(+/)
Any amount of +'s and * will be added together
Fractran of 5/4
Here is an ALWCIDFEC version of the reformatted example generated from the Fractran program 5/4 on the Collatz function page.
>>+[-[-<+++++>]+<<
4{1{1*****}4
[-(/////4)1{1****}*
[-/(////4){1****}**
[-//(////4){1****}***
[-///(////4)44
[-*]]]]]
(/+)}
Computational class
Assuming the ALWCIDFEC interpreter uses unbounded (or unbounded positive) integers, it is trivial to compile a 3-cell brainfuck program into ALWCIDFEC unless it uses unbalanced loops. The Turing-completeness proof for 3-cell brainfuck does not use unbalanced loops, so it also proves that ALWCIDFEC is Turing-complete.