Re: The external interface for the parser piece
[email protected] (Tom Hughes) 29 Nov 2000 14:43:20 +0000
| Newsgroups | perl.perl6.internals.api.parser |
|---|---|
| Organization | Just Me |
| Message-ID | <[email protected]> |
In message <[email protected]> Dan Sugalski <[email protected]> wrote: > At 10:42 AM 11/29/00 +0000, Nick Ing-Simmons wrote: > > >FILE * is not a good idea. PerlIO * is fine. > > The problem with that is we're potentially getting the filehandle from > something that isn't perl. Or so my thinking went at the time. Right > now I'm thinkng that I need to rethink things. That shouldn't matter so long as there's a simple way to create a PerlIO * from a FILE * or whatever. That's probably something that needs to be specific to different language bindings - if you're embedding perl in C++ you probably have an iostream, and if you're embedding in Java you'll have a Java stream object. In each case you'll want an easy way to create a PerlIO object from that. Tom -- Tom Hughes ([email protected]) http://www.compton.nu