home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / yay-1_0.zip / yay-1_0 / doc / yay10hlp.ps < prev    next >
Text File  |  1995-11-22  |  24KB  |  432 lines

  1. %!PS-Adobe-2.0 ExitServer
  2. %%Title: Microsoft Word Driver Prolog
  3. %%Creator: Microsoft
  4. %%CreationDate: Fri Aug 18 1988
  5. %%BeginDocument: Microsoft Word 5.0 0
  6. %%msinifile: POSTSCRP
  7. %%EndComments
  8. %%BeginExitServer: 0
  9.  userdict /msinifile known 
  10.  {msinifile (POSTSCRP) eq {stop} if} if
  11.  serverdict begin 0 exitserver
  12.  userdict /msorigstate known {msorigstate restore} if
  13.  save /msorigstate exch def
  14.  /msinifile (POSTSCRP) def
  15. %%EndExitServer
  16.  
  17. %%BeginFont: mslinedraw
  18. /mslinedraw 25 dict def
  19. /PSl {msdict begin /ptop 612 def /sw 0 def
  20.  /ftsz 12 def /smode 0 def /STh -3.6 def /fs 0 def /offset 0 def fonttable 1 get fontset E 90 rotate 0 -612 translate save statusdict begin /waittimeout 360 def end} def
  21. /PSp {msdict begin /ptop 792 def /sw 0 def
  22.  /ftsz 12 def /smode 0 def /STh -3.6 def /fs 0 def /offset 0 def fonttable 1 get fontset E save statusdict begin /waittimeout 360 def end} def
  23. mslinedraw begin
  24. /FontType 3 def
  25. /FontMatrix [1.0 30.0 div 0 0 1.0 30.0 div 0 0] def
  26. /FontBBox [0 -8 18 30] def
  27. /Encoding 256 array def
  28. 0 1 255 {Encoding exch /.notdef put} for
  29. Encoding 45 [
  30.  /sp   /sh   /sh /light /med /dark
  31.  /sv   /srj  /sdjr /dsjr /sdtr /dstr /djr  /dv
  32.  /dtr  /dbr  /sdbr /dsbr /str  /sbl  /sjb  /sjt
  33.  /sjl  /sh   /sjc  /sdjl /dsjl /dbl  /dtl  /djb
  34.  /djt  /djl  /dh   /djc  /dsjb /sdjb /dsjt /sdjt
  35.  /sdbl /dsbl /dstl /sdtl  /sdjc /dsjc /sbr  /stl
  36.  /black /bb /bl /br /bt] putinterval
  37.  
  38. /a {moveto lineto stroke} bind def
  39. /b {moveto lineto lineto stroke} bind def
  40. /c {moveto 9 7 lineto stroke} bind def
  41. /d {moveto lineto lineto} bind def
  42. /e {lineto closepath fill} bind def
  43. /f {7 30 7 9 0 9 b} def
  44. /g {12 30 12 9 18 9 b} def
  45. /h {7 -8 7 5 0 5 b} def
  46. /i {12 -8 12 5 18 5 b} def
  47. /j {0 7 18 7 a} def
  48. /k {9 22 9 -8 a} def
  49. /l {0 5 18 5 a 0 9 18 9 a} def
  50. /m {7 22 7 -8 a 12 22 12 -8 a} def
  51. /n {0 -8 18 -8 18 22 d 0 22 e} def
  52.  
  53. /CharProcs 55 dict def
  54. CharProcs begin
  55. /.notdef {} def
  56. /sp { 1 1 moveto } def
  57. /sv {k} def
  58. /srj {k 0 7 c} def
  59. /sdjr {k 0 5 9 5 a 0 9 9 9 a} def
  60. /dsjr {m 0 7 7 7 a} def
  61. /sdtr {0 7 12 7 12 -8 b 7 7 7 -8 a} def
  62. /dstr {0 9 9 9 9 -8 b 0 5 9 5 a} def
  63. /djr {f h 12 -8 12 22 a} def
  64. /dv {m} def
  65. /dtr {h 0 9 12 9 12 -8 b} def
  66. /dbr {f  0 5 12 5 12 30 b} def
  67. /sdbr {0 7 12 7 12 30 b 7 7 7 30 a} def
  68. /dsbr {0 5 9 5 9 30 b 0 9 9 9 a} def
  69. /str {0 7 9 7 9 -8 b} def
  70. /sbl {9 30 9 7 18 7 b} def
  71. /sjb {j 9 30 c} def
  72. /sjt {j 9 -8 c} def
  73. /sjl {k 18 7 c} def
  74. /sh {j} def
  75. /sjc {j k} def
  76. /sdjl {k 9 9 18 9 a 9 5 18 5 a} def
  77. /dsjl {m 12 7 18 7 a} def
  78. /dbl {g 7 30 7 5 18 5 b} def
  79. /dtl {i 7 -8 7 9 18 9 b} def
  80. /djb {f g 0 5 18 5 a} def
  81. /djt {h i 0 9 18 9 a} def
  82. /djl {g i 7 -8 7 22 a} def
  83. /dh {l} def
  84. /djc {f g h i} def
  85. /dsjb {l 9 30 9 9 a} def
  86. /sdjb {j 7 7 7 30 a 12 7 12 30 a} def
  87. /dsjt {l 9 -8 9 5 a} def
  88. /sdjt {j 7 7 7 -8 a 12 7 12 -8 a} def
  89. /sdbl {7 30 7 7 18 7 b 12 30 12 7 a} def
  90. /dsbl {9 30 9 5 18 5 b 9 9 18 9 a} def
  91. /dstl {9 -8 9 9 18 9 b 9 5 18 5 a} def
  92. /sdtl {7 -8 7 7 18 7 b 12 -8 12 7 a} def
  93. /sdjc {m j} def
  94. /dsjc {l k} def
  95. /sbr {0 7 9 7 9 30 b} def
  96. /stl {9 -8 9 7 18 7 b} def
  97. /light {0.90 setgray n} def
  98. /med {0.60 setgray n} def
  99. /dark {0.30 setgray n} def
  100. /black {n} def
  101. /bt {0 7 18 7 18 22 d 0 22 e} def
  102. /bb {0 -8 18 -8 18 7 d 0 7 e} def
  103. /bl {0 -8 9 -8 9 22 d 0 22 e} def
  104. /br {9 -8 18 -8 18 22 d 9 22 e} def
  105. end %CharProcs
  106.  
  107. /BuildChar
  108.   { fs 1 and 0 eq {1} {3} ifelse setlinewidth
  109.     18 0 setcharwidth
  110.     exch begin
  111.      Encoding exch get
  112.      CharProcs exch get
  113.      exec
  114.     end
  115.   } def
  116. end %mslinedraw
  117. %%EndFont
  118.  
  119. %%BeginProcSet: msdict 1.0 0
  120. /msdict 100 dict def
  121. FontDirectory /LineDraw known not
  122.  {/LineDraw mslinedraw definefont pop} if
  123. msdict begin
  124. /SLL {/LL def} def
  125. /P {exch msu exch msu neg ptop add moveto} bind def
  126. /S {sw 0 32 4 -1 roll widthshow} bind def
  127. /C {1 string dup 0 4 -1 roll put S} bind def
  128. /J {msu ( ) stringwidth pop sub /sw exch def} bind def
  129. /PE {showpage ptop exch restore save exch /ptop exch def} bind def
  130. /SFL {msu /ptop exch def} bind def
  131. %%BeginModelCheck
  132.  statusdict begin
  133.  product (OmniLaser) eq
  134. {
  135. end
  136. /B1 {statusdict begin 0 setpapertray end} def
  137. /B2 {statusdict begin 1 setpapertray end} def
  138. }{
  139. end
  140. /B1 {statusdict begin 1 setpapertray end} def
  141. /B2 {statusdict begin 2 setpapertray end} def
  142. } ifelse
  143. %%EndModelCheck
  144. /MB {statusdict begin /manualfeed true store end} def
  145. /ME {statusdict begin /manualfeed false store end} def
  146. /B {fs 2 and 0 eq {Bft} {BIft} ifelse
  147.  ftsz scalefont setfont fs 1 or /fs exch def} bind def
  148. /E {Eft ftsz scalefont setfont /fs 0 def} bind def
  149. /I {fs 1 and 0 eq {Ift} {BIft} ifelse
  150.  ftsz scalefont setfont fs 2 or /fs exch def} bind def
  151. /BI {BIft ftsz scalefont setfont fs 
  152.  2 or 1 or /fs exch def} bind def
  153. /LU {currentpoint /uy exch def /ux exch def 1 ssm} bind def
  154. /LD {currentpoint /uy exch def /ux exch def 2 ssm} bind def
  155. /LS {currentpoint /uy exch def /ux exch def 4 ssm} bind def
  156. /LL {currentpoint /uy exch def /ux exch def /ldmode exch def 8 ssm} bind def
  157. /LE {smode 1 and 0 ne {false (_) ul} if
  158.       smode 2 and 0 ne {true (_) ul} if
  159.       smode 4 and 0 ne {false (\352) ul} if
  160.       smode 8 and 0 ne {ux uy ldot pop pop} if
  161.   not smode and /smode exch def} bind def
  162. /BD {STh ssc} def
  163. /BU {STh neg ssc} def
  164. /BN {0 ssy neg rmoveto} def
  165. /F {/ftsz exch def (-) stringwidth pop 2 div neg /STh exch def
  166.  /ftcd exch def 
  167.  0 2 fonttable length 1 sub
  168.    {dup fonttable exch get ftcd eq
  169.      {1 add fonttable exch get fontset exit}{pop}ifelse
  170.    }for
  171.  E} bind def
  172. /msfindfont {dup FontDirectory exch known not {pop /Courier} if findfont} def
  173. /fontset {dup 0 get msfindfont /Eft exch def
  174.           dup 1 get msfindfont /Bft exch def
  175.           dup 2 get msfindfont /Ift exch def
  176.           3 get msfindfont /BIft exch def
  177.          }def
  178. /msu {20 div} def
  179. /ssc {dup /ssy exch def 0 exch rmoveto} bind def
  180. /ssm {dup smode or /smode exch def} bind def
  181. /Cf {/Eft /Courier  findfont def /Bft /Courier-Bold findfont def /Ift /Courier-Oblique findfont def /BIft /Courier-BoldOblique findfont def} def
  182. /DUL {cc true charpath pathbbox newpath exch pop 2 index 2 index moveto cx1 4 -1 roll sub dup 0 rlineto 3 1 roll exch
  183. sub 0 exch rlineto neg 0 rlineto closepath fill} bind def
  184. /ul {gsave /cc exch def currentpoint pop /cx1 exch def ux uy moveto DUL {grestore gsave ux uy 2.4 sub moveto DUL} if
  185. grestore} bind def
  186. /PSe {restore end currentfile closefile} bind def
  187. /ldot {gsave 2 copy currentpoint /y exch def /x exch def
  188.  newpath
  189.  ldmode 0 eq {/offset 0 def 1 setlinewidth [1 7] 4 setdash}
  190.  {ldmode 1 eq {[6 2] 6 setdash /offset STh def .2 setlinewidth}
  191.  {ldmode 2 eq {[] 0 setdash /offset 1.4 def .2 setlinewidth} if}
  192.  ifelse} ifelse
  193.  offset sub moveto x y offset sub lineto stroke grestore} bind def
  194. /Ccs /Courier findfont /CharStrings get def
  195.  
  196. % /OrigName /NewName vector ReEncodeSmall
  197. /ReEncodeSmall { %def
  198.   exch findfont begin
  199.   currentdict dup length dict begin
  200.     { 1 index /FID ne {def} {pop pop} ifelse } forall
  201.     /FontName exch def
  202.     /Encoding foreignvec def
  203.   currentdict dup end end
  204.   /FontName get exch definefont pop
  205. } bind def
  206. /Foreign { ReEncodeSmall } def
  207.  
  208. /foreignvec StandardEncoding 256 array copy def
  209. % the following are differences from StandardEncoding.
  210. % Sequential entries do not require indices:
  211. 0 [ 39/quotesingle 96/grave
  212. 128/Ccedilla/udieresis/eacute/acircumflex/adieresis
  213. /agrave/aring/ccedilla/ecircumflex/edieresis
  214. /egrave/idieresis/icircumflex/igrave/Adieresis
  215. /Aring/Eacute/ae/AE/ocircumflex
  216. /odieresis/ograve/ucircumflex/ugrave/ydieresis
  217. /Odieresis/Udieresis/cent/sterling/yen/P/florin/aacute
  218. /iacute/oacute/uacute/ntilde/Ntilde/ordfeminine
  219. /ordmasculine/questiondown/.notdef/.notdef
  220. /.notdef/.notdef/exclamdown/guillemotleft/guillemotright
  221. /Aacute/Acircumflex/Agrave/Atilde/Ecircumflex/Edieresis
  222. /Egrave/Iacute/Icircumflex/Idieresis/Igrave/Oacute
  223. /Ocircumflex/Ograve/Otilde/Uacute/Ucircumflex/Ugrave
  224. /Scaron/Ydieresis/emdash/Zcaron/.notdef/otilde/scaron/zcaron
  225. /fraction/section/currency/quotesingle/quotedblleft
  226. /guilsinglleft/guilsinglright/.notdef/.notdef/endash/dagger/daggerdbl
  227. /paragraph/quotesinglbase/quotedblbase/quotedblright
  228. /ellipsis/.notdef/grave/acute/circumflex/tilde/macron
  229. /germandbls/breve/dotaccent/dieresis/cedilla/.notdef/hungarumlaut
  230. /ogonek/caron/emdash/Lslash/Oslash/dotlessi/lslash/oslash
  231. /.notdef/.notdef/.notdef/.notdef/.notdef/atilde
  232. /.notdef/.notdef/ring/bullet/periodcentered/.notdef/.notdef
  233. /.notdef/.notdef/.notdef
  234. ] { %forall
  235.   dup type /nametype eq { %ifelse
  236.     dup Ccs exch known not {pop /.notdef} if
  237.     foreignvec 2 index 2 index put
  238.     pop 1 add
  239.   }{ exch pop } ifelse
  240. } forall pop
  241.  
  242. %BeginMakeForeign
  243. /Courier /Courier-F Foreign
  244. /Courier-Bold /Courier-Bold-F Foreign
  245. /Courier-Oblique /Courier-Oblique-F Foreign
  246. /Courier-BoldOblique /Courier-BoldOblique-F Foreign
  247. /Helvetica /Helvetica-F Foreign
  248. /Helvetica-Bold /Helvetica-Bold-F Foreign
  249. /Helvetica-Oblique /Helvetica-Oblique-F Foreign
  250. /Helvetica-BoldOblique /Helvetica-BoldOblique-F Foreign
  251. /AvantGarde-Book /AvantGarde-Book-F Foreign
  252. /AvantGarde-Demi /AvantGarde-Demi-F Foreign
  253. /AvantGarde-BookOblique /AvantGarde-BookOblique-F Foreign
  254. /AvantGarde-DemiOblique /AvantGarde-DemiOblique-F Foreign
  255. FontDirectory /Helvetica-Condensed known
  256. {
  257. /Helvetica-Condensed /Helvetica-Narrow-F Foreign
  258. /Helvetica-Condensed-Bold /Helvetica-Narrow-Bold-F Foreign
  259. /Helvetica-Condensed-Oblique /Helvetica-Narrow-Oblique-F Foreign
  260. /Helvetica-Condensed-BoldObl /Helvetica-Narrow-BoldOblique-F Foreign
  261. }{
  262. /Helvetica-Narrow /Helvetica-Narrow-F Foreign
  263. /Helvetica-Narrow-Bold /Helvetica-Narrow-Bold-F Foreign
  264. /Helvetica-Narrow-Oblique /Helvetica-Narrow-Oblique-F Foreign
  265. /Helvetica-Narrow-BoldOblique /Helvetica-Narrow-BoldOblique-F Foreign
  266. } ifelse
  267. /Bookman-Light /Bookman-Light-F Foreign
  268. /Bookman-Demi /Bookman-Demi-F Foreign
  269. /Bookman-LightItalic /Bookman-LightItalic-F Foreign
  270. /Bookman-DemiItalic /Bookman-DemiItalic-F Foreign
  271. /Times-Roman /Times-Roman-F Foreign
  272. /Times-Bold /Times-Bold-F Foreign
  273. /Times-Italic /Times-Italic-F Foreign
  274. /Times-BoldItalic /Times-BoldItalic-F Foreign
  275. /NewCenturySchlbk-Roman /NewCenturySchlbk-Roman-F Foreign
  276. /NewCenturySchlbk-Bold /NewCenturySchlbk-Bold-F Foreign
  277. /NewCenturySchlbk-Italic /NewCenturySchlbk-Italic-F Foreign
  278. /NewCenturySchlbk-BoldItalic /NewCenturySchlbk-BoldItalic-F Foreign
  279. /Palatino-Roman /Palatino-Roman-F Foreign
  280. /Palatino-Bold /Palatino-Bold-F Foreign
  281. /Palatino-Italic /Palatino-Italic-F Foreign
  282. /Palatino-BoldItalic /Palatino-BoldItalic-F Foreign
  283. /ZapfChancery-MediumItalic /ZapfChancery-MediumItalic-F Foreign
  284. %EndMakeForeign
  285.  
  286. /fonttable
  287.  [0 [/Courier-F /Courier-Bold-F /Courier-Oblique-F /Courier-BoldOblique-F]
  288.  8 [/Helvetica-F /Helvetica-Bold-F /Helvetica-Oblique-F /Helvetica-BoldOblique-F]
  289.  9 [/AvantGarde-Book-F /AvantGarde-Demi-F /AvantGarde-BookOblique-F /AvantGarde-DemiOblique-F]
  290.  10 [/Helvetica-Narrow-F /Helvetica-Narrow-Bold-F /Helvetica-Narrow-Oblique-F /Helvetica-Narrow-BoldOblique-F]
  291.  16 [/Bookman-Light-F /Bookman-Demi-F /Bookman-LightItalic-F /Bookman-DemiItalic-F]
  292.  24 [/Times-Roman-F /Times-Bold-F /Times-Italic-F /Times-BoldItalic-F]
  293.  25 [/NewCenturySchlbk-Roman-F /NewCenturySchlbk-Bold-F /NewCenturySchlbk-Italic-F /NewCenturySchlbk-BoldItalic-F]
  294.  26 [/Palatino-Roman-F /Palatino-Bold-F /Palatino-Italic-F /Palatino-BoldItalic-F]
  295.  50 [/ZapfChancery-MediumItalic-F /ZapfChancery-MediumItalic-F /ZapfChancery-MediumItalic-F /ZapfChancery-MediumItalic-F]
  296.  56 [/Symbol /Symbol /Symbol /Symbol]
  297.  57 [/LineDraw /LineDraw /LineDraw /LineDraw]
  298.  60 [/ZapfDingbats /ZapfDingbats /ZapfDingbats 
  299. /ZapfDingbats] 
  300. ] def
  301.  
  302. %BeginGraphicsDefs
  303. /M {moveto}  def
  304. /L {lineto} def
  305. /LH {currentpoint exch pop lineto} def
  306. /LV {currentpoint pop exch lineto} def
  307. /R {3 index 1 index 1 index 5 index 5 index 1 index M L L L closepath pop pop} def
  308. /setpat {setscreen 100 div setgray} def
  309. /setgrayed {{dup mul exch dup mul add 1 exch sub} setpat} def
  310. /setbar {{pop} setpat} def
  311. /setcross {{2 copy gt {pop} {exch pop} ifelse} setpat} def
  312. /fi {1 -1 scale} def
  313. /II1 {save count /mscount exch def} def
  314. /II2 {userdict begin /showpage {} def /letter {} def
  315.   /legal {} def /a4 {} def /b5 {} def
  316.   /clear { {cleartomark count msdict /mscount get eq {exit} if} loop mark} def
  317.    mark} def
  318. /IT {pop restore} def
  319. /IX {exch msu exch msu neg ptop add translate} def
  320. /IS {div 3 1 roll div exch scale} def
  321.  
  322. save /msdictstate exch def
  323. %!PS-Adobe-2.0 
  324. PSp 15840 SFL 
  325. 480 2000 P 24 12 F (YAY) S 60 J ( - a LALR parser generator.) S 
  326. 480 2480 P LU (Syntax:) S LE 
  327. 1920 2720 P 0 12 F 0 12 F (yay) S 144 J ( sourcefile Parser=outfile [option]*) S 
  328. 1920 3200 P (\(+|-\)LR2 \(-\)            \(+|-\)Verbose \(-\)) S 
  329. 1920 3440 P (\(+|-\)Warnings \(+\)       Description=file) S 
  330. 1920 3680 P (Header=file             INSTallation=file) S 
  331. 1920 3920 P (Language=C|C++ \(C\)      Parser=file) S 
  332. 480 4400 P 0 12 F 24 12 F LU (Examples:) S LE 
  333. 1920 4640 P 0 12 F 0 12 F (yay) S 144 J ( cgram.y parse=myparse.c) S 
  334. 1920 4880 P (c myparse.c) S 
  335. 1920 5360 P (yay ccgram.y lang=c++ pars=myparse.cpp) S 
  336. 480 5840 P 0 12 F 24 12 F LU (Options:) S LE 
  337. 480 6080 P 0 12 F 0 12 F (sourcefile) S 
  338. 1200 6320 P 0 12 F 24 12 F (is) S 60 J ( a file containing YAY input.) S 
  339. 480 6800 P 0 12 F 0 12 F (Language=C) S 
  340. 1200 7040 P 0 12 F 24 12 F (produces) S 106 J ( parsing) S 107 J ( tables) S 106 J ( in the C programming language.  This is the) S 
  341. 1200 7280 P (default.) S 
  342. 480 7760 P 0 12 F 0 12 F (Language=C++) S 
  343. 1200 8000 P 0 12 F 24 12 F (produces) S 95 J ( parsing tables in the C++ programming language.  Note that) S 
  344. 1200 8240 P (YAY) S 85 J ( only) S 86 J ( produces) S 85 J ( the) S 86 J ( tables;) S 85 J ( the) S 86 J ( routines) S 85 J ( that) S 86 J ( use) S 85 J ( the) S 86 J ( tables to parse) S 
  345. 1200 8480 P (input) S 60 J ( are predefined.) S 
  346. 480 8960 P 0 12 F 0 12 F (+LR2) S 
  347. 1200 9200 P 0 12 F 24 12 F (says) S 63 J ( that) S 64 J ( the) S 63 J ( YAY) S 64 J ( input) S 63 J ( describes an LALR\(2\) grammar.  Without ) S 0 12 F 0 10 F (+LR2) S 0 12 F 24 12 F (,) S 
  348. 1200 9440 P (YAY) S 111 J ( assumes) S 112 J ( that) S 111 J ( the) S 112 J ( grammar) S 111 J ( is) S 112 J ( LALR\(1\).) S 111 J ( ) S 112 J ( The) S 111 J ( manual) S 112 J ( describes) S 
  349. 1200 9680 P (modifications) S 60 J ( that need to be made for LALR\(2\) grammars.) S 
  350. 480 10160 P 0 12 F 0 12 F (Description=file) S 
  351. 1200 10400 P 0 12 F 24 12 F (translates) S 109 J ( the) S 110 J ( parsing) S 109 J ( tables) S 110 J ( into) S 109 J ( a) S 110 J ( format) S 109 J ( that) S 110 J ( humans) S 109 J ( can) S 110 J ( read, and) S 
  352. 1200 10640 P (writes) S 60 J ( this output into the given file.) S 
  353. 480 11120 P 0 12 F 0 12 F (Header=file) S 
  354. 1200 11360 P 0 12 F 24 12 F (writes) S 116 J ( token) S 117 J ( definitions) S 116 J ( and) S 117 J ( other) S 116 J ( information) S 117 J ( necessary for separate) S 
  355. 1200 11600 P (compilation,) S 60 J ( to the named file.) S 
  356. 480 12080 P 0 12 F 0 12 F (INSTallation=file) S 
  357. 1200 12320 P 0 12 F 24 12 F (tells) S 89 J ( YAY) S 90 J ( where) S 89 J ( to) S 90 J ( find) S 89 J ( the installation file.  The installation file tells) S 
  358. 1200 12560 P (where) S 129 J ( various) S 130 J ( software) S 129 J ( components) S 130 J ( have been installed.  For more) S 
  359. 1200 12800 P (information,) S 60 J ( see the section on ) S 0 12 F 24 12 F I (Installation) S 60 J ( Files) S E 0 12 F 24 12 F () S 60 J ( below.) S 
  360. 1200 13280 P (If) S 90 J ( you) S 91 J ( do) S 90 J ( not) S 91 J ( specify) S 90 J ( an) S 91 J ( ) S 0 12 F 0 10 F (INSTallation=) S 0 12 F 24 12 F () S 90 J ( option) S 91 J ( on) S 90 J ( the) S 91 J ( command) S 90 J ( line,) S 
  361. 1200 13520 P (YAY) S 80 J ( checks) S 81 J ( for) S 80 J ( an) S 81 J ( environment) S 80 J ( variable named ) S 0 12 F 0 10 F (YAY_INST) S 0 12 F 24 12 F () S 80 J ( and uses its) S 
  362. 1200 13760 P (value) S 90 J ( as) S 91 J ( the) S 90 J ( name) S 91 J ( of) S 90 J ( the) S 91 J ( installation) S 90 J ( file.  If this environment variable) S 
  363. 1200 14000 P (does) S 60 J ( not exist, YAY uses the default installation file.) S 0 12 F 
  364. PE 
  365. 480 2240 P (Parser=file) S 
  366. 1200 2480 P 24 12 F (writes) S 64 J ( the) S 65 J ( resulting) S 64 J ( source) S 65 J ( code) S 64 J ( for) S 65 J ( the) S 64 J ( parser into the named file.  If this) S 
  367. 1200 2720 P (option) S 60 J ( is omitted, YAY just checks the syntax of your input.) S 
  368. 480 3200 P 0 12 F 0 12 F (+Verbose) S 
  369. 1200 3440 P 0 12 F 24 12 F (produces) S 60 J ( verbose output -- everything that can be flagged is flagged.) S 
  370. 480 3920 P 0 12 F 0 12 F (-Warnings) S 
  371. 1200 4160 P 0 12 F 24 12 F (suppresses) S 60 J ( a number of warning messages that YAY normally issues.) S 
  372. 480 4640 P LU (Description:) S LE 
  373. 1056 4880 P (YAY) S 66 J ( converts) S 67 J ( your) S 66 J ( context-free) S 67 J ( grammar) S 66 J ( into) S 67 J ( a) S 66 J ( C or C++ program that is) S 
  374. 480 5120 P (written) S 60 J ( to the file specified by the ) S 0 12 F 0 10 F (Parser=) S 0 12 F 24 12 F () S 60 J ( option.) S 
  375. 1056 5600 P (If) S 70 J ( you) S 71 J ( use) S 70 J ( the) S 71 J ( ) S 0 12 F 0 10 F (Description=) S 0 12 F 24 12 F () S 70 J ( option,) S 71 J ( YAY) S 70 J ( writes) S 71 J ( a) S 70 J ( full) S 71 J ( description of the) S 
  376. 480 5840 P (grammar) S 118 J ( to) S 119 J ( the) S 118 J ( specified) S 119 J ( file.) S 118 J ( ) S 119 J ( YAY) S 118 J ( only) S 119 J ( displays) S 118 J ( a) S 119 J ( brief) S 118 J ( message) S 119 J ( on) S 118 J ( the) S 
  377. 480 6080 P (standard) S 105 J ( output,) S 106 J ( summarizing) S 105 J ( conflicts) S 106 J ( \(and other information if you specify) S 
  378. 480 6320 P 0 12 F 0 10 F (+Verbose) S 0 12 F 24 12 F (\).) S 99 J ( ) S 100 J ( On) S 99 J ( the) S 100 J ( other) S 99 J ( hand,) S 100 J ( if) S 99 J ( you do not use the ) S 0 12 F 0 10 F (Description=) S 0 12 F 24 12 F () S 99 J ( option,) S 
  379. 480 6560 P (YAY) S 80 J ( writes) S 81 J ( more) S 80 J ( information) S 81 J ( to) S 80 J ( standard) S 81 J ( output, including descriptions of the) S 
  380. 480 6800 P (states) S 104 J ( where) S 105 J ( conflicts) S 104 J ( occur.) S 105 J ( ) S 104 J ( In this case, YAY actually provides additional) S 
  381. 480 7040 P (information) S 100 J ( to) S 101 J ( help) S 100 J ( you) S 101 J ( identify the source of the conflicts; if you ask for a) S 
  382. 480 7280 P (description) S 120 J ( file,) S 121 J ( YAY) S 120 J ( outputs) S 121 J ( less information when reporting the conflicts) S 
  383. 480 7520 P (because) S 69 J ( it) S 70 J ( assumes) S 69 J ( you) S 70 J ( can track down additional information by looking at the) S 
  384. 480 7760 P (description) S 75 J ( file.) S 76 J ( ) S 75 J ( For) S 76 J ( this) S 75 J ( reason, you can sometimes get a quicker idea of what) S 
  385. 480 8000 P (has) S 60 J ( gone wrong if you do not ask for a description file.) S 
  386. 480 8480 P LU (C++ Parsers) S LE 
  387. 1056 8720 P (In) S 76 J ( general,) S 77 J ( you) S 76 J ( only need to use ) S 0 12 F 0 10 F (Language=C++) S 0 12 F 24 12 F () S 76 J ( if you intend ) S 0 12 F 0 10 F (YYSTYPE) S 0 12 F 24 12 F () S 76 J ( to) S 
  388. 480 8960 P (contain) S 63 J ( a) S 64 J ( C++ object with constructors.  If you intend to compile the parser with) S 
  389. 480 9200 P (C++) S 171 J ( but) S 172 J ( the) S 171 J ( ) S 0 12 F 0 10 F (%union) S 0 12 F 24 12 F () S 172 J ( statement) S 171 J ( does) S 172 J ( not have any elements that need) S 
  390. 480 9440 P (constructors,) S 60 J (  it's best to use ) S 0 12 F 0 10 F (Language=C) S 0 12 F 24 12 F () S 60 J ( to get more efficient C code.) S 
  391. 1056 9920 P (If) S 115 J ( ) S 0 12 F 0 10 F (YYSTYPE) S 0 12 F 24 12 F () S 116 J ( does) S 115 J ( contain elements that need constructors, you need to) S 
  392. 480 10160 P (define) S 121 J ( an) S 122 J ( appropriate constructor-like function for the ) S 0 12 F 0 10 F (YYSTYPE) S 0 12 F 24 12 F () S 122 J ( type.  This) S 
  393. 480 10400 P (function) S 60 J ( should have the prototype) S 
  394. 1920 10880 P 0 12 F 0 12 F (void) S 144 J ( name\(YYSTYPE *p\)) S 
  395. 480 11360 P 0 12 F 24 12 F (where) S 128 J ( ) S 0 12 F 0 10 F ("name") S 0 12 F 24 12 F () S 129 J ( can) S 128 J ( be) S 129 J ( any) S 128 J ( valid) S 129 J ( name.) S 128 J ( ) S 129 J ( In) S 128 J ( the) S 129 J ( declarations section of the) S 
  396. 480 11600 P (grammar,) S 60 J ( you must then add the statement) S 
  397. 1920 12080 P 0 12 F 0 12 F (#define) S 144 J ( YYSTYPE_INIT name) S 
  398. 480 12560 P 0 12 F 24 12 F (where) S 60 J ( ) S 0 12 F 0 10 F ("name") S 0 12 F 24 12 F () S 60 J ( is the name of the constructor-like function.) S 
  399. 1056 13040 P (With) S 127 J ( ) S 0 12 F 0 10 F (Language=C++) S 0 12 F 24 12 F (,) S 128 J ( the) S 127 J ( ) S 0 12 F 0 10 F (%union) S 0 12 F 24 12 F () S 127 J ( statement generates a structure type) S 
  400. 480 13280 P (rather) S 118 J ( than) S 119 J ( a) S 118 J ( union, since C++ does not allow objects with constructors to) S 
  401. 480 13520 P (belong) S 60 J ( to unions.) S 0 12 F 
  402. PE 
  403. 1056 2000 P 24 12 F (In) S 168 J ( many) S 169 J ( cases,) S 168 J ( the) S 169 J ( same) S 168 J ( grammar) S 169 J ( may) S 168 J ( be) S 169 J ( processed) S 168 J ( with either) S 
  404. 480 2240 P 0 12 F 0 10 F (Language=C) S 0 12 F 24 12 F () S 60 J ( or ) S 0 12 F 0 10 F (Language=C++) S 0 12 F 24 12 F (.) S 
  405. 480 2720 P LU (Installation) S 60 J ( Files:) S LE 
  406. 1056 2960 P (An) S 108 J ( installation) S 109 J ( file specifies the pathnames for software and data files) S 
  407. 480 3200 P (used) S 92 J ( by) S 93 J ( YAY.) S 92 J ( ) S 93 J ( Installation) S 92 J ( files) S 93 J ( are text files made up of comment lines and) S 
  408. 480 3440 P (option) S 60 J ( lines.) S 
  409. 480 3920 P (Comment lines:) S 
  410. 1200 4160 P (Any) S 143 J ( line) S 144 J ( whose) S 143 J ( first) S 144 J ( non-blank) S 143 J ( character) S 144 J ( is) S 143 J ( ) S 0 12 F 0 10 F (#) S 0 12 F 24 12 F () S 144 J ( will) S 143 J ( be) S 144 J ( taken) S 143 J ( as a) S 
  411. 1200 4400 P (comment.) S 60 J (  Blank lines are also considered comments.) S 
  412. 480 4880 P (Option lines:) S 
  413. 1200 5120 P (Option lines have the format) S 
  414. 1920 5600 P 0 12 F 0 12 F (Keyword=pathname) S 
  415. 1200 6080 P 0 12 F 24 12 F (In) S 86 J ( this documentation, keywords are written with some letters in upper) S 
  416. 1200 6320 P (case) S 63 J ( and) S 64 J ( some in lower case.  You may abbreviate keywords by omitting) S 
  417. 1200 6560 P (any) S 71 J ( or) S 72 J ( all) S 71 J ( of) S 72 J ( the) S 71 J ( letters) S 72 J ( shown in lower case.  The remaining letters may) S 
  418. 1200 6800 P (be) S 75 J ( entered in either upper or lower case; the documentation simply uses) S 
  419. 1200 7040 P (upper) S 60 J ( case to show which characters may not be omitted.) S 
  420. 1056 7520 P (In this version of YAY, there is only one valid option line:) S 
  421. 1920 8000 P 0 12 F 0 12 F (Library=pathname) S 
  422. 480 8480 P 0 12 F 24 12 F (The) S 71 J ( pathname) S 72 J ( should) S 71 J ( be) S 72 J ( the) S 71 J ( directory) S 72 J ( containing) S 71 J ( the YAY parser template files) S 
  423. 480 8720 P (\(e.g.) S 60 J ( ) S 0 12 F 0 10 F (yyparse.c) S 0 12 F 24 12 F (\).) S 
  424. 480 9200 P LU (Notes:) S LE 
  425. 1056 9440 P (If) S 121 J ( you) S 122 J ( define) S 121 J ( ) S 0 12 F 0 10 F (YYALLOC) S 0 12 F 24 12 F (,) S 122 J ( the) S 121 J ( parser) S 122 J ( allocates) S 121 J ( its) S 122 J ( state) S 121 J ( and) S 122 J ( value stacks) S 
  426. 480 9680 P (dynamically) S 94 J ( via) S 95 J ( malloc and free.  This shrinks your parser and helps prevent) S 
  427. 480 9920 P (stack) S 60 J ( overflows.) S 
  428. 480 10400 P (Copyright 1995, Thinkage Ltd.) S 0 12 F 
  429. PE PSe
  430. %%Trailer
  431.  
  432.