you'll probably want to use the Parrot_call_sub_* API to call individual
subroutines and get return values.  "perldoc extend.c" in the parrot
source for more info.  you might also have a look at the mod_parrot source
(http://www.smashing.org/mod_parrot), which is one of the few apps
embedding parrot at the moment.  the other is pugs (http://www.pugscode.org),
but it's written in haskell.

-jeff


On 17 May 2005, Colin Paul Adams wrote:

> Hello,
>
> I am writing an XSLT 2.0 processor, and I want to give users the
> option to write their own message and error handling routines and the
> like in their favourite scripting language. So I thought of using
> parrot.
>
> But when I look at http://www.parrotcode.org/docs/embed.html, I can
> see no way of getting information back from the script - not even an
> exit code. Is there anyway of doing this that I have missed?
> --
> Colin Adams
> Preston Lancashire
>

Reply via email to