summaryrefslogtreecommitdiff
path: root/web/yacco2/o2linker/sampleoutput.w
blob: e3d80227b97d2948d1fadf41b35c72ff2947b48b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@q file: sampleoutput.w@>
@q%   Copyright Dave Bone 1998 - 2015@>
@q% /*@>
@q%    This Source Code Form is subject to the terms of the Mozilla Public@>
@q%    License, v. 2.0. If a copy of the MPL was not distributed with this@>
@q%    file, You can obtain one at http://mozilla.org/MPL/2.0/.@>
@q% */@>
@** Sample output from Linker.\fbreak
A sampling from Yacco2's grammars. 
Have a look in the source code below where the following
external variables are defined at line references 41, 43, 44, 72, and 193:\fbreak
\ptindent{|yacco2::TOTAL_NO_BIT_WORDS__| }
\ptindent{|yacco2::BIT_MAPS_FOR_SALE__| }
\ptindent{|yacco2::BIT_MAP_IDX__| }
\ptindent{|yacco2::THDS_STABLE__| }
\ptindent{|yacco2::T_ARRAY_HAVING_THD_IDS__| }

Yacoo2's parse library references them and they get resolved by the language linker.
\let\setuplistinghook = \linenumberedlisting
\listing{"/usr/local/yacco2/diagrams/sampleoutput.txt"}

@*2 Sample 2: No threads outputted just a stand alone grammar.
\listing{"/usr/local/yacco2/diagrams/sampleoutput2.txt"}