Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: ruby2.5-rubygem-ruby_parser | Distribution: openSUSE Step 15 |
Version: 3.10.1 | Vendor: openSUSE |
Release: 1.2 | Build date: Sat Feb 6 14:45:48 2021 |
Group: Development/Languages/Ruby | Build host: armbuild02 |
Size: 2939036 | Source RPM: rubygem-ruby_parser-3.10.1-1.2.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/seattlerb/ruby_parser | |
Summary: ruby_parser (RP) is a ruby parser written in pure ruby (utilizing |
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. As an example: def conditional1 arg1 return 1 if arg1 == 0 return 0 end becomes: s(:defn, :conditional1, s(:args, :arg1), s(:if, s(:call, s(:lvar, :arg1), :==, s(:lit, 0)), s(:return, s(:lit, 1)), nil), s(:return, s(:lit, 0))) Tested against 801,039 files from the latest of all rubygems (as of 2013-05): * 1.8 parser is at 99.9739% accuracy, 3.651 sigma * 1.9 parser is at 99.9940% accuracy, 4.013 sigma * 2.0 parser is at 99.9939% accuracy, 4.008 sigma.
MIT
* Thu Aug 03 2017 coolo@suse.com - updated to version 3.10.1 see installed History.rdoc === 3.10.1 / 2017-07-21 * 2 bug fixes: * Fixed identification of parser version whether Ruby##Parser or Parser::V##. * Fixed squiggly heredoc lexing when using 24 parser. === 3.10.0 / 2017-07-17 * 4 minor enhancements: * Added support for 'squiggly heredocs' (indented content). (jjoos) * Bumped oedipus_lex to ~> 2.5. * Bumped sexp_processor to ~> 4.9. * Made STRICT_SEXP=1 safe: converted indexed sexps to semantic calls where needed. * 5 bug fixes: * Clear and restore cmdarg stack around defs args and body. (presidentbeef) * Conditionalize use of sexp_body= to make it compatible w/ sexp_processor 4.9.0 * Fix up line numbers in strings with newlines and `#`. (presidentbeef) * Fixed line numbers of resbodies. * Fixed some tracking of lexical state. Fixes bug #249. * Fri Apr 14 2017 coolo@suse.com - updated to version 3.9.0 see installed History.rdoc === 3.9.0 / 2017-04-13 * 1 major enhancement: * Added tentative ruby 2.4 support. Probably missing things. * 13 minor enhancements: * Added RubyParser.latest. * Added RubyParser::Parser.version to make version range comparisons easier * Changed superclasses of all parsers to RubyParser::Parser * Cleaned up a lot of the version specific code to be more generic/flexible. * Documented how to add new versions in README. * Moved RubyParser from ruby_parser_extras.rb into ruby_parser.rb to fix bootstrap issues. * Renamed RubyParserStuff#get_match_node to new_match. Aliased and deprecated. * Renamed RubyParserStuff#logop to logical_op. Aliased and deprecated. * Renamed RubyParserStuff#node_assign to new_assign. Aliased and deprecated. * Renamed all parsers to RubyParser::V##. * Revamped grammar preprocessing to make adding new versions easier. * RubyParser.for_current_ruby falls back to latest if current not available. * Subclasses of RubyParser::Parser register themselves into RubyParser::VERSIONS. * 4 bug fixes: * Fixed `&.` after newline. (presidentbeef) * Fixed bug setting line number for hash literals to line of opening brace. * Fixed grammar preprocessing bug. * Properly handle kDO with no-parens stabby lambda. (presidentbeef) * Sat Jan 14 2017 coolo@suse.com - updated to version 3.8.4 History.txt removed upstream * Mon Oct 10 2016 coolo@suse.com - updated to version 3.8.3 see installed History.txt === 3.8.3 / 2016-10-09 * 1 minor enhancement: * Support Ruby 2.1 number literals. (soutaro) * 3 bug fixes: * Fixed line numbers for strs with backslash-newlines. (maxjacobson) * Improved compatibility on tokenizing number. (soutaro) * Refactored and fixed multiline array line numbers. (ptoomey3, with changes) * Fri May 06 2016 coolo@suse.com - updated to version 3.8.2 see installed History.txt === 3.8.2 / 2016-05-05 * 2 bug fixes: * Fixed lex_state in interpolated strings. (whitequark) * Fixed safe operator for newline/semicolon contexts. (presidentbeef) * Wed Mar 02 2016 coolo@suse.com - updated to version 3.8.1 see installed History.txt === 3.8.1 / 2016-02-19 * 1 bug fix: * Fixed problems with tLONELY in mlhs_node. * Fri Feb 19 2016 coolo@suse.com - updated to version 3.8.0 see installed History.txt === 3.8.0 / 2016-02-18 * 1 major enhancement: * Added support for Ruby 2.3.0 and the &. operator. (presidentbeef) * 2 minor enhancements: * Add support for safe attr assign. (presidentbeef) * Added support for safe call. (presidentbeef) * 1 bug fix: * Fixed parsing of { 'a': :b }. (presidentbeef) * Mon Jan 25 2016 coolo@suse.com - updated to version 3.7.3 see installed History.txt === 3.7.3 / 2016-01-21 * 2 bug fixes: * Fixed parsing kwargs in defs with no parens. (presidentbeef) * defs should have a nil node if body is empty. * Tue Oct 27 2015 coolo@suse.com - updated to version 3.7.2 see installed History.txt === 3.7.2 / 2015-10-26 * 1 bug fix: * I hate regexen. Fixed a lexing bug confusing strings vs labels. (phiggins) * Fri Aug 07 2015 coolo@suse.com - updated to version 3.7.1 see installed History.txt === 3.7.1 / 2015-08-06 * 1 minor enhancement: * Improved understandability of lexing postfix symbols. * 2 bug fixes: * Fixed timeout caused by regexp backtracking bug w/ long strings in 2.2 parser. (presidentbeef) * Rename DEBUG env toggle to RB_LINENO_DEBUG. (tenderlove) * Fri May 29 2015 coolo@suse.com - updated to version 3.7.0 see installed History.txt === 3.7.0 / 2015-05-28 * 2 major enhancements: * Added preliminary support for ruby 2.2 syntax. * Now writing all 2.x parsers from one source, generating racc files. * 1 minor enhancement: * Added RubyLexer#process_label and hooked it up to "x": and 'x': productions. * 4 bug fixes: * Fixed handling of block_args to be consistent across all parse versions. * Fixed lexing of label assoc args w/ newlines in between k/v. (jeremyf) * Fixed lexing of x?'':y for ruby22 (not a label). (presidentbeef) * clear and restore cmdarg stack around def args and body. * Tue Apr 14 2015 coolo@suse.com - updated to version 3.6.6 * Fri Mar 20 2015 coolo@suse.com - updated to version 3.6.5 * 1 minor enhancement: * Add line numbers from block comments =begin/=end. (presidentbeef) * Mon Feb 09 2015 coolo@suse.com - updated to version 3.6.4 * 1 bug fix: * Removed shebangs in tests because of bugs (aka 'features') in RPM packaging tools. * Wed Oct 15 2014 coolo@suse.com - updated to version 3.6.3 * 1 bug fix: * Fixed bug caused by latest version of oedipus_lex not exporting lineno accessor. * Handle return/next/break/yield w/ block call (WHY). * Mon Oct 13 2014 adrian@suse.de - adapt to new rubygem packaging style
/etc/alternatives/ruby_parse /etc/alternatives/ruby_parse-3.10.1 /etc/alternatives/ruby_parse.ruby2.5 /etc/alternatives/ruby_parse_extract_error /etc/alternatives/ruby_parse_extract_error-3.10.1 /etc/alternatives/ruby_parse_extract_error.ruby2.5 /usr/bin/ruby_parse /usr/bin/ruby_parse-3.10.1 /usr/bin/ruby_parse.ruby2.5 /usr/bin/ruby_parse.ruby2.5-3.10.1 /usr/bin/ruby_parse_extract_error /usr/bin/ruby_parse_extract_error-3.10.1 /usr/bin/ruby_parse_extract_error.ruby2.5 /usr/bin/ruby_parse_extract_error.ruby2.5-3.10.1 /usr/lib/ruby/gems/2.5.0/build_info /usr/lib/ruby/gems/2.5.0/cache/ruby_parser-3.10.1.gem /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1 /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/.autotest /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/History.rdoc /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/Manifest.txt /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/README.rdoc /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/Rakefile /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/bin /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/bin/ruby_parse /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/bin/ruby_parse_extract_error /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/compare /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/compare/normalize.rb /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/.document /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/rp_extensions.rb /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/rp_stringscanner.rb /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/ruby18_parser.rb /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/ruby18_parser.y /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/ruby19_parser.rb /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/ruby19_parser.y /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/ruby20_parser.rb /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/ruby20_parser.y /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/ruby21_parser.rb /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/ruby21_parser.y /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/ruby22_parser.rb /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/ruby22_parser.y /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/ruby23_parser.rb /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/ruby23_parser.y /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/ruby24_parser.rb /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/ruby24_parser.y /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/ruby_lexer.rb /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/ruby_lexer.rex /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/ruby_lexer.rex.rb /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/ruby_parser.rb /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/ruby_parser.yy /usr/lib/ruby/gems/2.5.0/gems/ruby_parser-3.10.1/lib/ruby_parser_extras.rb /usr/lib/ruby/gems/2.5.0/specifications/ruby_parser-3.10.1.gemspec /usr/share/doc/packages/ruby2.5-rubygem-ruby_parser /usr/share/doc/packages/ruby2.5-rubygem-ruby_parser/History.rdoc /usr/share/doc/packages/ruby2.5-rubygem-ruby_parser/README.rdoc
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Mar 9 13:55:41 2025