TITLE ^

abc.pir - A basic calculator.

Description ^

This is the base file for the basic calculator.

This file includes the parsing and grammar rules from the src/ directory, loads the relevant PGE libraries, and registers the compiler under the name 'ABC'.

Functions ^

__onload()

Loads the PGE libraries needed for running the parser, and registers the "compile" subroutine as the "ABC" compiler.

main([arg1, ...]) :main

Start the compiler from the command line. We simply pass any command line argument's to the ABC compiler's <command_line> method (inherited from HLLCompiler).

AUTHOR ^

Patrick R. Michaud <pmichaud@pobox.com>


parrot