Re: Source code generation using Python

2008-12-08 Thread Jorgen Grahn
On Sat, 6 Dec 2008 13:47:26 -0800 (PST), ats <[EMAIL PROTECTED]> wrote: > Hello, > > This is my first posting to a Python group (and I'm starting with > Python seriously only now) , so bear with me if I make some mistakes. > > I want to generate 3 different versions of a C++ source code, > basicall

Re: Source code generation using Python

2008-12-07 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ats wrote: > I want to generate 3 different versions of a C++ source code, > basically injecting different flavours of inline assembler depending > on target compiler/CPU. Are you aware that there are also packages that let you generate and call C cod

Re: Source code generation using Python

2008-12-07 Thread Alia Khouri
> Any suggestions? I've happily used Cheetah with Leo (http://webpages.charter.net/ edreamleo/front.html) to organise and script my code generation needs, but you may also be happy with cog (http://nedbatchelder.com/code/ cog/). AK -- http://mail.python.org/mailman/listinfo/python-list

Re: Source code generation using Python

2008-12-06 Thread ats
On Dec 6, 11:19 pm, Philip Semanchuk <[EMAIL PROTECTED]> wrote: > On Dec 6, 2008, at 4:47 PM, ats wrote: > > > > > Hello, > > > This is my first posting to a Python group (and I'm starting with > > Python seriously only now) , so bear with me if I make some mistakes. > > > I want to generate 3 diff

Re: Source code generation using Python

2008-12-06 Thread Philip Semanchuk
On Dec 6, 2008, at 4:47 PM, ats wrote: Hello, This is my first posting to a Python group (and I'm starting with Python seriously only now) , so bear with me if I make some mistakes. I want to generate 3 different versions of a C++ source code, basically injecting different flavours of inline

Source code generation using Python

2008-12-06 Thread ats
Hello, This is my first posting to a Python group (and I'm starting with Python seriously only now) , so bear with me if I make some mistakes. I want to generate 3 different versions of a C++ source code, basically injecting different flavours of inline assembler depending on target compiler/CPU.