Search found 161 matches

by TsT
Sat Jul 18, 2015 9:35 pm
Forum: Support and Development
Topic: Int to String
Replies: 12
Views: 6986

Re: Int to String

Conversely, you can do tonumber( string ) to check if a string is a valid number; something far better than my previous (and very hack-ish) method: function isNumber( str ) if pcall( function() return str + 0 end ) then return str + 0 end return false end Hello, You code is ulgy and be able to brea...
by TsT
Mon Mar 16, 2015 5:56 pm
Forum: Libraries and Tools
Topic: [library] Attachment - A Callback Helper Utility for LÖVE
Replies: 10
Views: 7479

Re: [library] Attachment - A Callback Helper Utility for LÖV

Hello, I forked your library and rewrite some part of code. See my pull request I also made my own lib to manage LÖVE callbacks : love modular I use a different approach. I define a passive format to export a module : We can create simple love module without my library. My library read the "exp...
by TsT
Mon Mar 02, 2015 8:22 pm
Forum: General
Topic: I'm an author, oh what language? Lua.
Replies: 3
Views: 3459

Re: I'm an author, oh what language? Lua.

Code: Select all

local writer = require "inspiration"
by TsT
Fri Jan 30, 2015 9:31 am
Forum: General
Topic: Subcategories for Library wiki pages?
Replies: 2
Views: 3569

Re: Subcategories for Library wiki pages?

Hello, I'm absolutely agree with you. I'm feel less lonely ! :) I'm not admin of the wiki, but I decided to try something in this direction. I focused on GUI library for love. I started to manually list all GUI lib found. And create the https://www.love2d.org/wiki/GUI wiki page to work. After that I...
by TsT
Tue Jan 27, 2015 10:46 am
Forum: Libraries and Tools
Topic: [Library] Thranduil
Replies: 23
Views: 18071

Re: [Library, WIP] Thranduil

I added your library in the wiki (you can fix information yourself, if I'm wrong) :

https://www.love2d.org/wiki/Thranduil

Shown in the GUI list :

https://www.love2d.org/wiki/Graphical_User_Interface
by TsT
Sun Jan 11, 2015 3:37 pm
Forum: Libraries and Tools
Topic: [library] newmodule.lua - Make Lua module and init.lua ...
Replies: 4
Views: 9044

Re: [library] newmodule.lua

thanks kikito !
by TsT
Sun Jan 11, 2015 3:16 am
Forum: Libraries and Tools
Topic: [library] newmodule.lua - Make Lua module and init.lua ...
Replies: 4
Views: 9044

Re: [library] newmodule.lua

Ignore this reply, content moved on the 1st post.
by TsT
Sun Jan 11, 2015 2:46 am
Forum: Libraries and Tools
Topic: [library] newmodule.lua - Make Lua module and init.lua ...
Replies: 4
Views: 9044

Re: [library] newmodule.lua

You wrote a simple module named foo.lua : return { hello = function() return "Hello I'm foo" end, } You have one file : foo.lua You decide to put advanced stuff in another module : bar.lua : return { bye = function() return "Good bye" end, } foo.lua modified to be able to load ba...
by TsT
Sun Jan 11, 2015 2:41 am
Forum: Libraries and Tools
Topic: [library] newmodule.lua - Make Lua module and init.lua ...
Replies: 4
Views: 9044

[library] newmodule.lua - Make Lua module and init.lua ...

[library] newmodule.lua - Make Lua module and init.lua becomes easy If you play with Lua module, You probably know that becomes complicate with lot of modules, directories, path, etc. Now I use newmodule everywhere. What is the problem ? The Lua 5.0 introduce the module() function. This way to defi...
by TsT
Tue Nov 13, 2012 1:11 pm
Forum: Support and Development
Topic: utf8 support in pure lua
Replies: 3
Views: 7468

Re: utf8 support in pure lua

Hello spir, Thanks for your feedback. I'm also appreciate to meet someone who cares about Unicode! Unfortunately my current utf8.lua is a simple approach. I tried to support more advanced stuff like lower/upper cases on Unicode, finally I thought it's too complicated... I think if someone want a tru...