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 -
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
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
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
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 -
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,
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] -
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
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
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
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/
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
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
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
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
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
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
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
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
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()) { ... }
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 (...)
21 matches
Mail list logo