[antlr-interest] multilingual IDE

Johannes Luber jaluber at gmx.de
Fri Sep 5 13:54:11 PDT 2008


Edwards, Waverly schrieb:
> 
> This may be off topic but when people refer to multilingual IDE and
> Unicode, is this ever used within the editor?
> I understand menus, buttons or other controls.  Would the source code
> ever need to be encoded other than
> ASCII?  My question really boils down to is in source code would you
> ever see variables, quoted strings or
> comments in an encoding other than ASCII? I am ignorant on this subject
> but I also cant seem to find any
> examples that would lead me in any direction.  Are non-Latin based
> language speakers forced to use ASCII
> only encoding?

Well, it depends on the programming languages. Newer ones specify their
input as UTF-8 or UTF-16, so people can indeed program in their native
languages (although symbols and keywords won't change - one reason I
program solely in English). Older programming languages specify that
identifiers have to be chosen from [a-zA-Z0-9_], but allow in comments
arbitrary input. This means that either you have to write in English or
to mangle variable names (like "Zähler" as "Zaehler").

Johannes
> 
> 
> Insights of all kinds very much welcome.
> 
> 
> W.
> 
> 
> ------------------------------------------------------------------------
> 
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
> 



More information about the antlr-interest mailing list