Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Extensions, HelpWanted
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The Oniguruma gem basically provides a set of Ruby-land methods and classes to make it possible to use the Oniguruma regular expression engine in Ruby 1.8 (it's standard in 1.9). I have started a port of it in pure Ruby here:

      http://github.com/headius/joniguruma

      It passes about 75% of the tests from the actual gem (http://rubyforge.org/projects/oniguruma/), so it's a good start, but it needs someone to work through the remaining issues.

      Providing this gem would allow any 1.8-based libraries that depend on Oniguruma to work unmodified on JRuby.

        Activity

        Hide
        Shih-gian Lee added a comment -

        This looks interesting and the gem code base does not seem to be huge. I have not worked on JRuby port before and don't know C well. If I want to help out during my free time, where do I start?

        Show
        Shih-gian Lee added a comment - This looks interesting and the gem code base does not seem to be huge. I have not worked on JRuby port before and don't know C well. If I want to help out during my free time, where do I start?
        Hide
        Shih-gian Lee added a comment -

        I found some good resources on JRuby extention:

        http://www.serabe.com/2010/01/08/writing-your-own-jruby-extension-part-i/

        http://www.serabe.com/2010/03/12/writing-your-own-jruby-extension-part-ii-creating-your-first-class/

        http://ola-bini.blogspot.com/2006/10/jruby-tutorial-4-writing-java.html

        I also read up a bit on Ruby extension just to see how it works.

        I took a look at the onigurama source on svn and it has some Ruby tests. How did you run the test against JRuby? Some directions on how to proceed will be helpful.

        Show
        Shih-gian Lee added a comment - I found some good resources on JRuby extention: http://www.serabe.com/2010/01/08/writing-your-own-jruby-extension-part-i/ http://www.serabe.com/2010/03/12/writing-your-own-jruby-extension-part-ii-creating-your-first-class/ http://ola-bini.blogspot.com/2006/10/jruby-tutorial-4-writing-java.html I also read up a bit on Ruby extension just to see how it works. I took a look at the onigurama source on svn and it has some Ruby tests. How did you run the test against JRuby? Some directions on how to proceed will be helpful.
        Hide
        Charles Oliver Nutter added a comment -

        We have had no additional requests for this and little interest in building out these extra features. Resolving as incomplete.

        Show
        Charles Oliver Nutter added a comment - We have had no additional requests for this and little interest in building out these extra features. Resolving as incomplete.

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Charles Oliver Nutter
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: