[Python-Dev] add new lambda syntax

2013-06-28 Thread Pynix Wang
I want use coffeescript function syntax to write python lambda expression so I modified the Grammar file. ``` atom: ('(' [yield_expr|testlist_comp|vararglist] ')' | '[' [testlist_comp] ']' | '{' [dictorsetmaker] '}' | NAME | NUMBER | STRING+ | '...' | 'None' | 'True' |

Re: [Python-Dev] add new lambda syntax

2013-06-28 Thread Amaury Forgeot d'Arc
2013/6/28 Pynix Wang pynix.w...@gmail.com I want use coffeescript function syntax to write python lambda expression so I modified the Grammar file. ``` atom: ('(' [yield_expr|testlist_comp|vararglist] ')' | '[' [testlist_comp] ']' | '{' [dictorsetmaker] '}' | NAME |

Re: [Python-Dev] add new lambda syntax

2013-06-28 Thread Thomas Wouters
On Fri, Jun 28, 2013 at 7:01 PM, Amaury Forgeot d'Arc amaur...@gmail.comwrote: 2013/6/28 Pynix Wang pynix.w...@gmail.com I want use coffeescript function syntax to write python lambda expression so I modified the Grammar file. ``` atom: ('(' [yield_expr|testlist_comp|vararglist] ')' |