The Accent Compiler Compiler

Installing the ACCENT Compiler Compiler

Accent
Overview
Tutorial
Language
Installation
Usage
Lex
Algorithms
Distribution
Accent is distributed as compressed tar file accent-0.7.tar.gz.

To unpack this file, type

   gunzip accent-0.7.tar.gz
   tar -xvf accent-0.7.tar
      
This creates a directory accent-0.7 with the following subdirectories:
  • accent
    the C code of the Accent compiler compiler
  • art
    the C code of the Accent runtime
  • run
    the Accent specification of a small example
  • doc
    the documentation
  • generate
    the Gentle code of the Accent compiler compiler
    (this is only required if you want to modify the Accent compiler compiler)

Go to directory accent and type

   build
      
This creates the Accent compiler compiler which is required to process your grammar.

Go to directory art and type

   build
      
This creates the Accent runtime which must be linked to your language processor.

To test your installation, go to directory run and type

   build
      
This generates and executes a small language processor: a simple desk calculator.

(See Using the Accent Compiler Compiler for a description of this example.)

accent.compilertools.net