love2d-community / awesome-love2d

A curated list of amazingly awesome LÖVE libraries, resources and shiny things.
Creative Commons Zero v1.0 Universal
3.33k stars 209 forks source link

Added: MeowUI #269

Closed Tourahi closed 1 month ago

Tourahi commented 1 month ago

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.

alejandro-alzate commented 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.

MikuAuahDark commented 1 month ago

I suggest adding pre-compiled Lua files for ease of user-end installation who doesn't use MoonScript.

alejandro-alzate commented 1 month ago

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

alejandro-alzate commented 1 month ago

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.

Tourahi commented 1 month ago

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.

MikuAuahDark commented 1 month ago

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.

Tourahi commented 1 month ago

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.

alejandro-alzate commented 1 month ago

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

alejandro-alzate commented 1 month ago

Hooray!