Re: [Python-Dev] Help wanted on a code generator project

2010-01-26 Thread Yingjie Lan
> Note that pretty much everyone who reads this list will > likely also read > c.l.py, but c.l.py has a much broader audience, including a > lot of people > who write extension modules in one way or another. Thanks for the note. I googled c.l.py but found few pages (one link said it is a dead li

Re: [Python-Dev] Help wanted on a code generator project

2010-01-26 Thread Yingjie Lan
> note that this is quite off-topic for this list, which is > about the > development of the CPython interpreter and runtime > environment. Sorry if this is bothering you. I thought here are a lot of people who knows how to write extensions, and has a lot of experiences. These are exactly the be

[Python-Dev] Help wanted on a code generator project

2010-01-26 Thread Yingjie Lan
Hi, I am working on a project named expy, which intends to be an express way to extend Python (currently only supports extension in C, but could be easily expaned to support more languages). With expy you can write your code as a real python module, then expy would generate the actual code. I'

Re: [Python-Dev] expy: an expressway to extend Python

2009-08-14 Thread Yingjie Lan
--- On Sat, 8/8/09, Stefan Behnel wrote: > From: Stefan Behnel > Subject: Re: [Python-Dev] expy: an expressway to extend Python > To: python-dev@python.org > Date: Saturday, August 8, 2009, 4:55 PM > > More details at http://expy.sourceforge.net/ > > I'm clearly biased, but my main concern here

Re: [Python-Dev] Reasons for using expy

2009-08-05 Thread Yingjie Lan
> From: Nick Coghlan > Subject: Re: [Python-Dev] Reasons for using expy > To: "Yingjie Lan" > Cc: python-dev@python.org > Date: Thursday, August 6, 2009, 1:44 AM > This kind of advocacy for external projects belongs on > python-list, not > python-dev (or, if

[Python-Dev] Reasons for using expy

2009-08-05 Thread Yingjie Lan
Hi, The expy project provides an express way to extend Python. After some careful considerations, I came up with some reasons for expy (this is not an exhaustive list): (I). WYSIWYG. The expy project enables you to write your module in Python the way your extension would be (WYSIWYG), and mea

Re: [Python-Dev] expy: an expressway to extend Python

2009-07-21 Thread Yingjie Lan
--- On Wed, 7/22/09, Oleg Broytmann wrote: > From: Oleg Broytmann > Subject: Re: [Python-Dev] expy: an expressway to extend Python > To: python-dev@python.org > Date: Wednesday, July 22, 2009, 12:45 AM > On Tue, Jul 21, 2009 at 04:26:52PM > -0400, Eric Entin wrote: > > I think the point of his

Re: [Python-Dev] expy: an expressway to extend Python

2009-07-21 Thread Yingjie Lan
Hi, Here is a brief example on how to use expy to implement the math module: (for more details, see http://expy.sf.net/) """Python math module by expy-cxpy.""" from expy import * expymodule(__name__) #includes, defines, etc. @prologue def myprolog(): return """ #include """ @function(d

[Python-Dev] expy: an expressway to extend Python

2009-07-20 Thread Yingjie Lan
Hi All, This is to announce the initial release of expy 0.1.0. More details at http://expy.sourceforge.net/ Thanks! Yingjie ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: ht

[Python-Dev] Syntax for parsing tuples/lists into C arrays

2009-06-25 Thread Yingjie Lan
The current C API does not support directly parsing into C arrays. Parsing tuples into C arrays can be greatly facilitated with the introduction of a natural extension of the current parsing syntax. I'd like to propose a syntax extension to facilitate that kind of tasks, and would appreciate yo