3.11 Pragmas
3.11 Pragmas
Most tools have to support some essential, but rather inelegant
features. In FunnelWeb these messy bits have all been stuffed
into the scanner s 
 tic) construct.
A pragma consists of a single line of input (including the EOL)
commencing with @p. This must be followed by a single space,
and then the pragma verb. This must be followed by a sequence
of zero or more arguments separated by one or more spaces.
1 Introduction
Four pragmas are available
2 Interface
3 Scanner
pragma = pragma_ident | pragma_mill |
4 Parser
         pragma_moll | pragma_typesetter
5 Analyser
The following syntax definitions assist in defining the pragmas.
6 Tangle
7 Weave
s        = {" "}+
8 Shell
ps       = ("@p" | "@P") " "
9 Commands
number   = { decimal_digit }+
10 Glossary
numorinf = number | "infinity"
11 References
The arguments to pragmas are case sensitive and must be
specified in lower case.
Pragmas are processed and consumed entirely by the scanner.
The parser never sees them and so they can play no part in the
parser level syntax. As a result, pragma lines can appear
anywhere in the entire input file regardless of the surrounding
context (e.g. even in the middle of a macro definition). The sole
effect of a pragma is to modify some internal parameter of
The following sections describe the four FunnelWeb pragmas.
Copyright   Ross N. Williams 1992,1999. All rights
http://www.ross.net/funnelweb/reference/scanner_prag.html [3/3/2000 10:47:48 PM]

Actions web hosting footer





Home | About Us | Network | Compare Plans | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

Terms Of Service

j2ee web hosting


Our web partners: Web Hosting PHP Jsp Web Hosting Java Web Hosting Jsp Web Hosting Cheapest Web Hosting  Java Web Hosting

Cheap Web Hosting Java Hosting Cheapest Hosting Quality Web Templates Best Web Templates Web Design Templates

Java Web Hosting Cheap Hosting Cheap Web Hosting Jsp Web Hosting Tomcat Web Hosting

Quality Web Hosting Best Web Hosting Java Web Hosting

Actionswebhosting.com Business web hosting division of Vision Web Hosting Inc. All rights reserved.