develooper Front page | perl.bootstrap | Postings from July 2000

PI (was Re: parse Perl in Perl?)

Nick Ing-Simmons
July 24, 2000 20:11
PI (was Re: parse Perl in Perl?)
Message ID:
Chip Salzenberg <> writes:
>According to Nick Ing-Simmons:
>> Chip's pre-C++ mechanism was to use "PI" (Perl Implementation
>> language) Chip then went on to say this is because he "hates
>Actually, Nick, I think you misunderstood.  PI still exists and is
>still a possible part of the Perl 6 puzzle, but it doesn't solve the
>embedding problem.  It just solves the *inheritance* problem.
>I consider something like '' to be a necessary price to pay
>for using a language as low-level as C for tasks like embedding.

I think you misunderstood too - not hard as you were still packing up
when we had discussion ;-)

Given that PI (or whatever) is writing out the to-be-cc-ed C code
adding a bit here and there; it may as well s/foo/PL_foo/ or even
s/foo/(*(*PLinterp-> or whatever the current flavour 
of the month is for the result off CPPing with generated embed.h.

Then there is no CPP messiness in the C code so no name clashes.

Think of it as a bit like C-front C++ compiler. 

Nick Ing-Simmons Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About