Re: [Tutor] Any stuff about python interpreter design ?

2006-03-09 Thread Bo Yang
Danny Yoo said:
>> So I take a look into the source code .But I get confused about so many
>> files and functions . I want to ask that is there any stuff about the
>> interpreter design and coding ?
>> 
>
> [meta: my reply is really about Scheme, not Python.  My apologies to the
> list, but it's my honest answer.]
>
> Hi Bo,
>
> There are several books and online material about the writing of
> interpreters.  The ones that I'm most aware aware of that are aimed at
> beginner programmers, though, target the language 'Scheme'.  The core
> Scheme language has a fairly minimal syntax and semantics, and it's simple
> enough that it's not too bad for beginner to understand (and write!) a
> usable Scheme interpreter.
>
> So you may find it useful to learn about interpreters by looking at Scheme
> interpreters.  And even though it's not Python, it's still very related
> and applicable; if you have a model of how a Scheme interpreter works,
> you'll be better equipped to understand in general how interpreters work.
>
>
> For example, the textbook "How to Design Programs":
>
> http://www.htdp.org/
>
> starts covering the evaluation of a programming language by about Chapter
> 14:
>
> http://www.htdp.org/2003-09-26/Book/curriculum-Z-H-19.html#node_sec_14.4
>
>
> Here are other Scheme resources about interpretation (the first two links
> contain online books):
>
> http://mitpress.mit.edu/sicp/
> http://www.cs.brown.edu/~sk/Publications/Books/ProgLangs/
> http://www.cs.indiana.edu/eopl/
> http://www-spi.lip6.fr/~queinnec/WWW/LiSP.html
>
> If you have more questions, please feel free to ask!
>
>
>   
I  feeled the people in this mailing list are very really friendly , I 
will follow your links
and ask again if I have any questions !


Regards !
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Any stuff about python interpreter design ?

2006-03-09 Thread Danny Yoo
> So I take a look into the source code .But I get confused about so many
> files and functions . I want to ask that is there any stuff about the
> interpreter design and coding ?

[meta: my reply is really about Scheme, not Python.  My apologies to the
list, but it's my honest answer.]

Hi Bo,

There are several books and online material about the writing of
interpreters.  The ones that I'm most aware aware of that are aimed at
beginner programmers, though, target the language 'Scheme'.  The core
Scheme language has a fairly minimal syntax and semantics, and it's simple
enough that it's not too bad for beginner to understand (and write!) a
usable Scheme interpreter.

So you may find it useful to learn about interpreters by looking at Scheme
interpreters.  And even though it's not Python, it's still very related
and applicable; if you have a model of how a Scheme interpreter works,
you'll be better equipped to understand in general how interpreters work.


For example, the textbook "How to Design Programs":

http://www.htdp.org/

starts covering the evaluation of a programming language by about Chapter
14:

http://www.htdp.org/2003-09-26/Book/curriculum-Z-H-19.html#node_sec_14.4


Here are other Scheme resources about interpretation (the first two links
contain online books):

http://mitpress.mit.edu/sicp/
http://www.cs.brown.edu/~sk/Publications/Books/ProgLangs/
http://www.cs.indiana.edu/eopl/
http://www-spi.lip6.fr/~queinnec/WWW/LiSP.html

If you have more questions, please feel free to ask!

___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] Any stuff about python interpreter design ?

2006-03-09 Thread Bo Yang
Hello ,
I have learned and used python half a year , and I like this language
very much . I used it in my web server page , in my homework and
part-tiem job .
Recently , I feel very interested in the python interpreter .
So I take a look into the source code .But I get confused about
so many files and functions .
I want to ask that is there any stuff about the interpreter
design and coding ?

Thanks in advance !

Regards !
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor