.\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH atsopt 1 "February 22, 2010" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME atsopt \- ATS to C compiler .SH SYNOPSIS .B atsopt .RI ... .SH DESCRIPTION .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. .B atsopt is the compiler from ATS to C. It is most commonly invoked by .B atscc which is the preferred frontend for compiling ATS code. .SH COMMANDS .B atsopt takes a number of commands with parameters to determine its behavior: .TP .B \-d, \-\-dynamic Dynamically load the filenames. .TP .B \-\-debug=1 Enable generation of debugging information. .TP .B \-dep, \-\-depgen Generate dependency lists. .TP .B \-h, \-\-help Print the usage information. .TP .B \-o, \-\-output Specify the output filename. .TP .B \-\-posmark_html Generate an HTML file with colored concrete syntax. .TP .B \-\-posmark_xref Generate an HTML file with syntactic cross-references. .TP .B \-s, \-\-static Statically load the filenames. .TP .B \-tc, \-\-typecheck Typecheck the given ATS source files, but go no further. .TP .B \-v, \-\-version Show ATS/Anairiats version and gcc version. .SH EXAMPLES .PP .B atsopt -o test.c -d test.dats .PP Compile test.dats to a C file. .PP .B atsopt -tc -d test.dats .PP Typecheck test.dats only. .PP .B atsopt -o test.html -d test.dats --posmark_html .PP Write a syntax colored version of test.dats. .SH SEE ALSO .BR atscc (1), .BR atslex (1). .br These programs are documented fully by .B The ATS/Anairiats user's manual available via the web at http://www.ats-lang.org/ .SH AUTHOR atsopt was written by Hongwei Xi. .PP This manual page was written by Matthew Danish , for the Debian project (and may be used by others).