mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-24 15:48:47 +00:00
Better AST html dump
This commit is contained in:
parent
a6a72a9313
commit
c1b8f5e630
2 changed files with 12 additions and 3 deletions
|
|
@ -36,8 +36,8 @@ Additionally, the following options can be given to the driver:
|
|||
\begin{itemize}
|
||||
\item "\texttt{-I $path$}"~--- specifies a path to look for external units. Multiples instances of this option can be given in driver's
|
||||
invocation, and the paths are looked up in that order.
|
||||
\item "\texttt{-dp}"~--- forces the driver to dump the AST of compiled unit. The dump is written in the file with the same
|
||||
basename as the source one, with the extension replaced with "\texttt{.ast}".
|
||||
\item "\texttt{-dp}"~--- forces the driver to dump the AST of compiled unit in \textsc{html} representation. The dump is written in the file with the same
|
||||
basename as the source one, with the extension replaced with "\texttt{.html}".
|
||||
\item "\texttt{-ds}"~--- forces the driver to sump stack machine code. The option is only in effect in stack interpreter on
|
||||
native mode. The dump is written in the file "\texttt{.sm}".
|
||||
\item "\texttt{-v}"~--- makes the driver to print the version of the compiler.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue