this post was submitted on 19 Jun 2023
3 points (100.0% liked)
Esoteric Languages
231 readers
2 users here now
Icon base by Lorc under CC BY 3.0
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Sounds like brainfuck with some extra arithmetic operations, but are there better loops?
You can do a loop by storing the "@" program counter in the stack, Performing the body and the check for exit, if exit then jump to next step after the loop, pop the "$" and store in "$" and "@" to return to the top of the loop. After the loop clean the stack by poping the stored top of loop address and discarding it.
I think it is much more expressive than BrainFuck.