by tacticalmook · 5y ago · 0 comments
There are some tasks which lend themselves to the way the language is constructed, and can be done with few instructions.
Reversing a string, for example, is just ,[[<]<+>>[>],]<[.<] which is quite short compared to most "practical" programs in this language.
And a destructive y = y + x is just [->+<] (destructive because this also sets x to zero)
No comments yet.