Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
6
Task/Reverse-a-string/PlainTeX/reverse-a-string.tex
Normal file
6
Task/Reverse-a-string/PlainTeX/reverse-a-string.tex
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
\def\gobtoA#1\revA{}\def\gobtoB#1\revB{}
|
||||
\def\reverse#1{\reversei{}#1\revA\revB\revB\revB\revB\revB\revB\revB\revB\revA}
|
||||
\def\reversei#1#2#3#4#5#6#7#8#9{\gobtoB#9\revend\revB\reversei{#9#8#7#6#5#4#3#2#1}}
|
||||
\def\revend\revB\reversei#1#2\revA{\gobtoA#1}
|
||||
\reverse{Rosetta}
|
||||
\bye
|
||||
Loading…
Add table
Add a link
Reference in a new issue