lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]




On 21/11/16 11:34 AM, mathieu stumpf guntz wrote:


Le 21/11/2016 à 12:46, Soni L. a écrit :


On 20/11/16 07:20 PM, mathieu stumpf guntz wrote:

[snip]


Kind regards,
Mathieu


Why localize at all?

Why not *un*localize?

Replace every keyword with symbols, that'll be the basis to getting "universal lua" working. Then allow just about any unicode character in identifiers. Then rename the "require" function somehow, and use something like _ENV = require("esperanto") to switch language.

Well, this description of "unlocalizing", is somewhat an internalization process, isn't it? Or am I missing some point?


Yes, but language-agnostic rather than language-specific. It requires no change to the VM in order to add new languages - just create a module for the new language. It also supports multiple languages at the same time (in the same VM).

--
Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.