Using the Python Interpreter as a Reference

rusi rustompmody at gmail.com
Fri Nov 25 12:11:01 EST 2011


On Nov 21, 5:46 am, Travis Parks <jehugalea... at gmail.com> wrote:
> Hello:
>
> I am currently working on designing a new programming language. It is
> a compiled language, but I still want to use Python as a reference.
> Python has a lot of similarities to my language, such as indentation
> for code blocks, lambdas, non-locals and my language will partially
> support dynamic programming.
>
> Can anyone list a good introduction to the files found in the source
> code? I have been poking around the source code for a little bit and
> there is a lot there. So, I was hoping someone could point me to the
> "good parts". I am also wondering whether some of the code was
> generated because I see state transition tables, which I doubt someone
> built by hand.
>
> Any help would be greatly appreciated. It will be cool to see how the
> interpreter works internally. I am still wonder whether designing the
> language (going on 4 months now) will be harder than implementing it.
>
> Thanks,
> Travis Parks

- compiled language
- indentation based
- functional programming features

Looks like a description of Haskell.  You may want to look there.

Back end: LLVM is gaining a lot of traction these days. Seems to give
best of both worlds -- compiling to C and to machine code



More information about the Python-list mailing list