RubyGems Navigation menu

ruby_parser 1.0.0

ruby_parser (RP) is a ruby parser written in pure ruby (utilizing racc--which does by default use a C extension). RP's output is the same as ParseTree's output: s-expressions using ruby's arrays and base types. == FEATURES/PROBLEMS: * Pure ruby, no compiles. * Incredibly simple interface. * Output is 100% equivalent to ParseTree. * Can utilize PT's SexpProcessor and UnifiedRuby for language processing. * Known Issue: Speed sucks currently. 5500 tests currently run in 21 min. * Known Issue: Code is waaay ugly. Port of a port. Not my fault. Will fix RSN. * Known Issue: I don't currently support newline nodes. * Known Issue: Totally awesome. * Known Issue: dasgn_curr decls can be out of order from ParseTree's. * TODO: Add comment nodes. == SYNOPSIS: RubyParser.new.parse "1+1" # => s(:call, s(:lit, 1), :+, s(:array, s(:lit, 1)))

Versions:

  1. 3.15.0 - September 01, 2020 (515 KB)
  2. 3.14.2 - February 07, 2020 (456 KB)
  3. 3.14.1 - October 30, 2019 (457 KB)
  4. 3.14.0 - September 25, 2019 (457 KB)
  5. 3.13.1 - March 26, 2019 (436 KB)
  6. 1.0.0 - July 25, 2009 (67.5 KB)
Show all versions (65 total)

Runtime Dependencies (2):

  • hoe >= 1.4.0
  • ParseTree >= 0
  • Owners:

    Authors:

    • Ryan Davis

    SHA 256 checksum:

    2b9a143881836e05e505e68c237ac90fd5d9a5104921f3fcd3ab5fb960f0ef96

    Total downloads 46,210,081

    For this version 2,463

    Gemfile:
    = Copy to clipboard Copied!

    install:
    =

    Licenses:

    N/A

    Required Ruby Version: None

    Links: