Search found 4 matches
- Sun Dec 22, 2013 11:30 am
- Forum: Support and Development
- Topic: Bundling large libs?
- Replies: 6
- Views: 2743
Re: Bundling large libs?
Thanks a lot kikito, that was the perfect answer, You're right on lpeg dependency! Didn't pay attention. I've looked at JSON4Lua and it's totally fine. I want to rely on JSON only for loading game data (entity, map definitions, etc), for network I'll probably use a more "packed" format (th...
- Sat Dec 21, 2013 3:15 pm
- Forum: Support and Development
- Topic: Bundling large libs?
- Replies: 6
- Views: 2743
Re: Bundling large libs?
There: % git clone --depth 1 https://github.com/harningt/luajson.git Cloning into 'luajson'... [snip] % cd luajson % PREFIX=../lib make install mkdir -p ../lib/share/lua/5.1 cp -p -r lua/* ../lib/share/lua/5.1 % cd ../lib % mv share/lua/5.1/* . % rm -rf share % ls json json.lua % cd .. % head -1 mai...
- Sat Dec 21, 2013 2:54 pm
- Forum: General
- Topic: If you were to create a programming language...
- Replies: 42
- Views: 24879
Re: If you were to create a programming language...
How about this?Code: Select all
if i == (i or 2 or 4) then
Code: Select all
if i in {1, 2, 4} then
- Sat Dec 21, 2013 2:39 pm
- Forum: Support and Development
- Topic: Bundling large libs?
- Replies: 6
- Views: 2743
Bundling large libs?
Hi all, couldn't figure out how to get Love to love bigger libraries in subdirectores. The one in question is LuaJSON ( https://github.com/harningt/luajson ). I want to keep external dependencies away from my own code, so I'd rather not put random stuff in the package's root folder. The problem pops...