develooper Front page | perl.perl6.compiler | Postings from September 2004

Re: Current state?

Thread Previous | Thread Next
From:
Dan Sugalski
Date:
September 14, 2004 10:40
Subject:
Re: Current state?
Message ID:
a06110401bd6cdd3b641c@[10.0.1.5]
At 4:03 PM +0200 9/14/04, James Mastros wrote:
>Now for the cons:
>- The compilation interface doesn't have any way to be given a bunch of
>   code that includes code in the target language in the beginning, that
>   will consume that, then hand the rest back to us.
>- This means that the grammar parser has to figure that out itself.
>- ...until we extend the compilation interface.
>- It means that we have a more complicated grammar engine (slightly).
>- It means that we're changing the one bit of perl6 that we just said
>   hadn't been changed much.

It would seem to me that the "right" thing to do is to use the 
language of the currently running sub, which could be queried easily 
enough if subs carried along with them the language that they are 
written in.

Which, since we don't do that now, would seem to be a sensible thing 
to add to all sub PMCs.
-- 
				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