Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (32 sloc) 861 Bytes
=head1 TITLE
gil.pir - A gil compiler.
=head2 Description
This is the base file for the gil 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 'gil'.
=head2 Functions
=over 4
=item onload()
Creates thegil compiler using a C<PCT::HLLCompiler>
.namespace [ 'gil::Compiler' ]
.sub 'onload' :anon :load :init
load_bytecode 'PCT.pbc'
$P0 = get_hll_global ['PCT'], 'HLLCompiler'
$P1 = $P0.'new'()
.include 'gil/builtins.pir'
.include 'gil/gen_grammar.pir'
.include 'gil/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.