Re: The external interface for the parser piece
[email protected] (Dan Sugalski) Wed, 29 Nov 2000 13:28:51 -0500
| Newsgroups | perl.perl6.internals.api.parser |
|---|---|
| Message-ID | <[email protected]> |
At 09:51 AM 11/29/00 -0800, Dave Storrs wrote: >I have a feeling this is a stupid question, but I have to ask anyway. > >Do we really need to pass in a PerlInterp pointer? Or can perl6_parse >just create one for itself if/when it needs one? If created, it could of >course be kept around so that it didn't need to be re-created later. Yup, we do. We'd call this (or something like it) when doing the whole eval/do/require/use thing, so we may well be parsing into an existing interpreter. >On Mon, 27 Nov 2000, Dan Sugalski wrote: > > > int perl6_parse(PerlInterp *interp, > > void *source, > > int flags, > > void *extra_pointer); Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [email protected] have teddy bears and even teddy bears get drunk