Commit graph

10 commits

Author SHA1 Message Date
Markus Schirp
43c546fe74 Add conditional loop mutator
* Closes #143
* Renamed Mutator::Node::While to ConditionalLoop and use it to
  generated mutations for until also.
2013-12-29 22:32:26 +01:00
Dan Kubb
475512146f Change emit_nil to not emit on the left node of an assignment
* Add emit_nil to other nodes so that they can be replaced
  with nil, effectively removing them from the code.
2013-09-07 23:57:47 -07:00
Dan Kubb
7293386c26 Add magic encoding header to all ruby files
* rubocop still warns about this on ruby 1.9.3, so it was fixed so
  it produces less output on travis.
2013-07-28 16:03:06 -07:00
Markus Schirp
06af000234 Readd missing while body mutation 2013-07-05 03:09:07 +02:00
Markus Schirp
a4805c1c23 Remove unused constants 2013-06-21 15:27:12 +02:00
Markus Schirp
79e8cd2b9c Use child nameing in while mutator and fix edge cases 2013-06-21 15:07:40 +02:00
Markus Schirp
7b4eea36d8 Port while mutator to parser 2013-06-14 21:12:10 +02:00
Markus Schirp
6b2e2a8bb0 Initial round of refactoring
* Remove some RBX only nodes
* Register parser types
* Remove all occurences of ::Rubinius when loading libraries
2013-06-14 21:11:54 +02:00
Markus Schirp
eb6ea9a74f Metric driven code refactoring
Break some classes, rename stuff etc.
2013-01-04 22:16:03 +01:00
Markus Schirp
16a11d2c3c Handle Rubinius::AST::While
I know this can result in infinite loops. So also add TODO note about
timeout!
2013-01-01 21:41:39 +01:00