Re: [Python-Dev] Python and compilers

2010-04-12 Thread Willian Sodré da Paixão
Thank you all. My decision at the moment is a compiler for PICs to accept a language more like python as possible instead of C. How is a college project "solo", I can guarantee at least the first part, a lexical analyzer. Ass: Wil ('.') ___ Python-Dev ma

Re: [Python-Dev] Python and compilers

2010-04-08 Thread Greg Ewing
Nick Coghlan wrote: I thought RPython already supported this? (admittedly, my knowledge of of the inner workings of PyPy is fairly sketchy, but I thought static compilation of RPython to a variety of backend targets was one of the key building blocks) Maybe so, but one would still have to crea

Re: [Python-Dev] Python and compilers

2010-04-06 Thread Nick Coghlan
Greg Ewing wrote: > Michael Foord wrote: > >> *However*, a project that would be interesting - and that I have >> wanted to do in order to program microcontrollers with *very* small >> memory address spaces [1] - would be to compile a static subset of >> Python down to C. > > That would be an exc

Re: [Python-Dev] Python and compilers

2010-04-06 Thread Michael Foord
On 06/04/2010 23:34, Michael Foord wrote: On 06/04/2010 23:31, "Martin v. Löwis" wrote: will...@ufpa.br wrote: First, thank you for all opnion. Each one was considered. I think the better question would be: I have to develop a project that involves compilers, and being a fan of Python, I though

Re: [Python-Dev] Python and compilers

2010-04-06 Thread Michael Foord
On 06/04/2010 23:31, "Martin v. Löwis" wrote: will...@ufpa.br wrote: First, thank you for all opnion. Each one was considered. I think the better question would be: I have to develop a project that involves compilers, and being a fan of Python, I thought about making a compiler for it (most

Re: [Python-Dev] Python and compilers

2010-04-06 Thread Martin v. Löwis
will...@ufpa.br wrote: > First, thank you for all opnion. Each one was considered. > I think the better question would be: > I have to develop a project that involves compilers, and being a fan of > Python, I thought about making a compiler for it (most basic idea involving > Pythin and compilers).

Re: [Python-Dev] Python and compilers

2010-04-06 Thread Greg Ewing
Michael Foord wrote: *However*, a project that would be interesting - and that I have wanted to do in order to program microcontrollers with *very* small memory address spaces [1] - would be to compile a static subset of Python down to C. That would be an excellent project -- if the result w

Re: [Python-Dev] Python and compilers

2010-04-06 Thread Michael Foord
On 06/04/2010 12:44, will...@ufpa.br wrote: First, thank you for all opnion. Each one was considered. I think the better question would be: I have to develop a project that involves compilers, and being a fan of Python, I thought about making a compiler for it (most basic idea involving Pythin an

[Python-Dev] Python and compilers

2010-04-06 Thread willian
First, thank you for all opnion. Each one was considered. I think the better question would be: I have to develop a project that involves compilers, and being a fan of Python, I thought about making a compiler for it (most basic idea involving Pythin and compilers). But I saw that I can use what I