summaryrefslogtreecommitdiff
path: root/doc/luac.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/luac.html')
-rw-r--r--doc/luac.html88
1 files changed, 88 insertions, 0 deletions
diff --git a/doc/luac.html b/doc/luac.html
new file mode 100644
index 00000000..7d43ff1d
--- /dev/null
+++ b/doc/luac.html
@@ -0,0 +1,88 @@
+<!-- manual page source format generated by RosettaMan, -->
+<!-- available via anonymous ftp from ftp.cs.berkeley.edu:/ucb/people/phelps/tcltk/rman.tar.Z -->
+<HTML>
+<HEADER>
+<TITLE>luac manual page</TITLE>
+</HEADER>
+<BODY>
+<A HREF="#toc">Table of Contents</A><P>
+
+<A NAME="sect0" HREF="#toc0"><H2>NAME</H2></A>
+luac - Lua compiler<P>
+
+<A NAME="sect1" HREF="#toc1"><H2>SYNOPSIS</H2></A>
+luac [ -c | -u ] [ -d ] [ -l ] [ -p ] [ -q ] [ -v ] [ -o <I>outputfile</I> ] <I>sourcefile</I> ...<P>
+
+<A NAME="sect2" HREF="#toc2"><H2>DESCRIPTION</H2></A>
+luac is the Lua compiler. It translates programs written in the Lua programming language into binary files that can be loaded and executed with lua_dofile in C or dofile in Lua.<P>
+luac produces a single output file containing the bytecode for all named source files. By default, the output file is named luac.out, but you can change this with the -o option.<P>
+You can use &quot;-&quot; to indicate stdin as a source file.<P>
+luac can also load and list binary files.<P>
+
+<A NAME="sect3" HREF="#toc3"><H2>OPTIONS</H2></A>
+<dl>
+<dt>-c <dd> compile (this is the default).<P>
+</dd>
+</dl>
+<dl>
+<dt>-u <dd> undump.<P>
+</dd>
+</dl>
+<dl>
+<dt>-d <dd> turns debugging on.<P>
+</dd>
+</dl>
+<dl>
+<dt>-l <dd> produces a listing of the compiled bytecode for Lua's virtual machine. This is the default when undumping.<P>
+</dd>
+</dl>
+<dl>
+<dt>-p <dd> parses sources files but does not generate any output file.<P>
+</dd>
+</dl>
+<dl>
+<dt>-q <dd> quiet; procudes no listing. This is the default when compiling.<P>
+</dd>
+</dl>
+<dl>
+<dt>-v <dd> prints version information.<P>
+</dd>
+</dl>
+<dl>
+<dt>-o <I>outputfile</I><dd> Name the output file <I>output</I>, instead of the default luac.out. The output file cannot be a source file.<P>
+</dd>
+</dl>
+
+<A NAME="sect4" HREF="#toc4"><H2>FILES</H2></A>
+<dl>
+<dt>luac.out <dd> default output file<P>
+</dd>
+</dl>
+
+<A NAME="sect5" HREF="#toc5"><H2>SEE ALSO</H2></A>
+<A HREF="http://localhost/cgi-bin/man2html?lua?1">lua(1)</A><P>
+<I>Reference</I> <I>Manual</I> <I>of</I> <I>the</I> <I>Programming</I> <I>Language</I> <I>Lua</I><P>
+
+<A NAME="sect6" HREF="#toc6"><H2>DIAGNOSTICS</H2></A>
+Error messages should be self explanatory.<P>
+
+<A NAME="sect7" HREF="#toc7"><H2>BUGS</H2></A>
+Inherits any bugs from Lua, but Lua has no bugs...<P>
+
+<A NAME="sect8" HREF="#toc8"><H2>AUTHORS</H2></A>
+W. Celes, R. Ierusalimschy &amp; L. H. de Figueiredo (lua@tecgraf.puc-rio.br)<P>
+
+<HR><P>
+<A NAME="toc"><B>Table of Contents</B></A><P>
+<UL>
+<LI><A NAME="toc0" HREF="#sect0">NAME</A></LI>
+<LI><A NAME="toc1" HREF="#sect1">SYNOPSIS</A></LI>
+<LI><A NAME="toc2" HREF="#sect2">DESCRIPTION</A></LI>
+<LI><A NAME="toc3" HREF="#sect3">OPTIONS</A></LI>
+<LI><A NAME="toc4" HREF="#sect4">FILES</A></LI>
+<LI><A NAME="toc5" HREF="#sect5">SEE ALSO</A></LI>
+<LI><A NAME="toc6" HREF="#sect6">DIAGNOSTICS</A></LI>
+<LI><A NAME="toc7" HREF="#sect7">BUGS</A></LI>
+<LI><A NAME="toc8" HREF="#sect8">AUTHORS</A></LI>
+</UL>
+</BODY></HTML>