Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: opsc_llvm
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (31 sloc) 0.863 kb
# Copyright (C) 2010, Parrot Foundation.
# Generate a skeleton PIR file that adheres to parrot developer standards.
# intended for people who hack on parrot itself, not users of parrot.
.loadlib 'sys_ops'
.include 'tm.pasm'
.sub 'main' :main
.local pmc timeArray
.local int epoch, year
epoch = time
timeArray = decodetime epoch
year = timeArray[.TM_YEAR]
# split up to avoid various codingstd issues.
print '# Copyright (C) '
print year
say ' Parrot Foundation.'
say ''
say ".sub 'main' :main"
say ' # For Parrot developers.'
say '.end'
say ''
say '# Local Variables:'
say '# mode: pir'
say '# fill-column: 100'
say '# End:'
say '# vim: expandtab shiftwidth=4 ft=pir:'
.end
# 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.