Re: Perl grammar for Perl5 - Perl6

2005-12-08 Thread Christian Renz
Is there such a Perl5-Perl6 translator underway? I started toying with one, but didn't get very far yet. PPI (on CPAN) would be a good way to start, but it needs to be extended to be used as a Perl5-Perl 6 translator. Greetings, Christian -- [EMAIL PROTECTED] - http://christian.web42.com -

Re: Yet another C compiler

2005-10-25 Thread Christian Renz
Maybe someone wants to experiment a bit, if it compiles Parrot. Here's another thought... The ACK achieves maximum portability by using an intermediate byte-code language called EM. (..) EM is a relatively high-level stack-based machine, and one of the tools supplied with ACK is an

Re: wxParrot -- linking problems

2005-10-24 Thread Christian Renz
Ciao Mattia, thanks for your reply. I read a bit about ABI and I guess it's something I only want to touch with a long pole, that pole being an extra layer of indirection I initially hoped to be able to avoid. I like the idea of leveraging the wxPerl XS files. Any comments on why you introduced

Re: Accessing parrot functions/PMCs with Pugs

2005-10-24 Thread Christian Renz
eval(print 1, :langpir) require_parrot 'foo.pir'; Would it also be possible to somehow 'link' it with a parrot bytecode file? Regards, Christian -- [EMAIL PROTECTED] - http://christian.web42.com - http://www.web42.com/crenz/ The computer should be doing the hard work. That's what

Re: Perl 6 fears

2005-10-24 Thread Christian Renz
Feel free to add your own, or fears you heard about! Fear: Perl 6 will not attract enough interested developers and companies to gain momentum. People will continue to be excited about digital watches and PHP 5. Regards, Christian -- [EMAIL PROTECTED] - http://christian.web42.com -

wxParrot -- linking problems

2005-10-22 Thread Christian Renz
Hi all, I've recently decided to try to hook up the wxWidgets GUI library with parrot and Pugs. I haven't dabbled much with parrot yet so I consider this a good way to learn more :-). Right at the start, I ran into a curious problem loading the Wx libraries with loadlib. (I'm on Mac OS X 10.4,

Accessing parrot functions/PMCs with Pugs

2005-10-22 Thread Christian Renz
Hi all, I recently got my feet wet with Pugs. So far, it's been fun :-). However, I couldn't find any information on how to access functions defined in parrot, or even how to use classes defined as PMCs in parrot. Is this possible already? Greetings, Christian -- [EMAIL PROTECTED] -

Re: State of Design Documents

2005-06-15 Thread Christian Renz
taking a look at Marcus Holland-Moritz' powerful Convert::Binary::C ( http://search.cpan.org/dist/Convert-Binary-C/ ). It already offers a way to declaratively convert to/from binary data, which could serve as inspiration for a similar Perl6 interface. Greetings, Christian Renz -- [EMAIL PROTECTED

Re: Parrot - 100% Gnu.NET ?

2003-09-02 Thread Christian Renz
Clemens, classpath I guess the proper term would be class library. The path is only where you look for the libraries :). It doesn't seem to be the Perl way to limit yourself to one option only (There's more than one way to do it). Of course we wouldn't want five different implementations of

Re: We *need* this op! :-)

2003-08-07 Thread Christian Renz
Shouldn't it be the what_do_you_get_if_you_multiply_six_by_nine_then_subtract_twelve op? No, it shouldn't. Meditate about it again and you will be enlightened. Hint: Base 13. Greetings, Christian -- [EMAIL PROTECTED] - http://www.web42.com/crenz/ - http://www.web42.com/ The worst attitude of

Re: [RFC] Dynamic PMC Classes

2003-07-31 Thread Christian Renz
Thanks for the clarification. Does that mean that a mechanism for dynamic PMCs would automatically allow them to be written in Parrot also (and not only load binary libs)? -- [EMAIL PROTECTED] - http://www.web42.com/crenz/ - http://www.web42.com/

Re: [RFC] Dynamic PMC Classes

2003-07-30 Thread Christian Renz
I don't pretend that I fully understand what dynamic classes are about, but Dan's suggestions made it a lot clearer to me. This seems like one possible way to attach something like wxWindows to parrot. I'm wondering about one thing, however: We build classes as shared libraries, unless otherwise

Re: approaching python

2003-07-24 Thread Christian Renz
to link with python, we should probably write our own parser.[1] Just use Perl 6 to write it :). Ooops... looks like a chicken-and-egg problem... Greetings, Christian

Re: wxWindows Support / Interfacing libraries with Parrot

2003-07-06 Thread Christian Renz
The easiest way isn't avaialble yet. That is custom dynamically loaded PMCs (classes) representing some functionality. Hmm... then I think I misunderstood something. I thought PMCs are only used for language-specific data types (e.g. PerlScalar, PythonString) that are part of the Parrot core and

wxWindows Support / Interfacing libraries with Parrot

2003-07-04 Thread Christian Renz
Actually, I was the one mentioning it in a completely offhand remark in some discussion about the future of wxWindows ;-). I'm not looking for official endorsement of wxWindows as the GUI toolkit for Parrot -- TIMTOWTDI -- but it sure would be sweet to have, and definitely would not hurt

Re: wxWindows Support / Interfacing libraries with Parrot

2003-07-04 Thread Christian Renz
GUI toolkit for Parrot -- TIMTOWTDI -- but it sure would be sweet to have, and definitely would not hurt Parrot-based application Whoops. Just to clarify: It would be sweet to have an interface for wxWindows in Parrot -- not the official endorsement. And let me try to formulate a nice and clear

Re: P6ML?

2003-03-25 Thread Christian Renz
of crap known as XSL. An XML-based derivative that performs XML transformations, allowing/using embedded P6 regexs, closures, etc., and able to more easily translate XML == P6 data. I'm still quite XML-phobic, but I see the need for strong XML support in Perl 6. However, I'd like to work with

Re: Apocalypse 6: Possible file-transfer glitch?

2003-03-10 Thread Christian Renz
It survived a few refreshes, so I wonder if it's a file-transfer problem? No, Larry is just presenting additional proof that we need Unicode operators in Perl 6 by using them in English, too. :) Greetings, Christian -- [EMAIL PROTECTED] - http://www.web42.com/crenz/ - http://www.web42.com/ The

Re: AW: my int( 1..31 ) $var ?

2003-01-04 Thread Christian Renz
Now, I might be stupid, but I keep asking myself what you would need a property for in this example. To me, it totally confuses the underlying structure. When was the last time you asked an integer to identify itself as a valid credit card number? It is _not_ a property of the integer that it is

Re: 'while {' in Perl 6

2002-08-09 Thread Christian Renz
I was wondering whether the Perl 'while (){' idiom will continue to be supported in Perl 6? Actually, I once found myself wondering why while doesn't set $_ all the time anyway... It would be nice to do things like while ($iterator-each()) { ... } while (query-nextResult()) { ... }

split suggestion

2002-08-02 Thread Christian Renz
perl 5 already does that: print '$_' foreach split /(=)/, rank=?; print \n; print '$_' foreach split /\s*(=)\s*/, rank = ?; print \n; # Output: # 'rank' '=' '?' # 'rank' '=' '?' Greetings, Christian -- [EMAIL PROTECTED] - http://www.web42.com/crenz/ - http://www.web42.com/ Faith (...)