fbec8f49ae/library/contrib/quirks.retro
Commiter: Charles Childers
Author: Charles Childers
Revision: fbec8f49ae
File Size: 1.38 KB
(February 23, 2010 04:12 UTC) Over 2 years ago
add r> >r and :noname to quirks library
( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ) ( Quirks ) ( Retro has a lot of small oddities. This library is intended ) ( to smooth out some of these. ) ( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ) ( Copyright [c] 2010, Charles Childers ) ( License: ISC ) ( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ) vocab quirks (( ( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ) ( My < and > are comparison for "condition or equal", these ) ( exclude equality. ) ( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ) : < ( xy-f ) >if FALSE ;then TRUE ; : > ( xy-f ) <if FALSE ;then TRUE ; ( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ) ( I call this "r" in Retro. ) ( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ) : r@ ( -n ) ` r ; compile-only : r> ( -n ) ` pop ; compile-only : >r ( n- ) ` push ; compile-only ( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ) ( Add :noname ) ( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ) : :noname here ] ; )) ' quirks shut |