codeshovel icon indicating copy to clipboard operation
codeshovel copied to clipboard

Implement Ruby parser

Open ataraxie opened this issue 7 years ago • 8 comments

We want to implement a Ruby parser for CodeShovel as described in the sections Developing a language-specific version and Testing a language-specific version of our README.

Implementation has already started and the RubyParser and RubyFunction classes have already been created, but these are very rudimentary. These need to be moved forward and test stubs must be created.

ataraxie avatar Dec 06 '18 10:12 ataraxie

~Development ongoing: 14-implement-ruby-parser~

Development ongoing here: https://github.com/ataraxie/codeshovel/tree/ruby

jyoo980 avatar Dec 10 '18 01:12 jyoo980

@jyoo980 do you know what the final status of the Ruby parser was?

rtholmes avatar Feb 01 '21 01:02 rtholmes

What a blast from the past!

Unfortunately nothing beyond the one function I added

jyoo980 avatar Feb 01 '21 01:02 jyoo980

But... did that function work?

rtholmes avatar Feb 01 '21 03:02 rtholmes

lol no I worked on this a little too. It didn't work but I think I can do it using JRuby and this ruby parser

additional info:

  • https://github.com/jruby/jruby/wiki/AccessingJRubyObjectInJava
  • https://github.com/jruby/jruby/wiki/StandaloneJarsAndClasses

braxtonhall avatar Feb 16 '21 21:02 braxtonhall

This is not at all a priority right now. I think keeping the Java support fully working and getting TypeScript and Python up-to-speed should be sufficient (from my POV) until someone actually needs Ruby support.

rtholmes avatar Feb 16 '21 21:02 rtholmes

OK yes I know you said this is a wontfix but it didn't take long and I had some time between classes 😅

braxtonhall avatar Mar 01 '21 21:03 braxtonhall

I just didn't want you to feel pressured, of course it's great if it was easy!

rtholmes avatar Mar 01 '21 23:03 rtholmes