Closed nikeinikei closed 7 years ago
Can you elaborate a bit on this? Where / for what should it be used? Also, how would you go about interfacing between the Python code and the Lua code?
love.graphics.circle("line", 100, 100, 100)
love.graphics.line(300, 0, 0, 300)
so this would result in this image:
https://gyazo.com/02330efc70099af1b1eef4ebd0819c15
or maybe even make it explicit with a love.draw function
function love.draw()
love.graphics.circle("line", 100, 100, 100)
love.graphics.line(300, 0, 0, 300)
end
I'm still not quite sure what this has to do with either the Discord Bot or the scraper
execute love code, just like the supported other languages and because love2d provides a very easy interface for rendering.
Isn't love a framework for Lua? Coliru supports Lua evaluation which you contributed in your pull request, but evaluating any Lua code with Love support without any form of Sandboxing on the host machine seems a bit unsafe, and I feel like using a VM just for this is a bit overkill. What did you have in mind?
I'm gonna have to test if it's possible to only allow draw calls and detect code which is unsafe.
any updates on this?
closing due to inactivity
maybe with love(3/2)d?