Commit graph

16 commits

Author SHA1 Message Date
Markus Schirp
a19f3b1691 Nuke UTF-8 encoding headers
* I do not use 1.9.3
* Also keeping them in each file increases mental overhead (true it *can* be autoamted)
* None of the files encodes NON ASCII chars.
* I do not expect it makes any difference, since nobody programmatically
  will consume strings generated by mutant under the assumption they are UTF-8 encoded.
* 1.9.3 Users have to deal with the encoding fuckup under ruby anyways.
2014-06-09 15:37:48 +00:00
Markus Schirp
017ccc1044 Add expression => self mutation
Also reorganizes parts of meta to align filenames to node name better.

Closes #191
2014-06-05 17:48:39 +00:00
Markus Schirp
a227c2f1d2 Rename emit_self to emit_type 2014-06-03 03:51:22 +00: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
c62b1fc9df Use child nameing in literal hash mutator 2013-06-21 15:33:27 +02:00
Markus Schirp
c4f8f8e25f Break up some complex methods 2013-06-15 17:16:34 +02:00
Markus Schirp
8d877456b0 Add missing scope descriptions 2013-06-15 17:13:24 +02:00
Markus Schirp
780cfc706b Port literal hash emitter to parser 2013-06-14 21:12:09 +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
c591a236ae Do not emit { nil => nil } for hash literals anymore 2013-01-09 23:19:25 +01:00
Markus Schirp
eb6ea9a74f Metric driven code refactoring
Break some classes, rename stuff etc.
2013-01-04 22:16:03 +01:00
Markus Schirp
3026572b50 Deduplicate util array and literal hash mutations 2012-12-29 16:53:52 +01:00
Markus Schirp
8a4fad0973 Prepend additional elements to datastructurs instead of append
* This makes it far more likely the elements are used in paralel
  assignment. Credits for idea @snusnu!
2012-12-08 01:53:54 +01:00
Markus Schirp
adadc01f32 Cleanup docs for hash literal mutator 2012-12-06 22:33:06 +01:00
Markus Schirp
fe941ff74c Cleanup node body mutation 2012-12-06 22:30:57 +01:00
Markus Schirp
69e9de95ed Extract node specific mutator base class 2012-12-06 21:30:28 +01:00