rexim / ebf

Brainfuck language transpiler to Emacs Lisp
20 stars 3 forks source link

Clean cell operation optimization #19

Closed rexim closed 8 years ago

rexim commented 8 years ago

Extracted from https://github.com/rexim/ebf/issues/6#issuecomment-182209269 Thanks to Mr @ForNeVeR

We should replace things like [+] and [-] with setting the current cell to 0.