September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 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