PHP & LUA

Associate
Joined
4 Mar 2007
Posts
315
Location
United Kingdom
Hey guys, I've been wondering, I know there was a project a while ago which tried to make a php lua interpreter which if I remember correctly is no longer alive, but died a while back.

I've managed to do a little extra with Processing the java based language based on processingjs, which allows processing to be executed through a JS setup. I've managed to convert PHP functions into the processing functions to a certain degree... this is purely for educational purposes as I am aware of the fact it's flawed majorly for anything other than educational uses.

I was curious though is the same actually possible with LUA?

For instance the conversion i've done is actually around 1500 lines of code and a few classes. for instance:

PHP:
$system->retrob('template')->setTemplateKeys("processing",$system->retrob('modules')->getModule('processing')->assignCanvas(640,360));

enabled me to read an xml file called processing (all this is declared foolishly in the class) and output the results in a processing window of 640,360.

Now, this is by far not efficient in any way, but I was curious if people have done similar with LUA recently?
 
Back
Top Bottom