[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C interpreter in Lisp/scheme/python
From: |
fortunatus |
Subject: |
Re: C interpreter in Lisp/scheme/python |
Date: |
Wed, 08 Dec 2010 15:13:48 -0000 |
User-agent: |
G2/1.0 |
On Jun 13, 7:07 pm, bolega <gnuist...@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 ?
>
> How would a gury approach such a project ?
>
> Bolega
Holy cow has this gone off topic! To OP - start writing a C context
free grammar of a subset of C (arithmetic expressions IMHO are the
historical root of C and a good place to start in any case), start
writing a parser of a subset of your subset grammar (in a lisp of your
chioce - Scheme and CL for instance are going to be pretty much
equivalent in this task), and really the rest will be obvious...
I'd go that far before posting on the topic again...
- C interpreter in Lisp/scheme/python, bolega, 2010/12/08
- Re: C interpreter in Lisp/scheme/python, Albert van der Horst, 2010/12/09
- Re: C interpreter in Lisp/scheme/python,
fortunatus <=
- Re: C interpreter in Lisp/scheme/python, Define Macro, 2010/12/09
- Message not available
- Re: C interpreter in Lisp/scheme/python, bolega, 2010/12/08
- Message not available
- Re: C interpreter in Lisp/scheme/python, bolega, 2010/12/08
- Re: C interpreter in Lisp/scheme/python, francogrex, 2010/12/09
- Re: C interpreter in Lisp/scheme/python, George Neuner, 2010/12/09
- Re: C interpreter in Lisp/scheme/python, francogrex, 2010/12/09
- Re: C interpreter in Lisp/scheme/python, Seebs, 2010/12/09
Re: C interpreter in Lisp/scheme/python, Mark Tarver, 2010/12/09
Re: C interpreter in Lisp/scheme/python, Gene, 2010/12/09