These are chat archives for opal/opal

24th
Jan 2016
Guillaume Grossetie
@Mogztter
Jan 24 2016 15:08
@elia Yes Opal.modules.nodejs contains the function and require nodejs/kernel, nodejs/dir, nodejs/file and nodejs/io
Loïc Boutet
@loicboutet
Jan 24 2016 15:16
Is there any kind of JS to Opal converter existing somewhere?
Jose Añasco
@merongivian
Jan 24 2016 15:22
You can use the Native library to wrap yourself, if your js code is OOP-ish , im working on a wrapper library called opal-wrappable, its not ready yet though, im still working on it
Loïc Boutet
@loicboutet
Jan 24 2016 15:23
hmm I see
bhanu singh
@bhanu2795
Jan 24 2016 15:26
hey! guys i am new here can anyone tell me what is opal?
Loïc Boutet
@loicboutet
Jan 24 2016 15:27
You write ruby code, Opal transforms it in JS
So you can write ruby code and execute it on the client for example
bhanu singh
@bhanu2795
Jan 24 2016 15:28
so basically its a type of compilers...
Loïc Boutet
@loicboutet
Jan 24 2016 15:28
Jose Añasco
@merongivian
Jan 24 2016 15:28
@loicboutet yea exactly, they called transpi
Loïc Boutet
@loicboutet
Jan 24 2016 15:29
yup, if you read the description : Ruby to JavaScript compiler
Jose Añasco
@merongivian
Jan 24 2016 15:29
Transpiling heheh
bhanu singh
@bhanu2795
Jan 24 2016 15:29
thanks dude....
Loïc Boutet
@loicboutet
Jan 24 2016 15:29
@bhanu2795 what are you looking for? :D
bhanu singh
@bhanu2795
Jan 24 2016 15:30
can do me a favour @loicboutet ppz provide me a begginer guide for it
Loïc Boutet
@loicboutet
Jan 24 2016 15:30
it largely depends on what you are looking for
bhanu singh
@bhanu2795
Jan 24 2016 15:31
plz*
Loïc Boutet
@loicboutet
Jan 24 2016 15:31
you can use opal directly, but your need is probably more geared toward using one of the library built on top of opal I would say
if you could explain more what you are looking for in Opal, it could help us to point you in the right direction
bhanu singh
@bhanu2795
Jan 24 2016 15:34
ryt now i want to learn about opal because before i never heard about it as i am new in this field don't have deep knowlege about it can you plz help me for that why it is used what are its application etc things.....
Loïc Boutet
@loicboutet
Jan 24 2016 15:35
I guess you can start with the website : http://opalrb.org/
bhanu singh
@bhanu2795
Jan 24 2016 15:35
okay thanks
Loïc Boutet
@loicboutet
Jan 24 2016 15:35
There is a try section where you can play by writing ruby code and see what it does in JS
bhanu singh
@bhanu2795
Jan 24 2016 15:36
okay
Loïc Boutet
@loicboutet
Jan 24 2016 15:36
are you a rails dev?
bhanu singh
@bhanu2795
Jan 24 2016 15:36
yup
how you get to know about that?
Loïc Boutet
@loicboutet
Jan 24 2016 15:37
You should probably look at : https://github.com/opal/opal-rails#readme
bhanu singh
@bhanu2795
Jan 24 2016 15:37
okay thanku
Loïc Boutet
@loicboutet
Jan 24 2016 15:37
that you are a rails dev? Well people outside of ruby have little reason to be interested in opal... and most ruby dev are rails dev :D
bhanu singh
@bhanu2795
Jan 24 2016 15:37
so much
Loïc Boutet
@loicboutet
Jan 24 2016 15:38
these 2 lib should allow you to write most the usual JS code in ruby instead of JS
bhanu singh
@bhanu2795
Jan 24 2016 15:38
do you
Loïc Boutet
@loicboutet
Jan 24 2016 15:38
most of the JS code you write currently in your rails app I mean
bhanu singh
@bhanu2795
Jan 24 2016 15:39
have knowledge of facebook account hacking lol 😂
Loïc Boutet
@loicboutet
Jan 24 2016 15:39
lol
bhanu singh
@bhanu2795
Jan 24 2016 15:39
i wanna hack one of my friends account
but i can't
😅
Loïc Boutet
@loicboutet
Jan 24 2016 15:40
hmm that is not the appropriate place to talk about that ^^
bhanu singh
@bhanu2795
Jan 24 2016 15:40
can you recommend me for such a place
😂
Loïc Boutet
@loicboutet
Jan 24 2016 15:40
nope you'll have to look for yourself ^^
bhanu singh
@bhanu2795
Jan 24 2016 15:41
😕 huh...
well thanks a lot dude...
Loïc Boutet
@loicboutet
Jan 24 2016 15:44
no problem, for any opal related question you are welcome, people here will help you
bhanu singh
@bhanu2795
Jan 24 2016 15:46
btw can plz introduce yourself...