Using Python to generate code?

Albert Hofkamp hat at se-126.se.wtb.tue.nl
Thu Sep 9 17:33:21 CEST 2004


On Wed, 8 Sep 2004 17:47:16 +0200, Alex Martelli <aleaxit at yahoo.com> wrote:
> Jeremy Bowers <jerf at jerf.org> wrote:
>    ...
>> > 2. Does Python has a parser? It seems to me that there is no-standard
>> > Parser for Python right now. If it is the case, can I interface Python
>> > with existing cup and lex?
>> 
>> Why are you asking about a parser when you are talking about *outputting*
>> code? Is there something left out of the problem description?
> 
> the original poster started his original post with:
> 
>> I need your advice on this matter. I am working on a program which
>> takes some pieces of System-C code in and generate some other System-C
> 
> That "takes some pieces of ... code" sounded to me like an indication
> that a parser is needed -- nothing left out of the problem description,
> IMHO.

For the original poster:

I just discovered that there is a Topic guide about scanners/parsers at
python.org !!
It has quite a list of module links.


Albert
-- 
Unlike popular belief, the .doc format is not an open publically available format.



More information about the Python-list mailing list