On 2017-09-24 02:35 PM, Charles Heywood wrote:
> I'd rather it not be split in two personally.
Multiple versions, LuaJIT, different implementations, etc.
It makes sense to split source code and bytecode, but bytecode is an
implementation detail and should be registered by each Lua
implementation, *if they want to*. LuaJIT is the only Lua implementation
that treats bytecode as part of the API.
Source code should also accept "versions" rather than "version": you can
write Lua code that runs on all of Lua 5.1 to Lua 5.3, as long as it's
in source form.
> On Sun, Sep 24, 2017, 12:07 PM Oliver Kroth <email@example.com
> <mailto:firstname.lastname@example.org>> wrote:
> > And maybe whether it’s precompiled byte code or source code?
> That could be signalled by text/lua (source code) or application/lua
> Ryan | Charles <email@example.com <mailto:firstname.lastname@example.org>>
> Software Developer / System Administrator
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.