Gray code by nn

"aD@ai2*\x1bIi\x16\x12=\x1bA1\x16\x0d\x16\x1b\x1b0D@-0D:wh@->0|let@-=@--1|let v=@-|let j=0|wh@a>j|let@o=(v-v/2)%2.@o|let v=v/2|let j=j+1|endw|let@o="\r".@o|endw
iGray code  n=\x12=@a.@o
\x1bZZ

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top