Anyone know of such a framework? Preferably an open-source project, but first, anything at all. A google search proved fruitless.
asked Feb 3, 2011 at 10:35
johnrubythecat
1,2732 gold badges18 silver badges35 bronze badges
-
what on earth are you talking about?johnrubythecat– johnrubythecat2011年02月05日 20:43:41 +00:00Commented Feb 5, 2011 at 20:43
-
oh I see, that green check box under the answer vote widget. thanks for calling my attention to it, but it was a little unnecessary to vote me down for it.johnrubythecat– johnrubythecat2011年02月06日 04:03:01 +00:00Commented Feb 6, 2011 at 4:03
2 Answers 2
Tenderlove works on something like that: https://tenderlovemaking.com/2007/04/15/converting-javascript-to-ruby-with-rkelly.html
But the last version was in the 2009 on the rubyforge and maybe it's dead
borisrorsvort
9067 silver badges23 bronze badges
answered Feb 3, 2011 at 11:37
Vasiliy Ermolovich
24.7k5 gold badges84 silver badges78 bronze badges
Sign up to request clarification or add additional context in comments.
Comments
Unfortunately the link in the other answer is broken, but I have written another translator to convert a small subset of JavaScript into Ruby.
This a function in JavaScript:
function add(a,b){
return a+b;
}
and this is the translator's output in Ruby:
def add(a,b)
return a+b
end
answered Aug 4, 2018 at 3:42
Anderson Green
32.1k70 gold badges217 silver badges345 bronze badges
Comments
default