in reply to Re: Perl 6 - I hope it won't take a decade
in thread Perl 6 - I hope it won't take a decade

The Perl Grammar Engine. This is what will let you redefine Perl6 syntax within a given scope. This should take about another year or so. (It would go quicker if Patrick didn't have to write it in PIR, which is a glorified assembly language.)

Are you serious? About the PIR bit? Also I did a search on PGE and didnt get a lot of useful hits on google (I have terrible google-fu tho), I'd like to look into this to see if I feel up to contributing, but I have to admit I dont see anything I can start with. Where can I get an overview of the status and design of PGE?

---
$world=~s/war/peace/g

  • Comment on Re^2: Perl 6 - I hope it won't take a decade

Replies are listed 'Best First'.
Re^3: Perl 6 - I hope it won't take a decade
by Limbic~Region (Chancellor) on Jan 18, 2006 at 19:58 UTC
    demerphq,
    Glad to see everything I was telling you about this sunk in ;-). pmichaud originally wrote PGE in C but the current project is in PIR. PIR (Parrot Intermediate Representation) is just marginally higher than Parrot assembly (PASM). Don't let that deter you though since PASM is an OO assembly language.

    Besides the information in the parrot repository, you can search for PGE related posts in Perl6.Compiler. I would also recommend talking to Patrick directly.

    Cheers - L~R

      pmichaud originally wrote PGE in C but the current project is in PIR.

      Wow. There must be a good reason for this, but for the life of me, I can't figure it out. Why would you write this in an assembly languge (can you say maintenance nightmare?!?), instead of a high level language? Isn't that what compilers are for? I'm beginning to think a decade is optimistic. Is it just me, or does it seem like anything that touches Parrot turns to stone? Thank goodness for Pugs and A. Tang & Co.

        Have you ever written anything in PIR, read anything about PIR, or even looked at what PIR code supports?

        That's a rhetorical question, by the way. It's a lot easier to work with than C. Patrick has said the same thing.

        Sorry but PIR is a high level language :-) Perhaps you're confusing PIR with PASM which is more akin to an assembly language. Writing PIR is closer to writing in Perl in many ways.

        C isn't a high level language. It's a portable assembly language.

Re^3: Perl 6 - I hope it won't take a decade
by tirwhan (Abbot) on Jan 18, 2006 at 19:32 UTC

    AFAIU it's a part of Parrot. The README and STATUS document may help.


    There are ten types of people: those that understand binary and those that don't.