Re: HLL's, PMCs...

2006-05-14 Thread Patrick R. Michaud
On Sun, May 14, 2006 at 04:17:31PM -0400, Will Coleda wrote: > Is it possible to load a languages PMCs and create the .PMCtype > constants without using the .HLL pragma? Try :immediate. .sub _immediate :immediate $P1 = loadlib 'tcl_group' .end .sub main :main $P1 =

inconsistent load* opcodes

2006-05-14 Thread Will Coleda
.sub mariner $P1 = loadlib 'chud' say "ok 1" load_bytecode 'chud' say "ok 2" .end Suggestion: 1) make the $P1 optional on the loadlib - most of the example usages for loadlib ignore the returned PMC status. (Keep that variant as it's need for dlfunc, etc.) 2) make loadlib throw an ex

Re: Variadic Multi-Dispatch (or, M-D on certain invocants only)

2006-05-14 Thread chromatic
On Sunday 14 May 2006 01:33, Leopold Toetsch wrote: > .sub some_function :multi( Array ) > .param pmc args > print "array\n" > .end > > .sub some_function :multi( string ) > .param string first_arg > .param pmc args :slurpy > print "string\n" > .end > .sub main :main >

HLL's, PMCs...

2006-05-14 Thread Will Coleda
Is it possible to load a languages PMCs and create the .PMCtype constants without using the .HLL pragma? .HLL mucks with namespaces, which I don't want to (am not prepared to) deal with at the moment in APL. I do, however, want to dynamically load a library containing a PMC for APL to use.

Release done

2006-05-14 Thread Leopold Toetsch
I hope all is working fine. May the checkins begin again. leo

Parrot 0.4.4 "Feather" Released!

2006-05-14 Thread Leopold Toetsch
On behalf of the Parrot team I'm proud to announce another monthly release of Parrot. I'd like to thank all involved people as well as our sponsors for supporting us. What is Parrot? Parrot is a virtual machine aimed at running Perl6 and other dynamic languages, see

No more checkins please

2006-05-14 Thread Leopold Toetsch
I'm starting releasing now. leo

Re: Variadic Multi-Dispatch (or, M-D on certain invocants only)

2006-05-14 Thread Leopold Toetsch
On May 14, 2006, at 9:22, chromatic wrote: I have a spot in Pheme where I'd like to use multi-dispatch on only the first argument to a function. The function itself is slurpy. That is: Completing your example: .sub some_function :multi( Array ) .param pmc args print "array\n" .end

Variadic Multi-Dispatch (or, M-D on certain invocants only)

2006-05-14 Thread chromatic
Hi there, I have a spot in Pheme where I'd like to use multi-dispatch on only the first argument to a function. The function itself is slurpy. That is: .sub some_function :multi( Array ) .param pmc args # ... .end .sub some_function :mul