Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 166d29fa73
Fetching contributors…

Cannot retrieve contributors at this time

54 lines (34 sloc) 0.922 kb
# $Id$
=head1 TITLE
nqptap.pir - A nqptap compiler.
=head2 Description
This is the base file for the nqptap compiler.
This file includes the parsing and grammar rules from
the src/ directory, loads the relevant PGE libraries,
and registers the compiler under the name 'nqptap'.
=head2 Functions
=over 4
=item onload()
Creates the nqptap compiler using a C<PCT::HLLCompiler>
.namespace [ 'nqptap::Compiler' ]
#.loadlib 'nqptap_group'
.sub 'onload' :anon :load :init
load_bytecode 'PCT.pbc'
$P0 = get_hll_global ['PCT'], 'HLLCompiler'
$P1 = $P0.'new'()
.include 'src/builtins.pir'
.include 'src/gen_grammar.pir'
.include 'src/gen_actions.pir'
# Local Variables:
# mode: pir
# fill-column: 100
# End:
# vim: expandtab shiftwidth=4 ft=pir:
Jump to Line
Something went wrong with that request. Please try again.