<Maddis>
so I have have a live online code editor, which sends the ruby code to the server, compiles with opal and sends it back to the browser, allowing it to run
<Maddis>
but now I have to match a ruby method like move() in ruby to a robot.move() which already exists in js, any ideas?
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
<elia>
Maddis, you don't necessarily need to send stuff to the server, you can use opal-parser.js, much like opalrb.org/try does
<elia>
Maddis, about the .move() method can you be a bit more specific?
<Maddis>
elia, where do I get opal-parser.js from?
<elia>
CDN (I need to put that in the readme…)
<Maddis>
I already found a solution for my move-problem ;)
<Maddis>
hmm, could be because I include the parser before opal
<Maddis>
I should tweek the asset pipeline in my rails
<Maddis>
alright, fixed it, thanks
<elia>
Maddis, if you happen to write a couple of lines about how to use opal-parser I'd be happy to push them to opalrb.org :)
<Maddis>
my knowledge consits of eval(Opal.compile(code))
<Maddis>
maybe if I happen to know more
<Maddis>
;)
Maddis has quit [Quit: Page closed]
meh` has joined #opal
boberetezeke has joined #opal
e_dub has quit [Quit: It's a hard knock life]
dimaursu16 has joined #opal
dimaursu16 has quit [Ping timeout: 265 seconds]
dimaursu16 has joined #opal
dimaursu16 has quit [Ping timeout: 265 seconds]
boberetezeke has quit [Quit: boberetezeke]
boberetezeke has joined #opal
elia has quit [Ping timeout: 276 seconds]
fkchang has joined #opal
ryanstout has joined #opal
e_dub has joined #opal
boberetezeke has quit [Quit: boberetezeke]
tils has quit [Ping timeout: 258 seconds]
boberetezeke has joined #opal
boberetezeke has quit [Client Quit]
boberetezeke has joined #opal
meh` has quit [Ping timeout: 240 seconds]
DrShoggoth has joined #opal
dimaursu16 has joined #opal
sarlalian has joined #opal
e_dub has quit [Quit: ZZZzzz…]
ylluminate has joined #opal
<ylluminate>
hey meh, when you catch this i wanted to circle up with you and see how things are going on that conversion. also wanted to talk about webgl + browser; thought a real strong opportunity might be taking gosu to the web with opal+webgl