cored has joined #rom-rb
CraigBuchek has quit [Quit: Leaving.]
snusnu has joined #rom-rb
cored has quit [Ping timeout: 260 seconds]
JEG2 has joined #rom-rb
snusnu has quit [Quit: Leaving.]
_whitelogger_ has joined #rom-rb
dkubb has joined #rom-rb
snusnu has joined #rom-rb
snusnu has quit [Quit: Leaving.]
snusnu1 has joined #rom-rb
snusnu1 has quit [Ping timeout: 252 seconds]
kleech has joined #rom-rb
postmodern has quit [Quit: Leaving]
kleech_ has joined #rom-rb
kleech has quit [Ping timeout: 260 seconds]
cored has joined #rom-rb
cored has joined #rom-rb
cored has quit [Changing host]
kleech_ has quit [Remote host closed the connection]
mbj has joined #rom-rb
breakingthings has joined #rom-rb
dkubb has quit [Read error: Connection reset by peer]
dkubb has joined #rom-rb
CraigBuchek has joined #rom-rb
mkristian has joined #rom-rb
cored has quit [Ping timeout: 260 seconds]
cored has joined #rom-rb
cored has joined #rom-rb
dbussink has quit [Quit: bye]
dbussink has joined #rom-rb
<
dkubb>
good morning
CraigBuchek has quit [Quit: Leaving.]
postmodern has joined #rom-rb
breakingthings has quit []
mkristian has quit [Quit: bye]
breakingthings has joined #rom-rb
<
mbj>
dkubb: Whitequark fixed that parsre issues! Also the regexp delimiter crap.
<
dkubb>
mbj: oh nice
<
dkubb>
mbj: did he decide it was a bug in the implementation?
<
mbj>
dkubb: /\// is now s(:regexp, s(:str, '/'))
<
mbj>
dkubb: This is ruby-2.1 behavior he supports for 1.9 and 2.0 also
<
mbj>
dkubb: He (and me) consider > 2.1 behavior as a bug that was fixed in 2.1
<
mbj>
dkubb: He did not fixed %r(\)) to be emitted as s(:regexp, s(:str, "\)")) # wich would be a syntax error detectable by the regexp engine.
<
mbj>
dkubb: He fixed %r(\)) also!!!!
<
mbj>
dkubb: Heaven.
<
dkubb>
always nice to remove specialc ases
<
mbj>
dkubb: Yeah. Unparser will be able to roundtrip rubyspec soon.
<
dkubb>
that'll be
*really* nice
<
dkubb>
did you do that double round-trip thing I mentioned?
<
mbj>
dkubb: No. But'll do soon.
<
dkubb>
I'm curious to know if it helped find anything else. I was going to do the same with sql
<
mbj>
dkubb: I'll keep you posted.
<
mbj>
dkubb: BTW I had this once. Removed it for some reason.
<
mbj>
super(a, b) { bar } should NOT be valid ruby IMHO.
<
mbj>
dkubb: actually it is.
<
mbj>
dkubb: But the AST I posted seems to be wrong.
<
mbj>
dkubb: Also I'd not now how to read it.
<
mbj>
dkubb: How you'd expect ruby handles this?
<
mbj>
dkubb: Especially where does the block get attached to?
<
dkubb>
does it get passed to the method in the superclass?
<
dkubb>
I would consider it odd ruby, but not illegal
<
mbj>
dkubb: Trying it out.
<
mbj>
dkubb: ASTs from rbx disagrees with parser.
<
mbj>
dkubb: Seems jruby attaches the block to super itself.
<
dkubb>
I've used it once before
<
mbj>
dkubb: You call superclass method with a block.
<
mbj>
dkubb: With parameters a and b.
<
dkubb>
without parameters I think
<
dkubb>
actually, wait, no
<
dkubb>
it was a stupid gem, I was just having fun golfing it down
<
mbj>
dkubb: confirmed parser bug.
cored has quit [Ping timeout: 272 seconds]
kleech has joined #rom-rb
<
dkubb>
mbj: is this mostly being discovered from parsing rubygems?
<
mbj>
dkubb: rubyspec
<
mbj>
dkubb: OMG a totally unknown node: shadowargs
<
dkubb>
what does that actually do?
<
mbj>
dkubb: I expect it is a syntax to explicitly shadow an outer local variable.
<
mbj>
dkubb: To explicitly create a new scope for this.
<
mbj>
dkubb: #fuckruby sorry.
<
mbj>
dkubb: That is unneded complexity.
<
dkubb>
why have I never heard of this
<
dkubb>
that's kind of messed up
<
mbj>
Because ruby has so many dark edges.
<
dkubb>
yeah, you should tweet that as a code example, along with an explanation of what it does
<
mbj>
fuck fuck fuck
<
mbj>
sorry, ruby should not have this.
<
mbj>
Gotta introduced with ruby-1.9
<
mbj>
I just expect to find a magic string that opens code execution when loaded into the runtime.
<
mbj>
"eval this: ruby code here" <- if you find this string ruby executes anything via eval behind the colon :D
<
mbj>
dkubb: Before I tweet I need to explore that one.
<
mbj>
dkubb: What is acutally interesting: Mutant could use that lvar scope awareness unparser has.
<
mbj>
dkubb: I'm thinking about "scope aware mutations".
<
mbj>
dkubb: With this shadowargs we have a nice option to cancle out something from the outer scope.
<
mbj>
dkubb: Yeah, confirmed it cancles out an lvar binding.
<
mbj>
dkubb: You can use it for all || style blocks.
<
mbj>
dkubb: Have to run, will implement support for both later.
<
mbj>
dkubb: mutant already does use generic mutations on this one. unparser crashes.
<
mbj>
dkubb: Its a feature you need if you like to code deeply nested.
<
mbj>
dkubb: #speciallymadeforrailsdevs
<
mbj>
dkubb: Like refinements :D
<
mbj>
have to run, cu
mbj has quit [Quit: leaving]
kleech has quit [Remote host closed the connection]
breakingthings has quit []
kleech has joined #rom-rb
kleech has quit [Ping timeout: 252 seconds]
cored has joined #rom-rb
cored has quit [Ping timeout: 272 seconds]
mbj has joined #rom-rb
cored has joined #rom-rb