Advertisement
Aslai

Lower to upper

Oct 2nd, 2011
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. >>>>>>>- Set escape bit =7=
  2. << go to retrieval =5=
  3. +
  4. [
  5.     , get the char
  6.     [-<+<+<+<+<+>>>>>] Copy it back
  7.     < ----- -----   ----- -----   ----- -----   ---  If its BANG set to 0 =4=
  8.  
  9.     [ Only goes if nonzero
  10.         [-] clear this to 0
  11.         < Get a fresh value =3=
  12.         -[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[-[>+<[-]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
  13.         If its greater than or equal to 'a' then increase the next value by one and clear to zero ! This byte will be set to 0
  14.         >[-<+>]< Copy the set bit
  15.         < Get a fresh value =2=
  16.         >[ If the bit isnt 0
  17.             - set it to zero
  18.             <----- -----   ----- -----   ----- -----   -- Set a little letter to a big letter
  19.             > go back to the bit
  20.         ]<
  21.         . Print it woo
  22.         [-] escape
  23.     ]
  24.     >>> Go to retrieval =5= unless escape =7=
  25.     + increase it escape occurs if at =7=
  26.     [ if not at =7=
  27.         [-] clear
  28.         <[-] go back and clear =4=
  29.         <[-] go back and clear =3=
  30.         <[-] go back and clear =2=
  31.         <[-] go back and clear =1=
  32.         <[-] go back and clear =0=
  33.         >>>>>+< Set nonescape
  34.     ]
  35.     >
  36. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement