Search found 6 matches
- Sun Apr 26, 2020 6:18 pm
- Forum: Support and Development
- Topic: Build Love with Ruby instead of Lua
- Replies: 13
- Views: 7653
Re: Build Love with Ruby instead of Lua
I believe that doing this would "just" involve rewriting the wrap_XXXX source files and the Lua scripts, and maybe a few other changes. I don't think the code depends on Lua in any other part. At least a grep for Lua reveals pretty few instances out of these files; I think I only found on...
- Sun Apr 26, 2020 1:25 am
- Forum: Support and Development
- Topic: Build Love with Ruby instead of Lua
- Replies: 13
- Views: 7653
Re: Build Love with Ruby instead of Lua
That said, if you really want to write a ruby interpreter, whether to replace LuaJIT or even just in lua, that's up to you and is in fact a more gargantuan task than if you just started coding your game at this moment. :monocle: I can, I made games with LUA and not just in Love, but the purpose of ...
- Sat Apr 25, 2020 8:05 pm
- Forum: Support and Development
- Topic: Build Love with Ruby instead of Lua
- Replies: 13
- Views: 7653
Re: Build Love with Ruby instead of Lua
Besides classes (which can be done with lua) what do you need that lua doesn't offer but ruby does? I have used Lua for a long time, I want to use something new, but still using Love, and what I would like to try is Ruby or Python, but right now I only want to be able to use Ruby. Ruby in addition ...
- Sat Apr 25, 2020 4:12 pm
- Forum: Support and Development
- Topic: Build Love with Ruby instead of Lua
- Replies: 13
- Views: 7653
Re: Build Love with Ruby instead of Lua
You could use something like RLua which bind Lua und Ruby together: RLua is Ruby to Lua bindings library that features nearly complete coverage of Lua C API, seamless translation of Lua and Ruby objects into each other, calling Lua functions from Ruby and vice versa. You know how to use it? I am se...
- Sat Apr 25, 2020 3:25 pm
- Forum: Support and Development
- Topic: Build Love with Ruby instead of Lua
- Replies: 13
- Views: 7653
Re: Build Love with Ruby instead of Lua
Good luck! While it certainly is possible to create all the library bindings for Ruby which Love2d offers for Lua, I don't understand the motivation except that someone likes Ruby more than Lua? You can have something like classes in Lua if you want to. "Ruby has classes" is not a very st...
- Sat Apr 25, 2020 8:20 am
- Forum: Support and Development
- Topic: Build Love with Ruby instead of Lua
- Replies: 13
- Views: 7653
Build Love with Ruby instead of Lua
Someone who knows how Love's source works so that instead of running Lua scripts, run Ruby, As far as I think I know, Love is written in C, and from C it compiles Lua and runs it (I think), I don't think I need to get rid of Lua completely, just add Ruby support. I need ideas or some explanation of ...