[Python-Dev] Needing help to change the grammar (original) (raw)
Glenn Linderman v+python at g.nevcal.com
Mon Apr 13 00:11:26 CEST 2009
- Previous message: [Python-Dev] Needing help to change the grammar
- Next message: [Python-Dev] Going off-line for a week
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On approximately 4/12/2009 2:41 PM, came the following characters from the keyboard of Tony Nelson:
At 16:30 -0400 04/12/2009, Terry Reedy wrote: ...
Source in .pyb (python-brazil) is parsed with with your new parser, ... In case anyone ever does this again, I suggest that the extension be the language and optionally country code: .pypt or .pyptBR
Wouldn't that be a good idea for this implementation too? It sounds like it is not-yet-released, as it is also not-yet-bug-free.
And actually, wouldn't it be nice if international keywords could be accepted as alternates if one just said
import pt_BR
An implementation along that line, except for things like reversing the order of "not" and "is", would allow the next national language customization to be done by just recoding the pt_BR module, renaming to pt_it or pt_fr or pt_no and translating a bunch of strings, no?
Probably it would be sufficient to allow for one language at a time, per module.
-- Glenn -- http://nevcal.com/
A protocol is complete when there is nothing left to remove. -- Stuart Cheshire, Apple Computer, regarding Zero Configuration Networking
- Previous message: [Python-Dev] Needing help to change the grammar
- Next message: [Python-Dev] Going off-line for a week
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]