Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 25, 2015
  1. @zenspider

    - Fixed timeout caused by regexp backtracking bug w/ long strings in …

    zenspider authored
    …2.2 parser. (presidentbeef)
    
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 10333]
Commits on May 28, 2015
  1. @zenspider

    - Fixed handling of block_args to be consistent across all parse vers…

    zenspider authored
    …ions.
    
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 10267]
Commits on May 20, 2015
  1. @zenspider

    - Fixed lexing of x?'':y for ruby22 (not a label). (presidentbeef)

    zenspider authored
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 10252]
Commits on Apr 27, 2015
  1. @zenspider

    ! Added preliminary support for ruby 2.2 syntax.

    zenspider authored
    ! Now writing all 2.x parsers from one source, generating racc files.
    + Added RubyLexer#process_label and hooked it up to "x": and 'x': productions.
    
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 10199]
Commits on Apr 23, 2015
  1. @zenspider

    - clear and restore cmdarg stack around def args and body.

    zenspider authored
    Need to do this for class/module/sdef as well.
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 10189]
Commits on Apr 15, 2015
  1. @zenspider

    - Fixed lexing of label assoc args w/ newlines in between k/v. (jeremyf)

    zenspider authored
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 10181]
Commits on Apr 11, 2015
  1. @zenspider

    - Fixed kwsplat on 2.0 & 2.1.

    zenspider authored
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 10133]
Commits on Apr 3, 2015
  1. @zenspider

    - Invalid gvar names raise a compile error.

    zenspider authored
    - Handle #$<x> in expanded strings/regexps where x is NOT a valid gvar name.
    - Fix scan logging backtrace when DEBUG=1
    
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 10106]
Commits on Apr 2, 2015
  1. @zenspider

    + Added expr_labelarg state (eg: a:1)

    zenspider authored
    Added disabled test for heredoc escaped newline counting
    Switched racc/yacc diff order in rake compareNN.
    
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 10105]
Commits on Mar 23, 2015
  1. @zenspider

    - Fixed mandatory keyword block args. (cvortmann)

    zenspider authored
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 10081]
Commits on Feb 26, 2015
  1. @zenspider

    + Add line numbers from block comments =begin/=end. (presidentbeef)

    zenspider authored
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 10030]
Commits on Dec 20, 2014
  1. @zenspider

    - Removed shebangs in tests because of bugs (aka 'features') in RPM p…

    zenspider authored
    …ackaging tools.
    
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9889]
Commits on Nov 22, 2014
  1. @zenspider

    Added test to ensure multiline strs with \n in them calculate line nu…

    zenspider authored
    …mbers correctly
    
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9838]
Commits on Jul 11, 2014
  1. @zenspider

    - Handle return/next/break/yield w/ block call (WHY).

    zenspider authored
    Closes #140.
    
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9573]
Commits on Apr 23, 2014
  1. @zenspider

    Added test_parse_line_dstr_newline and skipped for now

    zenspider authored
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9416]
Commits on Mar 27, 2014
  1. @zenspider

    Fix linenumbers for backslash-n in strings. (presidentbeef)

    zenspider authored
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9320]
Commits on Mar 26, 2014
  1. @zenspider

    + Added new_string and switched all parsers to it.

    zenspider authored
    - Fixed line numbers of nodes following multi-line strings. (presidentbeef)
    
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9319]
Commits on Mar 25, 2014
  1. @zenspider

    - Fixed env for kwargs and friends.

    zenspider authored
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9298]
Commits on Mar 24, 2014
  1. @zenspider

    Rearranged block kw arg tests to new TestRubyParserShared20to21 module

    zenspider authored
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9295]
Commits on Mar 19, 2014
  1. @zenspider

    Skipping test_parse_line_heredoc_evstr

    zenspider authored
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9290]
  2. @zenspider

    Added test_parse_line_heredoc_evstr (presidentbeef)

    zenspider authored
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9289]
  3. @zenspider

    Added TestRuby20Parser#test_block_kwarg_lvar_multiple (mrb)

    zenspider authored
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9288]
Commits on Mar 14, 2014
  1. @zenspider

    ! Added initial support for ruby 2.1 syntax. Doesn't have numeric ext…

    zenspider authored
    …ensions yet.
    
    Cleaned up a lot of cruft in the Rakefile.
    
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9269]
Commits on Jan 23, 2014
  1. @zenspider

    + Updated to oedipus_lex 2.1+.

    zenspider authored
    + Added -s flag to ruby_parse_extract_error to output timings.
    - Removed ESC_RE from RubyLexer. Must have slipped through.
    - Max out unicode hex values to 2-4 or 2-6 chars or pack will overflow and puke.
    - Fixed lexing symbol!= vs symbol!. Please use your spacebar. Think of the children.
    + TRYING a new scheme to figure out encodings... but I'm about to throw in the towel. I hate this stuff so much.
    
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9210]
Commits on Jan 18, 2014
  1. @zenspider

    + Extended RubyParserStuff#new_case to take line number.

    zenspider authored
    + Removed RubyLexer #extra_lines_added. No longer used. Complex heredoc lineno's possible screwed up.
    - Fixed line numbers for odd cases with trailing whitespace. (presidentbeef)
    + Turned off oedipus_lex's automatic line counting. (pushing to oedipus_lex soon).
    Cleaned up some line number tests
    
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9193]
Commits on Jan 17, 2014
  1. @zenspider

    - Fixed line for dstr spanning multiple lines via backslash. (preside…

    zenspider authored
    …ntbeef)
    
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9190]
  2. @zenspider

    - 1.8: Properly parse `a (:b, :c, :d => :e)`. (presidentbeef)

    zenspider authored
    + Implemented Sexp#add_all since we now have a test case for it.
    
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9188]
  3. @zenspider

    Converted all the gvar/ivar/nthref lexer actions to methods.

    zenspider authored
    Cleaned up some of the lexer lines using predicates.
    - Fixed line numbers on ambiguous calls w/ gvar/ivar args. (presidentbeef)
    
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9187]
Commits on Jan 16, 2014
  1. @zenspider

    dead comment is dead

    zenspider authored
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9184]
  2. @zenspider

    + 2.0: Added support for a.b c() do d end.e do |f| g end

    zenspider authored
    + 2.0: Added support for a.b c() do d end.e f do |g| h end
    
    Note: both of these are horrible. You're welcome.
    
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9167]
  3. @zenspider

    + Attach lineno to tIDENTIFIER values (strings, ugh)

    zenspider authored
    + Adjust lineno when we lex a bunch of blank lines.
    + Extend RubyParserStuff#gettable to set the lineno if it comes in with the id.
    + Added String#lineno and #lineno= because I'm a bad bad person.
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9166]
Commits on Jan 15, 2014
  1. @zenspider

    This is a biggie...

    zenspider authored
    ! Replaced hand-written/optimized f'd-up lexer with an oedipus_lex generated lexer.
    + Removed RubyParser#advance. RubyParser#next_token takes care of everything now.
    + RubyParser#next_token now expects RubyLexer#next_token to return a pair (type, val).
    + Added RubyLexer #command_state and #last_state to deal with oedipus_lex differences.
    + Removed RubyLexer's @src. Now taken care of by oedipus_lex.
    + Added a bunch of RubyLexer scanning methods: beginning_of_line?, check, scan, etc.
    + Removed RubyLexer#yacc_value now that next_token returns pairs.
    + Removed RubyLexer#parse_number. Handled by oedipus_lex.
    + Added a bunch of process_* methods extracted from old yylex. process_amper, etc.
    + Finally dropped RPStringScanner's BS line number calculation (lineno). 
    + Finally dropped RPStringScanner's BS #current_line.
    + Removed lib/gauntlet_rubyparser.rb. I just don't use it anymore. Too slow.
    
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9161]
Commits on Jan 14, 2014
  1. @zenspider

    Removed the line adjuster for the multi-line comment optimization. It

    zenspider authored
    was broken for at least one edge case, but it is also insufficient
    as-is. So I've added some extra tests (one is skipped) to cover the
    known edge cases. credit to presidentbeef for bringing up the issue.
    
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9155]
Commits on Jan 10, 2014
  1. @zenspider

    + Modified parsers line number calculations for defn nodes.

    zenspider authored
    + new_defn now sets arg node line number directly.
    - Fixed test to call RubyLexer#reset between assertions.
    
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9146]
Commits on Jan 9, 2014
  1. @zenspider

    Fixed lexer regression on %q.

    zenspider authored
    - Fixed bug lexing h[k]=begin ... end. Use your space bars people!
    
    [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 9145]
Something went wrong with that request. Please try again.