Closed Tourahi closed 1 month ago
You're pretty much the first sharing a moonscript library here, I'm looking forward to this evolve.
Bc mooonscript is a cool oop language and (although as a mess) compiles back to pure lua.
I suggest adding pre-compiled Lua files for ease of user-end installation who doesn't use MoonScript.
I suggest adding pre-compiled Lua files for ease of user-end installation who doesn't use MoonScript.
I suggest the use of a build dir for the lua files
Also fun fact i think moonscript has a runtime compiler for moon files written on pure lua, so if you don't wanna deal with a bunch of obfuscated lua files, you could bundle the interpreter with your library so it compiles on the fly and interfaces with pure lua like nothing happened.
Making the user both agnostic and oblivious of the behind the scenes.
Yes i was actually thinking of making a pre-compiled version attached to the release so the user can just grab and include it without even worrying about moonscript. Thanks for the suggestions i will definitely keep them in mind.
On 2nd thought, let's make "precompiled Lua files" a requirement. It's important that a library is "easy to install" instead of having user bundling MoonScript compiler or using MoonScript.
Let me know once you done that so I can merge this.
Done, MeowUI release 0.1 is out ヾ(^▽^)ノ. You will find the pre-compiled version attached to the release and also there is a new branch master-lua. This way the user can clone from it directly without the need of compiling.
Let me know once you done that so I can merge this.
Done, MeowUI release 0.1 is out ヾ(^▽^)ノ.
Just pinging for good measure. @MikuAuahDark
Hooray!
This might be the first lib here thats written in MoonScript. I had so much fun making it and i hope it will be useful for other devs.