Re: Loading Rakudo's perl6.pbc from the Parrot embedding API

2010-06-04 Thread Jonathan Leto
Howdy, This PIR code .sub main load_bytecode '/Users/leto/svn/parrot/installed_parrot/lib/2.4.0-devel/languages/perl6/perl6.pbc' .end gives the exact same error message, so this issue does not appear to be specific to the Parrot embedding API. Duke -- Jonathan "D

Loading Rakudo's perl6.pbc from the Parrot embedding API

2010-06-03 Thread Jonathan Leto
Howdy, I am trying to load an installed perl6.pbc from the Parrot embedding API like this: #include "parrot/embed.h" #include "parrot/extend.h" Parrot_Interp interp; int main(int argc, char *argv[]) { Parrot_PMC func_pmc; Parrot_String err, filename; Pa

FYI embedding API change

2005-03-25 Thread Leopold Toetsch
A lot of the packfile functions that didn't take an C as first argument now have one. This change was necessary to switch PMC constants {un,}packing to freeze/thaw eventually. Sorry for the disruption and the big patch, but it's an all or nothing thingy basically. Thanks, leo

embedding API

2003-08-02 Thread Jeff Horwitz
i'm beginning to explore the concept of embedding parrot so i can eventually add Perl 6 support to extproc_perl (embeds perl in oracle). i was talking with dan at OSCON a few weeks ago about accessing data from an embedded parrot interpreter, and i know he is probably moving it up in his priority l

Re: RFC 323 (v1) Perl's embedding API should be simple

2000-09-26 Thread Dan Sugalski
routines to: * Create an interpreter * Destroy an interpreter * Run a string * Register a callback function in the embedding app. (I was thinking in the HOST package) Getting/setting values and messing with perl variables in general were things I specifically wanted left *out* of the embeddi

RFC 323 (v1) Perl's embedding API should be simple

2000-09-26 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Perl's embedding API should be simple =head1 VERSION Maintainer: Simon Cozens <[EMAIL PROTECTED]> Date: 26 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 323 Version: 1 Status: