Semordnilap: Difference between revisions

no edit summary
m (syntax highlighting fixup automation)
No edit summary
Line 2,432:
drab - bard
</pre>
 
=={{header|Phixmonti}}==
<syntaxhighlight lang="Phixmonti">include ..\Utilitys.pmt
 
( ) ( )
 
"unixdict.txt" "r" fopen var f
 
true while
f fgets
dup -1 == if
drop
f fclose
false
else
-1 del
0 put
true
endif
endwhile
 
len while
len 1 > if
pop swap reverse find dup
if
extract rot swap 0 put swap
else
drop
endif
true
else
drop false
endif
endwhile
 
( 50 54 ) for get dup reverse print " -> " print ? endfor nl
len print " pairs" ?</syntaxhighlight>
{{out}}
<pre>dew -> wed
dial -> laid
dim -> mid
dine -> enid
dog -> god
 
158 pairs
 
=== Press any key to exit ===</pre>
 
=={{header|PHP}}==
57

edits