lua-users home
lua-l archive

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


On 2020-08-12 14:47, Philippe Verdy wrote:
"Polyglot programs" are useful in many contexts, notably for
sharing some common settings in a centralized place

The way I use it is to store table data in a way which is both Lua and Python compatible, and have comments in both Lua and Python. For example: https://github.com/samboy/covid-19-html/blob/master/stateNameAbbr.lua

— Sam