travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1235 (master - 1174f5b : meh): The build was broken.
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/13015033
<meh`> wut
<meh`> they pass here
fkchang has quit [Ping timeout: 248 seconds]
meh` has quit [Ping timeout: 256 seconds]
eventualbuddha has quit [Ping timeout: 240 seconds]
DouweM has quit [Ping timeout: 260 seconds]
adambeynon has joined #opal
fntzr has joined #opal
GitHub99 has joined #opal
<GitHub99> [opal] adambeynon pushed 1 new commit to master: http://git.io/ueD7qg
GitHub99 has left #opal [#opal]
<GitHub99> opal/master 302ded2 Adam Beynon: Keep all corelib globals in relevant files
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1236 (master - 302ded2 : Adam Beynon): The build was fixed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/13027767
travis-ci has left #opal [#opal]
GitHub116 has joined #opal
GitHub116 has left #opal [#opal]
<GitHub116> [opal] adambeynon pushed 1 new commit to master: http://git.io/gBs92Q
<GitHub116> opal/master b225ee6 Adam Beynon: Move spec runners into tasks/mspec.rake
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1237 (master - b225ee6 : Adam Beynon): The build passed.
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/13028696
GitHub179 has joined #opal
<GitHub179> opal/master bbf284e Adam Beynon: Update to mspec 1.5.20 (latest) for running rubyspecs
GitHub179 has left #opal [#opal]
<GitHub179> [opal] adambeynon pushed 1 new commit to master: http://git.io/4lF8kQ
travis-ci has joined #opal
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] opal/opal#1238 (master - bbf284e : Adam Beynon): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/13029094
GitHub98 has joined #opal
<GitHub98> opal/master 1ffe037 Adam Beynon: Group opal specs and rubyspec specs together when running mspec
<GitHub98> [opal] adambeynon pushed 1 new commit to master: http://git.io/yWoNFg
GitHub98 has left #opal [#opal]
kludge` has quit [Ping timeout: 272 seconds]
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1239 (master - 1ffe037 : Adam Beynon): The build passed.
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/13029445
kludge` has joined #opal
GitHub82 has joined #opal
<GitHub82> opal/master 966c655 Adam Beynon: Cleanup mspec/ospec runner to use a single array of files
GitHub82 has left #opal [#opal]
<GitHub82> [opal] adambeynon pushed 1 new commit to master: http://git.io/k17r2w
travis-ci has joined #opal
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/13030290
<travis-ci> [travis-ci] opal/opal#1240 (master - 966c655 : Adam Beynon): The build was broken.
travis-ci has left #opal [#opal]
<adambeynon> u wot
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1240 (master - 966c655 : Adam Beynon): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/13030290
travis-ci has left #opal [#opal]
<adambeynon> \o/
GitHub174 has joined #opal
<GitHub174> opal/master 04f480d Adam Beynon: Implement StringScanner#bol? and StringScanner#terminate with specs
GitHub174 has left #opal [#opal]
<GitHub174> [opal] adambeynon pushed 1 new commit to master: http://git.io/opVEtw
GitHub133 has joined #opal
GitHub133 has left #opal [#opal]
<GitHub133> [opal] adambeynon pushed 1 new commit to master: http://git.io/10DDAQ
<GitHub133> opal/master 36c74a6 Adam Beynon: Support a stack of StringScanner in parser
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1242 (master - 36c74a6 : Adam Beynon): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/13033355
travis-ci has left #opal [#opal]
DouweM has joined #opal
meh` has joined #opal
<meh`> adambeynon, yo
<adambeynon> hi meh`
<meh`> sorry for the 1.8 specs breakage
<meh`> but I didn't know how to fix it
<adambeynon> meh`: I dont think they broke - sometimes travis just fails
<adambeynon> timeouts etc
GitHub147 has joined #opal
<GitHub147> [opal] adambeynon pushed 1 new commit to master: http://git.io/JPWOUQ
GitHub147 has left #opal [#opal]
<GitHub147> opal/master f4a7848 Adam Beynon: Reorganize lexer/parser in lib
<meh`> oh, ok
<adambeynon> meh`: lunch, back in 20
GitHub24 has joined #opal
<GitHub24> [opal] adambeynon pushed 1 new commit to master: http://git.io/ewn4IA
GitHub24 has left #opal [#opal]
<GitHub24> opal/master e3a4d0e Adam Beynon: Fix rake task to point to correct racc file location
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1243 (master - f4a7848 : Adam Beynon): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/13035994
travis-ci has left #opal [#opal]
travis-ci has joined #opal
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/13036166
<travis-ci> [travis-ci] opal/opal#1244 (master - e3a4d0e : Adam Beynon): The build passed.
travis-ci has left #opal [#opal]
meh` has quit [Quit: reboot]
meh` has joined #opal
<meh`> adambeynon, is there a way to only run a set of specs?
<meh`> it takes forever to run them all
<adambeynon> meh`: not with the rubyspecs
<adambeynon> well, there is
<adambeynon> but I dont know if it still works
<adambeynon> rake mspec
<adambeynon> that will run just the runtime specs
<adambeynon> and ignore mri_specs
<meh`> I can't fucking believe this
<meh`> they removed my "retarded" gem because of this asshole
<adambeynon> oh my
<meh`> all these mentally challenged social justice retards are going to destroy everything
<meh`> >therapist
<meh`> >hoe
<meh`> >retarded
<meh`> those are real words with a real meaning
<meh`> he doesn't even know the meaning of English words
GitHub61 has joined #opal
GitHub61 has left #opal [#opal]
<GitHub61> [opal] adambeynon pushed 1 new commit to master: http://git.io/3RfFKw
<GitHub61> opal/master 1c61665 Adam Beynon: Use keyword table for processing keywords and identifiers
GitHub113 has joined #opal
<GitHub113> opal/master f269fcd Adam Beynon: Remove debug line
GitHub113 has left #opal [#opal]
<GitHub113> [opal] adambeynon pushed 1 new commit to master: http://git.io/4ViFUw
travis-ci has joined #opal
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/13042135
<travis-ci> [travis-ci] opal/opal#1245 (master - 1c61665 : Adam Beynon): The build passed.
travis-ci has left #opal [#opal]
GitHub22 has joined #opal
<GitHub22> [opal] adambeynon pushed 1 new commit to master: http://git.io/jrvHcw
<GitHub22> opal/master 3c35036 Adam Beynon: Add :UNLESS to list of parser reswords
GitHub22 has left #opal [#opal]
eventualbuddha has joined #opal
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1247 (master - 3c35036 : Adam Beynon): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/13042809
travis-ci has left #opal [#opal]
fkchang has joined #opal
eventualbuddha has quit [Ping timeout: 272 seconds]
fntzr has quit [Read error: Operation timed out]
GitHub85 has joined #opal
<GitHub85> [opal] adambeynon pushed 1 new commit to master: http://git.io/uZ5n6A
GitHub85 has left #opal [#opal]
<GitHub85> opal/master a7cf83a Adam Beynon: Add support for parsing ruby code after heredoc identifier
<meh`> adambeynon, so it works now? :D
<meh`> adambeynon, man, this Array#fill stuff is awful
<meh`> I keep going out of memory because of something
fntzr has joined #opal
fntzr has quit [Client Quit]
fntzr has joined #opal
<adambeynon> meh`: it does indeed
<adambeynon> heredoc are still buggy with parsing the end of string marker though
<meh`> this spec
<meh`> this spec here
<meh`> it's awful
<adambeynon> which spec?
<meh`> adambeynon, Array#fill
<meh`> it has so many edge cases
<meh`> I've been wasting all day on it
<meh`> but it has become personal
<adambeynon> haha
fntzr has quit [Ping timeout: 248 seconds]
<meh`> seriously
<meh`> it's insane
GitHub182 has joined #opal
<GitHub182> opal/master 97c062e Adam Beynon: start cleaning up string parsing
GitHub182 has left #opal [#opal]
<GitHub182> [opal] adambeynon pushed 1 new commit to master: http://git.io/IylMsA
<meh`> 7. Array#fill with (filler, range) replaces elements between the (-m)th to the last and the (n+1)th from the first if given an range m..n where m < 0 and n >= 0
<meh`> Array#fill with (filler, range) replaces elements between the (-m)th and (-n)th to the last if given an range m..n where m < 0 and n < 0
eventualbuddha has joined #opal
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1249 (master - 97c062e : Adam Beynon): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/13047975
travis-ci has left #opal [#opal]
DrShoggoth has joined #opal
DouweM_ has joined #opal
douwemaan has joined #opal
DouweM has quit [Ping timeout: 245 seconds]
ryanstout has joined #opal
DrShoggoth has quit [Remote host closed the connection]
DouweM_ has quit [Ping timeout: 272 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
[spoiler] has joined #opal
douwemaan has quit [Quit: Linkinus - http://linkinus.com]
DouweM has joined #opal
omninonsense has joined #opal
nino has joined #opal
nino has quit [Client Quit]
omninonsense has quit [Client Quit]
eventualbuddha has quit [Ping timeout: 245 seconds]
DrShoggoth has joined #opal
DrShoggoth has quit [Remote host closed the connection]
eventualbuddha has joined #opal
eventualbuddha has quit [Ping timeout: 245 seconds]
eventualbuddha has joined #opal
GitHub180 has joined #opal
<GitHub180> opal/master 0bc0dc1 meh: Use the new coercion helper in Array
<GitHub180> opal/master de34c84 meh: Make Array#fill compliant
<GitHub180> opal/master cbffd7c meh: Add Opal::Type.coerce_to helper
GitHub180 has left #opal [#opal]
<GitHub180> [opal] meh pushed 3 new commits to master: http://git.io/VYBjmA
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1250 (master - 0bc0dc1 : meh): The build was broken.
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/13059633
<meh`> not again
<meh`> oh, just 1.8, fuck it then
adambeynon has joined #opal
<meh`> adambeynon, where should I put the coercion helper? I have the feeling it's not in the best place
<adambeynon> what helper?
<meh`> the one I just added to opal.rb
<meh`> it's extremely useful internally
<meh`> removes a lot of boilerplate
<meh`> adambeynon, also I'm thinking the Enumerable module should be implemented in Ruby rather than inline JavaScript
<meh`> adambeynon, it's full of errors and extremely hard to work with
<meh`> do you think it would become a lot slower?
<adambeynon> meh`: isnt that coerce stuff adding a load of overhead
<meh`> adambeynon, we could make it compiler optimized
<meh`> but it really gets ugly having that check explicit in the code every time
<adambeynon> I know, but the runtime has to be really fast
<adambeynon> everything else builds on top of it
<meh`> I agree
<meh`> adambeynon, we could have some internal inlining stuff
<meh`> Opal.coerce_to
<meh`> that inlines
<meh`> adambeynon, same goes for the native? and undefined? I opened an issue about
<meh`> but also, benchmarking would be nice
ryanstout has quit [Quit: ryanstout]
<meh`> I'll write a bench
<adambeynon> problem with compiler helpers, e.g. Opal.coerce_foo is that they make the compiler much much uglier
<adambeynon> require() is easy to detect
<adambeynon> but when we have to check the receiver as welll
<adambeynon> it becomes really messy
<meh`> does it really?
<adambeynon> and, if we introduce these helpers, then others may use them, which is really bad
<adambeynon> as we always have to keep them
<adambeynon> and maintain them
<adambeynon> isnt inline js code easier for the corelib?
<meh`> not in the case of coerce
<adambeynon> if (foo._isNumber) …. else ....
<adambeynon> let me look at the commit you posted
<adambeynon> i havent really looked yet
<meh`> it's the same check, except in a function
<meh`> I was copypasting it all around
<meh`> and it was retarded
<meh`> it's boilerplate
<meh`> I don't like boilerplate
<meh`> and all of Enumerable is broken
<meh`> it doesn't respect break
<meh`> adambeynon, sincerely
<meh`> adambeynon, I think native? and undefined? should be inlined, and be public
<meh`> while the Opal.helpers should remain "private"
<meh`> you don't see people going around using stuff in Rubinius:: in normal Ruby code
<meh`> there should be no expectation of it remain compatible
<meh`> the native? check is useful in libraries
<meh`> the undefined? check is useful too, to implement methods with undefined
<meh`> without having to revert to a `value == null`
<meh`> and the Opal. stuff has to help keeping the code manageable while still being fast
<meh`> readability is as important as speed imho
<meh`> and if we can have both, we should strive for both
<adambeynon> meh`: my view is that undefined should be considered an error if it comes up inside ruby code
<adambeynon> its the job of Native to stop it happening
<meh`> adambeynon, I'm not talking about having undefined everywhere
<meh`> adambeynon, I'm talking about undefined as default parameter
<adambeynon> meh`: isnt that only a problem of corelib?
<meh`> adambeynon, I think it's useful outside of it, but even then we could have a child compiler that takes care of the corelib
<meh`> adambeynon, this is the thing, what is more likely to get more contributors?
<meh`> I think a slightly uglier compiler is a good tradeoff for a more maintainable corelib
<meh`> adambeynon, I mean, I can see from your POV an uglier compiler is a pain in the ass
<meh`> but us mere mortals can only contribute to the corelib and stdlib
<meh`> and making the corelib source more accessible will only make it easier
[spoiler] has quit [Ping timeout: 248 seconds]
<meh`> adambeynon, the two things that I think are needed, for now, outside of native? and undefined?
<meh`> are the coerce_to and some friend of the yielding stuff
<meh`> Enumerable is full of arguments.length == 1 ? arguments[0] : $slice.call(arguments)
<meh`> all of it
<meh`> it's in every method at least twice
<meh`> and in general Enumerable is a broken mess
<meh`> but yeah, I'll be going to sleep, I have to wake up early tomorrow
<meh`> think about it
eventualbuddha has quit [Ping timeout: 246 seconds]
<adambeynon> meh`: sure. I will have a look to see what rubinius do, and see how that all works
<adambeynon> I have to run now as well
<adambeynon> will have a look at it all in the morning
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
meh` has quit [Ping timeout: 240 seconds]
[spoiler] has joined #opal
[spoiler] has quit [Client Quit]
eventualbuddha has joined #opal
eventualbuddha has quit [Ping timeout: 245 seconds]