[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Cratable - Extended table module for Cratera
- From: "Soni L." <fakedme@...>
- Date: Mon, 20 Nov 2017 22:18:39 -0200
On 2017-11-20 10:07 PM, Daurnimator wrote:
On 21 November 2017 at 10:55, Soni L. <[email protected]> wrote:
t:[table].insert("Hello")
That's not valid lua code.
I don't remember ever saying "Lua". (The closest I've said is "Lua
fork", and only indirectly.)
Additionally, your code is only 5 lines of code that sets a global
object's metatable....
https://bitbucket.org/TeamSoni/cratable/src/73f6028ef90ee67ced148d894fd93a5333e9a8bd/cratable.lua?at=master&fileviewer=file-view-default#cratable.lua-24
I'm not sure why this is something that deserves to be its own module.
I didn't wanna make another Cratera release for the sake of a 5-line
module. Which would also be far bigger if I had to rewrite it in C.
This also makes it so that if you transpile Cratera to Lua, you can
still seamlessly use Cratable.
--
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.