[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: another take on hackers and painters



"Anton van Straaten" <anton@appsolutions.com> writes:
> Steve Dekorte wrote:
> 
> > I agree that that is cheating -  it sounds like a language on top of
> > Java, and not Java itself. Kinda like saying any turning complete
> > language could implement eval.
>
> [snip] ...
>
> The "cheating" part is that someone has to implement a parser and other
> evaluation machinery in order to achieve this.  But it can and has been
> done, which you can't say of every language.
> 
> Anton

It should be pointed out that even Scheme implementations (if they are
compiled) require a hand-written eval function, and the "read"
function is a parser.  The only difference is that in scheme eval
ships with the language implementation.

-Jan-Willem Maessen
jmaessen@alum.mit.edu