C interpreter in Lisp/scheme/python

geremy condra debatem1 at gmail.com
Wed Jul 14 02:18:10 EDT 2010


On Tue, Jul 13, 2010 at 11:01 PM, bolega <gnuist006 at gmail.com> wrote:
> On Jun 20, 9:31 pm, Richard Fateman <fate... at cs.berkeley.edu> wrote:
>> Define Macro wrote:
>> > On Jun 13, 7:07 pm, bolega <gnuist... at gmail.com> wrote:
>> >> I am trying to compare LISP/Scheme/Python for their expressiveness.
>>
>> >> For this, I propose a vanilla C interpreter. I have seen a book which
>> >> writes C interpreter in C.
>>
>> >> The criteria would be the small size and high readability of the code.
>>
>> >> Are there already answers anywhere ?
>>
>> Sure.  Lots of texts on compilers provide exercises which, in one way or
>> another suggest how to write an interpreter and perhaps a compiler too
>> for some language.  Anyone taking a course on compilers is likely to
>> have followed such exercises in order to pass the course.  Some
>> instructors are enlightened enough to allow students to pick the
>> implementation language.
>>
>> Ask any such instructor.
>
>
>
> Beware, he does not tell the readers the financial details. This is
> what he wrote to me by email.
>
> <quote>
> I would be willing to meet with you here in Berkeley to educate you on
> these matters at a consulting rate of  $850 per hour, with a minimum
> of 8 hours.
>
> RJF
> </quote>

He's Berkeley's former CS chair and was implementing lisp before
common lisp was a twinkle in anybody's eye. His time is valuable.

Geremy Condra



More information about the Python-list mailing list