/*********************************************************/ /* */ /* PISTOL-Portably Implemented Stack Oriented Language */ /* Version 2.0 */ /* (C) 1983 by Ernest E. Bergmann */ /* Physics, Building #16 */ /* Lehigh Univerisity */ /* Bethlehem, Pa. 18015 */ /* */ /* Permission is hereby granted for all reproduction and */ /* distribution of this material provided this notice is */ /* included. */ /* */ /*********************************************************/ /* sixth code module for PISTOL v2.0 in BDS 'C' v1.45a */ /* March 10, 1983 */ #include "bdscio.h" #include "pistol.h" init() {int psemcol(),wstore(),times(),plus(),subtract(), divmod(),pif(),wat(),abort(),sp(), load(),pelse(),wrd(),rp(),pop(), puser(),exec(),exitop(),lit(),rpop(), swap(),ttyi(),tyo(),rpsh(),semicf(), rat(),compme(),comphere(),dollarc(),colon(), semcol(),ifop(),elseop(),thenop(),doop(), loopop(),beginop(),endop(),repet(),geoln(),pdollar(), pcolon(),casat(),pdo(),pploop(),plloop(), cat(),cstore(),ploop(),dotdot(),semidol(), primq(),cordmp(),restor(),sat(),find(), listfil(),vfind(),lat(),ofcas(),ccolon(), semicc(),ndcas(),pofcas(),pccol(),psemicc(), getline(),intoken(),openr(),openw(), readl(),writl(); keylen=0;/*March 10, 1983*/ for (temp=0; temp",RPOP); penter(4,"SWAP",SWP); penter(3,"TYI",TYI); penter(3,"TYO",TYO); penter(2,"