stress [dev]

Post Reply
User avatar
xyz
Member
Posts: 450
Joined: Thu Nov 10, 2011 14:25

stress [dev]

by xyz » Post

stress is a jQuery-like library for Minetest. More info/documentation here.
Experimental implementation
Some examples (working ones):

Code: Select all

_("default:dirt"):on("place", function(me)
    me:name("default:dirt_with_grass")
end)

Code: Select all

_({0, 0, 0}, {1, 1, 1}):name("air")
Also see an example mod.

To use stress in your mods just depend on it — add

Code: Select all

stress
to depends.txt

Try not to distribute stress with your mods, instead, link to my github repo.

4aiman
Member
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Post

Great job, xyz! Can be handy to shrink mods.
But is that really necessary? I mean, modders community grew so large, 'cause of Lua being easy to learn. This *stress certainly makes it harder to read any code therefore stopping many peoples from learning it's features and syntax. That may result in *stress being unused by a good part of modders.
On the other hand, a converter to *stress would be great.
Anyway, that just my thoughts, no need to reply.

User avatar
xyz
Member
Posts: 450
Joined: Thu Nov 10, 2011 14:25

by xyz » Post

4aiman wrote:Great job, xyz! Can be handy to shrink mods.
But is that really necessary? I mean, modders community grew so large, 'cause of Lua being easy to learn. This *stress certainly makes it harder to read any code therefore stopping many peoples from learning it's features and syntax. That may result in *stress being unused by a good part of modders.
On the other hand, a converter to *stress would be great.
Anyway, that just my thoughts, no need to reply.
I was actually trying to make the syntax more simple than bare lua API. Well, it seems I failed at that.

4aiman
Member
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Post

It is simpler but just not for all. Please, keep working on this!

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests