Porting trans to run online?

Monkey Archive Forums/Monkey Discussion/Porting trans to run online?

Difference(Posted 2011) [#1]
Is it be possible to port trans to Javascript or php so it can run online?

That way I could write HTML5 games in my browser... on my ipad ...


Raz(Posted 2011) [#2]
PHP has an exec command which would let you run trans. So assuming you have permission to run exec on the webserver, then yes, it should be possible.


Difference(Posted 2011) [#3]
I'm more interested in compiling trans for HTML5 and making it all run in a browser.

/Applications/MonkeyPro/modules/trans/native/system.js' not found. seems one thing to solve...


Neuro(Posted 2011) [#4]
Another solution you can try (if you really have to code remotely from your ipad) is using is using one of those remote desktop apps to connect to your computer and running monkey directly on there. I'm actually using the Splashtop app right now over 3G and while it does work fairly well...the lagging maybe a bit annoying. but then again, i am on 3G so maybe a wifi connection would be less painful.


Difference(Posted 2011) [#5]
Check out http://cloud9ide.com/ to get where I'm comming from.


Difference(Posted 2011) [#6]
More on this :

http://www.playmycode.com/


marksibly(Posted 2011) [#7]
Hi,

Woah, cloud9 looks nice!

I did have a 'live' mojo going...in fact...

http://www.monkeycoder.co.nz/mak/livemojo.php

(will probably take this down soon!)

Here, trans has been compiled for Linux and it executes on the server.

An html5 trans would be possible, but I think compiling on the server makes more sense as it keeps the client light.


xzess(Posted 2011) [#8]
This is great mark!

Would you share it so i can put it on my server for testing stuff?
This would be very great when im on travel.


Difference(Posted 2011) [#9]
Livemojo seems to run only the initial code, not anything I paste in ?

Anyway: The Livemojo thingy is really cool and just the kind of thing I was thinking about.

I think you should keep it and expand on it.

How about using it for an "Instant App" section on this site? :-)

I'll think about the linux compiler, but for most of us using shared hosting, it's a no go to run executables.


Raz(Posted 2011) [#10]
Cloud9IDE is really cool :D I especially like how easily it integrates with GitHub


matt(Posted 2011) [#11]
WOW x3

Cloud9 = awesome
playmycode = awesome
Livemojo = awesome

Mark, do you have any plans to go further with livemojo and turn it into something like playmycode? Maybe you could partner with Cloud9 for the IDE?

Any thoughts?


FlameDuck(Posted 2011) [#12]
I'm curious. Is there any way to get this Linux version of trans? It seems to throw an exception when you try running it with Wine...


FlameDuck(Posted 2011) [#13]
Never mind. Fixed it. For those interested my Wine was a bit out-of-date, it works fine on Wine 1.3.25.


Richard(Posted 2012) [#14]
Hi,

How can i achieve something like: http://www.monkeycoder.co.nz/mak/livemojo.php

Basically i want to build my monkey code on a linux machine...

Richard


matt(Posted 2012) [#15]
I'd also like to build on Linux.


Richard(Posted 2012) [#16]
@matt see http://www.monkeycoder.co.nz/Community/posts.php?topic=2806