lr/lr.1
2024-01-24 19:44:43 -06:00

68 lines
1.1 KiB
Groff

.IX Title "lr 1"
.TH lr 1 "2023-10-16" "lr"
.if n .ad l
.nh
.SH "NAME"
lr \- Lexer, parser, and code generator
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
usage: lr [-bhprt] [-o OUTFILE] [-m ARCH] [--help] [--list-arches] [FILES]
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
Compile source code into binary output
.SH "OPTIONS"
.IX Header "OPTIONS"
.TP
\fB\-b\fR
View parsing tree (brief output)
.TP
\fB\-h\fR, \fB\-\-help\fR
View possible commands and exit
.TP
\fB\-m ARCH\fR
Change target output (see ARCH, --list-arches)
.TP
\fB\-o OUTFILE\fR
Set output filename
.TP
\fB\-p\fR
View parsing tree (full, including internal tree nodes)
.TP
\fB\-r\fR
View expressions after conversion to Reverse Polish Notation
.TP
\fB\-t\fR
View tokens from lexer stage
.TP
\fB\-\-list\-arches\fR
List all possible target build architectures.
.TP
\fBARCH\fR
Target output build architectures. See --list-arches.
.TP
\fBFILES\fR
Input source files
.SH "ENVIRONMENT"
.IX Header "ENVIRONMENT"
See lr --help for options.
.SH "AUTHOR"
.IX Header "AUTHOR"
\fB<https://git.ylink.one/corey/lr\fR>>
.SH "COPYRIGHT"
.IX Header "COPYRIGHT"
.PP
Copyright stuff here.