[Python-ideas] Truly international Python

Nick Coghlan ncoghlan at gmail.com
Wed Dec 1 11:49:19 CET 2010


On Wed, Dec 1, 2010 at 8:38 PM, spir <denis.spir at gmail.com> wrote:
> On Tue, 30 Nov 2010 19:47:56 -0700
> Dima Tisnek <dimaqq at gmail.com> wrote:
>
>> Basically some languages might require a different parser and/or "front-end".
>
> I think you are right here. What is needed is "Pedon", a pedagogical variant, also natural-language independant. I first thought this was precisely the point of the dedicated community (CP4E, EDU-SIG...).
> This could be done via a dedicated editor introducing custom lexical and syntactic variant, then transcoded into standard python for storage (and transcoded back according to config at module load time into the editor). Indeed, interaction with other modules can work fine in the general case only when using the same set of customizations, because of keyword (and possible key-sign) conflicts. But for pedagogic use, it seems fine.

If you're going to put a different front-end on Python, it makes far
more sense to target the ASDL than the concrete syntax. PyPy is also
almost certainly a more fruitful platform for this kind of
experimentation than CPython :)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia



More information about the Python-ideas mailing list