develooper Front page | perl.perl6.internals.api.parser | Postings from November 2000

Re: The external interface for the parser piece

Thread Previous | Thread Next
From:
Dan Sugalski
Date:
November 29, 2000 10:40
Subject:
Re: The external interface for the parser piece
Message ID:
5.0.1.4.0.20001129132755.02430040@24.8.96.48
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
dan@sidhe.org                         have teddy bears and even
                                      teddy bears get drunk


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About