Lexesis/man/man1/Lexesis.1

65 lines
1.2 KiB
Groff

.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "LEXESIS" "1" "May 2016" "" ""
.
.SH "NAME"
\fBLexesis\fR \- A language agnostic lexical analyser generator
.
.SH "SYNOPSIS"
\fBLexesis\fR [\fB\-d\fR \fIoutputdir\fR] [\fB\-l\fR \fIlanguage\fR] [\fB\-n\fR \fIlexername\fR] <inputfile\.lxs>
.
.SH "DESCRIPTION"
Generate a lexical analyser from a Lexesis(5) rules file
.
.P
Options:
.
.TP
\fB\-h\fR, \fB\-\-help\fR
show a help message and exit
.
.TP
\fB\-\-version\fR
show program\'s version number and exit
.
.TP
\fB\-d\fR \fIdirectory\fR, \fB\-\-outputdir\fR=\fIdirectory\fR
Output the generated files to this directory
.
.br
[default: \.]
.
.TP
\fB\-l\fR \fIlanguage\fR, \fB\-\-lang\fR=\fIlanguage\fR, \fB\-\-language\fR=\fIlanguage\fR
The programming language to generate source files for
.
.br
[default: c++]
.
.TP
\fB\-n\fR \fIlexername\fR, \fB\-\-name\fR=\fIlexername\fR
Use this name for the generated lexer, the default is
.
.br
based on the input file name
.
.SH "EXAMPLES"
\fBLexesis \-l c++ \-d lexers \-n MyLexer lexer\.lxs\fR
.
.P
\fBLexesis \-\-language c++ \-\-outputdir lexers \-\-name MyLexer lexer\.lxs\fR
.
.SH "AUTHORS"
.
.IP "\(bu" 4
Thomas Avé
.
.IP "\(bu" 4
Robin Jadoul
.
.IP "" 0
.
.SH "SEE ALSO"
Lexesis(5)