Re: Perl 6 needs you!
by chromatic (Archbishop) on Jun 15, 2002 at 22:00 UTC
|
I've been working with turning Perl 5 bytecode into XML. Would it be somewhat easy to translate that XML into Parrot bytecode? | [reply] [Watch: Dir/Any] |
|
I expect so, yep. (Though as part of the perl5->perl6 converter I'd been considering straight bytecode/optree conversion) Though, alas, not the solution for a perl 6 parser. :)
| [reply] [Watch: Dir/Any] |
|
Though as part of the perl5->perl6 converter I'd been considering straight bytecode/optree conversion
In some article, I read that B::Deparse could be made to output non-perl code in the future. How hard would it be to have it output Perl6 code?
- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.
| [reply] [Watch: Dir/Any] |
|
How/where to start with Perl 6 and the Parrot? (was Re: Perl 6 needs you!)
by atcroft (Abbot) on Jun 16, 2002 at 22:54 UTC
|
Just in case someone runs into this issue, I thought I would go ahead and post this.
Previously, I had already obtained a copy of the Parrot engine thru CVS (current details available at http://dev.perl.org/cvs/), issuing (at the time) the commands:
# cvs -d :pserver:anonymous@cvs.perl.org:/cvs/public login
# cvs -d :pserver:anonymous@cvs.perl.org:/cvs/public co parrot
When I attempted to update this time using the second command again, I received the message
cvs checkout: in directory .:
cvs [checkout aborted]: *PANIC* administration files missing
I was lucky enough to get a response from Elian in the CB, who suggested that I needed to remove the old directory to get it to work (which it did).
My other questions during that session I think others also may have, which included such things as:
- If I don't consider myself a strong/good coder, but want to help, how can I do so?
- What resources are recommended for someone wanting to help out? The Apocalypses? The Exegesises? The perl6-* lists? Others?
I'm sure myself and others have additional questions such as these, or possibly suggestions as well.
| [reply] [Watch: Dir/Any] |
|
What can you do to get yourself up to speed? That's a good question. Here are some suggestions.
- Read the Apocalypses and Exegesises.
- Learn how to write and understand a grammar (in the computer sense--something you'd feed to lex and yacc). Grammars make writing compilers a lot easier.
- General background reading on parsing is good
- Intro CS texts on compiler generation are useful. (Though skip the Dragon book, it's not that good)
- Practice! Write parsers for simple stuff, play with Parse::RecDescent, Parse::YAPP, and Parse::Nibbler, twiddle around.
- Look at the grammars for other languages. Perl and Ruby both have grammars that ship with them. (Though I'm not sure that'll help or hurt...)
- Size up your skills and decide what you realistically are up to. We need folks that can do all sorts of things, not just write compilers, so any and all help's useful.
| [reply] [Watch: Dir/Any] |
Re: Perl 6 needs you!
by jepri (Parson) on Jun 17, 2002 at 04:37 UTC
|
| [reply] [Watch: Dir/Any] |
|
Absolutely. The first step, after getting comfortable with the Apocalypses and Exegeses is to head over to perl6-internals list and poke around some. As people show up and have time, we'll make sure everyone's reasonably coordinated.
The whole task is pretty straightforward--perl 6 goes in, parrot bytecode comes out. That doesn't mean we have to take it in one go, as there are enough intermediate steps to go around.
It's probably also worth taking a mild shot at it by yourself to start, with the knowledge that you'll throw it all away and keep only the experience from it. (Which isn't a bad thing at all--get used to throwing code away, it makes life a lot easier in the long run)
| [reply] [Watch: Dir/Any] |
Re: Perl 6 needs you!
by stefp (Vicar) on Jun 16, 2002 at 15:27 UTC
|
I tried to download the last cvs.
sync -av --delete cvs.parrot.org::parot-HEAD
cvs.perl.org is unreacheable. It has a DNS address but does
not answer even to a ping. :(
--
stefp -- check out TeXmacs
wiki | [reply] [Watch: Dir/Any] [d/l] |
|
Odd. A transitory thing, I presume, since I just did a cvs update and it worked out no problem. Might be shoggoths in the 'net, too--you never can tell.
| [reply] [Watch: Dir/Any] |
|
| [reply] [Watch: Dir/Any] |
|
|
|