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)))

Gemfile:
=

インストール:
=

バージョン履歴:

  1. 3.21.1 July 09, 2024 (749KB)
  2. 3.21.0 January 16, 2024 (748KB)
  3. 3.20.3 July 12, 2023 (835KB)
  4. 3.20.2 June 06, 2023 (834KB)
  5. 3.20.1 May 17, 2023 (837KB)
  6. 1.0.0 December 22, 2007* (67.5KB)
全てのバージョンを表示(全79件)

Runtime依存関係 (2):

hoe >= 1.4.0
ParseTree >= 0

所有者:

作者:

  • Ryan Davis

SHA 256チェックサム:

=

累計ダウンロード数 125,189,350

このバージョンのみ 4,057

このバージョンがリリースされたのは:

ライセンス:

N/A

必要なRubyのバージョン: なし

リンク: