0

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
2
  • what on earth are you talking about? Commented 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. Commented Feb 6, 2011 at 4:03

2 Answers 2

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

answered Feb 3, 2011 at 11:37
Sign up to request clarification or add additional context in comments.

Comments

1

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

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.