Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
26
Task/Run-length-encoding/Befunge/run-length-encoding.bf
Normal file
26
Task/Run-length-encoding/Befunge/run-length-encoding.bf
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
~"y"- ~$ v
|
||||
<temp var for when char changes
|
||||
format:
|
||||
first,'n' and a newline. :
|
||||
a char then a v _"n",v
|
||||
number then a space continuously 9
|
||||
example: 1
|
||||
n > v ,+<
|
||||
a5 b2
|
||||
decoded:aaaaabb
|
||||
the program is ended using decoder
|
||||
Ctrl-C on linux,or alt-f4
|
||||
on windows.copy the output >\v encoder
|
||||
of the program somewhere ^_ $ v
|
||||
to encode press y : > $11g:, v
|
||||
to decode pipe file in >1-^ ~ v +1\<
|
||||
the output of the encoder \ v< $ ^ .\_^
|
||||
starts with n,this is so ^,:<\&~< _~:,>1>\:v>^
|
||||
you can pipe it straight in ^ <
|
||||
~
|
||||
the spaces seem to be a annoying thing :
|
||||
thanks to CCBI...if a interpreter dosen't 1
|
||||
create them it's non-conforming and thus 1
|
||||
the validity of this program is NOT affected p-
|
||||
>^
|
||||
--written by Gamemanj,for Rosettacode
|
||||
Loading…
Add table
Add a link
Reference in a new issue