Debian Codegraph @

tests/sc10.fw

raw
1 Scanner Test: Special Sequence Recognition
2 ==========================================
3 This test tests to see that FunnelWeb is recognising the full set of special
4 sequences.
5
6 Turn Off the Parser
7 -------------------
8 First we cause a deliberate scanner error so as to prevent the parser from
9 generating lots of errors over the syntactic rubbish presented here.
10
11 @
12
13 List of All Possible Special Sequences
14 --------------------------------------
15 The following is a list of the default special character followed by each of
16 the ASCII printables.
17 000 to 031 are unprintable control characters.
18
19 032 @ - ILLEGAL. (Note: Hyphen is needed to avoid trailing blanks error.)
20 033 @! - Comment.
21 034 @" - Parameter delimeter.
22 035 @#X - Short name sequence.
23 @$ 036 - Define macro. Has to be at start of line.
24 037 @% - ILLEGAL.
25 038 @& - ILLEGAL.
26 039 @' - ILLEGAL.
27 040 @( - Open parameter list.
28 041 @) - Close parameter list.
29 042
30 @* - Old fashioned section marker (has to be at start of a line.).
31 043 @+ - Insert newline.
32 044 @, - Parameter separator.
33 045 @-
34 - Ignore end of line marker (has to be at end of line).
35 046 @. - ILLEGAL.
36 047 @/ - Emphasised text.
37 048 @0 - ILLEGAL.
38 049 @1 - Formal parameter 1.
39 050 @2 - Formal parameter 2.
40 051 @3 - Formal parameter 3.
41 052 @4 - Formal parameter 4.
42 053 @5 - Formal parameter 5.
43 054 @6 - Formal parameter 6.
44 055 @7 - Formal parameter 7.
45 056 @8 - Formal parameter 8.
46 057 @9 - Formal parameter 9.
47 058 @: - ILLEGAL.
48 059 @; - ILLEGAL.
49 060 @< - Open macro name.
50 061 @=@ - Set special character.
51 062 @> - Close macro name.
52 063 @? - ILLEGAL.
53 064 @@ - Insert special character into text.
54 @A 065 - New section (level 1). Must be at start of a line.
55 @B 066 - New section (level 2). Must be at start of a line.
56 @C 067 - New section (level 3). Must be at start of a line.
57 @D 068 - New section (level 4). Must be at start of a line.
58 @E 069 - New section (level 5). Must be at start of a line.
59 070 @F - ILLEGAL.
60 071 @G - ILLEGAL.
61 072 @H - ILLEGAL.
62 073 @I - Include file. Will provoke an error here though.
63 074 @J - ILLEGAL.
64 075 @K - ILLEGAL.
65 076 @L - Library macro tag.
66 077 @M - Tags macro as being allowed to be called many times.
67 078 @N - ILLEGAL.
68 @O 079 - New macro attached to output file. Has to be at start of line.
69 080 @P - Pragma. Will cause error here though.
70 081 @Q - ILLEGAL.
71 082 @R - ILLEGAL.
72 083 @S - ILLEGAL.
73 084 @T - Typesetter directive. Will cause an error here though.
74 085 @U - ILLEGAL.
75 086 @V - ILLEGAL.
76 087 @W - ILLEGAL.
77 088 @X - ILLEGAL.
78 089 @Y - ILLEGAL.
79 090 @Z - Tags macro as being allowed to be called zero times.
80 091 @[ - ILLEGAL.
81 092 @\ - ILLEGAL.
82 093 @] - ILLEGAL.
83 094 @^D(065) - Insert control character into text
84 095 @_ - ILLEGAL.
85 096 @` - ILLEGAL.
86 @a 097 - New section (level 1). Must be at start of a line.
87 @b 098 - New section (level 1). Must be at start of a line.
88 @c 099 - New section (level 1). Must be at start of a line.
89 @d 100 - New section (level 1). Must be at start of a line.
90 @e 101 - New section (level 1). Must be at start of a line.
91 102 @f - ILLEGAL.
92 103 @g - ILLEGAL.
93 104 @h - ILLEGAL.
94 105 @i - Include file. Will provoke an error here though.
95 106 @j - ILLEGAL.
96 107 @k - ILLEGAL.
97 108 @l - Library macro tag.
98 109 @m - Tags macro as being allowed to be called many times.
99 110 @n - ILLEGAL.
100 @O 111 - New macro attached to output file. Has to be at start of line.
101 112 @p - Pragma. Will cause error here though.
102 113 @q - ILLEGAL.
103 114 @r - ILLEGAL.
104 115 @s - ILLEGAL.
105 116 @t - Typesetter directive. Will cause an error here though.
106 117 @u - ILLEGAL.
107 118 @v - ILLEGAL.
108 119 @w - ILLEGAL.
109 120 @x - ILLEGAL.
110 121 @y - ILLEGAL.
111 122 @z - Tags macro as being allowed to be called zero times.
112 123 @{ - Open macro body.
113 124 @| - ILLEGAL.
114 125 @} - Close macro body.
115 126 @~ - ILLEGAL.
116 127 to 255 are not standard printable ASCII characters.