ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> types-sig
types-sig
[Types-sig] Re: PEP 269
by Martin von Loewis other posts by this author
Sep 17 2001 7:13AM messages near this date
Re: [Types-sig] Re: PEP 269 | [Types-sig] Re: PEP 269
>  As stated in the PEP, one of the primary motiviations for the proposal is
>  to allow grammar extensions to be prototyped in Python (esp. optional
>  static typing.)  I would argue that making actual changes to CPython is
>  much more expensive than writing a front end in Python.  By adding a pgen
>  module to Python, I feel that we are not bloating Python so much as we are
>  exposing funtionality already built into Python.

The potential problem is that this new module must then be supported
for a long time. People will propose extensions to it, which must be
evaluated, and every change must be reviewed carefully for
incompatibilities.

I'm not opposed to changes. However, I fail to see the value of
prototyping the grammar, since you'll need subsequent changes as well,
to the byte code generation, and perhaps evaluation. Also, I still
doubt anybody interested in changing the grammar couldn't easily
recompile Python.

Regards,
Martin

_______________________________________________
Types-SIG mailing list
Types-SIG@[...].org
http://mail.python.org/mailman/listinfo/types-sig
Thread:
Samuele Pedroni
Martin von Loewis
Jonathan Riehl
Martin von Loewis
Martin von Loewis
Jonathan Riehl
Martin von Loewis
Jonathan Riehl

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved