Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Perl 1 compiler for the Parrot Virtual Machine
Perl Parrot F# Max Stata C++
tree: 11e6f9656c

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
config/makefiles
src
t
MAINTAINER
Makefile
README
demo.p1
overview.pod
punie.pir

README

This is Punie, version 0.1.0
-----------------------------

Description
-----------

Perl1 implemented in PIR with the help of
TGE, Tree Grammar Engine, and PGE, Parrot Grammar Engine.

Status
------

So far, Punie handles constants (strings, integers, floats), variables, print
statements, conditionals, do blocks, comma lists, and some basic math
and logic ops. 

Punie is Copyright (C) 2005-2006, Parrot Foundation.

LICENSE INFORMATION
-------------------

This code is distributed under the same license as Parrot; you can
redistribute it and/or modify it under the terms of either:

    a) the GNU General Public License

    b) the "Artistic License"

as found in the "LICENSES" directory at the top level of the Parrot
distribution.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either
the GNU General Public License or the Artistic License for more
details.

PREREQUISITES
-------------

Punie depends on Parrot, particularly on version 0.2.2 or higher, when
grammar support was introduced to PGE (the Parrot grammar engine).

INSTRUCTIONS
------------

Compile Punie to bytecode and run its test suite:

  $ make
  $ make test

Run the Punie compiler via Parrot, passing it the path to a Perl 1
source file as the only argument:

  $ ./parrot languages/punie/punie.pbc demo.p1
Something went wrong with that request. Please try again.