<
HTML>
<
HEAD>
<
TITLE>Installing the ACCENT Compiler Compiler</
TITLE>
</
HEAD>
<
BODY bgcolor=
"white">
<
TABLE cellspacing=20>
<
TR>
<
TD valign=
"top">
<
img src=
"logo.gif">
</
TD>
<
TD valign=
"bottom" align=
"left">
<a href=
"index.html">The Accent Compiler Compiler</a>
<
h1>Installing the ACCENT Compiler Compiler</
h1>
</
TD>
</
TR>
<
TR>
<
TD align=
"right" valign=
"top">
<!-- MENU -->
<
font face=
"helvetica">
<a href=
"index.html">Accent</a><
br>
<a href=
"overview.html">Overview</a><
br>
<a href=
"tutorial.html">Tutorial</a><
br>
<a href=
"language.html">Language</a><
br>
Installation<
br>
<a href=
"usage.html">Usage</a><
br>
<a href=
"lex.html">Lex</a><
br>
<a href=
"algorithms.html">Algorithms</a><
br>
<a href=
"distribution.html">Distribution</a><
br>
</
font>
</
TD>
<
TD valign=
"top">
<!--- begin main content -->
<i>Accent</i> is distributed as compressed <i>tar</i> file
<
tt>accent-0.9pre6.tar.gz</
tt>.
<p>
To unpack this file, type
<
pre>
gunzip accent-0.9pre6.tar.gz
tar -xvf accent-0.9pre6.tar
</
pre>
This creates a directory <
tt>accent-0.9pre6</
tt>
with the following subdirectories:
<
ul>
<
li>
<
tt>accent</
tt><
br>
the C
code of the Accent compiler compiler
<
li>
<
tt>art</
tt><
br>
the C
code of the Accent runtime
<
li>
<
tt>run</
tt><
br>
the Accent specification of a
small example
<
li>
<
tt>doc</
tt><
br>
the documentation
<
li>
<
tt>generate</
tt><
br>
the Gentle
code of the Accent compiler compiler<
br>
(this is only required if you want to modify the
Accent compiler compiler)
</
ul>
<p>
Go to directory <
tt>accent</
tt> and type
<
pre>
build
</
pre>
This creates the Accent compiler compiler
which is required to process your grammar.
<p>
Go to directory <
tt>art</
tt> and type
<
pre>
build
</
pre>
This creates the Accent runtime which
must be linked to your language processor.
<p>
To test your installation,
go to directory <
tt>run</
tt> and type
<
pre>
build
</
pre>
This generates and executes a
small language processor:
a simple desk calculator.
<p>
(See <i><a href=
"usage.html">Using the Accent Compiler Compiler</a></i>
for a description of this example.)
<!--- end main content -->
<
br>
<
br>
<
font face=
"helvetica" size=
"1">
<a href=
"http://accent.compilertools.net">accent.compilertools.net</a>
</
font>
</
TD>
</
TR>
</
TABLE>
</
BODY>
</
HTML>