Subversion Repositories tendra.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
.\" 		 Crown Copyright (c) 1997
2
.\" 
3
.\" This TenDRA(r) Manual Page is subject to Copyright
4
.\" owned by the United Kingdom Secretary of State for Defence
5
.\" acting through the Defence Evaluation and Research Agency
6
.\" (DERA).  It is made available to Recipients with a
7
.\" royalty-free licence for its use, reproduction, transfer
8
.\" to other parties and amendment for any purpose not excluding
9
.\" product development provided that any such use et cetera
10
.\" shall be deemed to be acceptance of the following conditions:-
11
.\" 
12
.\"     (1) Its Recipients shall ensure that this Notice is
13
.\"     reproduced upon any copies or amended versions of it;
14
.\" 
15
.\"     (2) Any amended version of it shall be clearly marked to
16
.\"     show both the nature of and the organisation responsible
17
.\"     for the relevant amendment or amendments;
18
.\" 
19
.\"     (3) Its onward transfer from a recipient to another
20
.\"     party shall be deemed to be that party's acceptance of
21
.\"     these conditions;
22
.\" 
23
.\"     (4) DERA gives no warranty or assurance as to its
24
.\"     quality or suitability for any purpose and DERA accepts
25
.\"     no liability whatsoever in relation to any use to which
26
.\"     it may be put.
27
.\"
28
.TH lexi 1
29
.SH NAME
30
lexi \- lexical analyser tool
31
.SH SYNOPSIS
32
\fBlexi\fR [ \fIoptions\fR ] \fIinput-file\fR [ \fIoutput-file\fR ]
33
.\" ----------------------------------------------------------------------
34
.SH DESCRIPTION
35
\fBlexi\fR translates a description of a lexical analyser, \fIinput-file\fR,
36
into code implementing that analyser.  This is output into the
37
\fIoutput-file\fR argument, if present, or the standard output otherwise.
38
.\" ----------------------------------------------------------------------
39
.SH OPTIONS
40
.\" ----------------------------------------------------------------------
41
.IP \fB-k\fR
42
Causes \fBlexi\fR to generate code describing any keywords specified
43
in the input.
44
.\" ----------------------------------------------------------------------
45
.IP \fB-l\fIstring\fR
46
Causes \fBlexi\fR to use \fIstring\fR as a prefix for its generated
47
lexical tokens.  The default is \fIlex_\fR.
48
.\" ----------------------------------------------------------------------
49
.IP \fB-v\fR
50
Causes \fBlexi\fR print its version number.
51
.\" ----------------------------------------------------------------------
52
.SH SEE ALSO
53
\fItcc\fR(1).
54
.\" ----------------------------------------------------------------------