Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 43 lines (25 sloc) 0.611 kB
809b4e1 Initial git commit
Jarrod authored
1
dd934e1 @fperrad refactor with opcode 'load_language'
fperrad authored
2 =head1 TITLE
809b4e1 Initial git commit
Jarrod authored
3
dd934e1 @fperrad refactor with opcode 'load_language'
fperrad authored
4 xyz.pir - A fun compiler.
809b4e1 Initial git commit
Jarrod authored
5
dd934e1 @fperrad refactor with opcode 'load_language'
fperrad authored
6 =head2 Description
809b4e1 Initial git commit
Jarrod authored
7
dd934e1 @fperrad refactor with opcode 'load_language'
fperrad authored
8 This is the entry point for the fun compiler.
809b4e1 Initial git commit
Jarrod authored
9
10 =head2 Functions
11
12 =over 4
13
14 =item main(args :slurpy) :main
15
16 Start compilation by passing any command line C<args>
17 to the fun compiler.
18
19 =cut
20
21 .sub 'main' :main
22 .param pmc args
23
dd934e1 @fperrad refactor with opcode 'load_language'
fperrad authored
24 #Put the arguments into the private namespace for argc/argv to use.
25 set_hll_global ['private'], 'args', args
26
27 load_language 'fun'
28
29 $P0 = compreg 'fun'
30 $P1 = $P0.'command_line'(args)
f6406dd Added getundeferror/setundeferror. They don't work yet, I need to rew…
Jarrod authored
31 .end
32
809b4e1 Initial git commit
Jarrod authored
33 =back
dd934e1 @fperrad refactor with opcode 'load_language'
fperrad authored
34
809b4e1 Initial git commit
Jarrod authored
35 =cut
36
37 # Local Variables:
38 # mode: pir
39 # fill-column: 100
40 # End:
41 # vim: expandtab shiftwidth=4 ft=pir:
42
Something went wrong with that request. Please try again.