00:08
meh` has quit [Ping timeout: 240 seconds]
00:18
vwoo has quit [Quit: Computer has gone to sleep.]
00:24
vwoo has joined #opal
00:29
vwoo has quit [Client Quit]
00:33
vwoo has joined #opal
00:42
fkchang has quit [Ping timeout: 240 seconds]
01:08
vwoo has quit [Quit: Computer has gone to sleep.]
01:10
vwoo has joined #opal
01:33
madumo has quit [Quit: Dumb message bragging about my macbook pro]
01:40
vwoo has quit [Quit: Computer has gone to sleep.]
01:49
vwoo has joined #opal
02:09
vwoo has quit [Quit: Computer has gone to sleep.]
02:32
fkchang has joined #opal
02:32
vwoo has joined #opal
02:34
vwoo has quit [Client Quit]
02:36
vwoo has joined #opal
02:46
vwoo has quit [Quit: Computer has gone to sleep.]
02:47
vwoo has joined #opal
02:57
vwoo has quit [Quit: Computer has gone to sleep.]
07:42
elia has joined #opal
07:43
fkchang has quit [Ping timeout: 260 seconds]
09:33
kludge` has quit [Ping timeout: 240 seconds]
09:36
kludge` has joined #opal
11:41
meh` has joined #opal
12:22
madumo has joined #opal
13:23
adambeynon has joined #opal
13:35
<
meh` >
adambeynon, hey
13:37
<
meh` >
adambeynon, what's up?
13:38
<
adambeynon >
going back to the real-world and applying for jobs ^_- happy days
13:54
meh` has quit [Ping timeout: 260 seconds]
13:59
chap has joined #opal
14:01
meh` has joined #opal
14:04
DrShoggoth has joined #opal
14:23
<
meh` >
adambeynon, so what does that mean for opal?
14:31
<
adambeynon >
meh`: hopefully I will have more time to work on opal. at the moment, I work from 6:30am - 8pm, 7 days a week, and Im not getting the time to work on anything else
14:32
<
adambeynon >
so, back to a "normal" 5 day job, will give me proper spare time for it :)
14:32
<
adambeynon >
and I wont have to get up stupid times in the morning
14:32
<
adambeynon >
so win win ;)
14:44
meh` has quit [Ping timeout: 240 seconds]
14:46
chap has quit [Ping timeout: 264 seconds]
15:01
meh` has joined #opal
15:20
chap has joined #opal
15:34
<
meh` >
adambeynon, sorry to be annoying but, any ETA for the module-super fix and the block destructuring fix?
15:34
<
meh` >
I really need those :(
15:38
<
GitHub44 >
opal/master 0680ed5 Adam Beynon: Re-enable some more language_version specs
15:38
GitHub44 has left #opal [#opal]
15:38
GitHub44 has joined #opal
15:40
<
adambeynon >
meh`: not sure about the super stuff, might need a lot of reworking of how modules get included into classes
15:42
travis-ci has joined #opal
15:42
<
travis-ci >
[travis-ci] opal/opal#866 (master - 0680ed5 : Adam Beynon): The build passed.
15:42
travis-ci has left #opal [#opal]
15:54
DrShoggoth has quit [Quit: Leaving]
16:00
<
adambeynon >
regarding Native
16:01
<
meh` >
adambeynon, Native() already checks if something is an opal object
16:01
<
meh` >
or I'm not following
16:03
<
meh` >
adambeynon, I don't like the idea of toOpal on native object sincerely
16:03
<
meh` >
I think the best way to go there is implement a method_missing in Element
16:03
<
meh` >
and have Element include Native::Base
16:09
<
adambeynon >
that actually makes more sense
16:09
<
adambeynon >
the super() in module stuff is, I think, because you include the module after you define the method which has the super() call
16:09
<
meh` >
adambeynon, just so you know, you can use Native.call(obj, key)
16:10
<
meh` >
it does the fetching/calling-if-function stuff
16:10
<
meh` >
adambeynon, also, the module is included in a parent class
16:10
<
meh` >
there's no initialize in the parent class definining it
16:10
<
meh` >
*including it
16:22
elia has quit [Ping timeout: 260 seconds]
16:32
<
adambeynon >
meh`: have you ever looked around mri source?
16:33
<
adambeynon >
at ICLASS specifically?
16:33
<
meh` >
adambeynon, sadly
16:33
<
meh` >
not ICLASS tho
16:33
<
meh` >
but I can give it a look
16:33
<
meh` >
what are you looking for?
16:33
<
adambeynon >
ok, well, I think we will need something similar for opal
16:33
<
adambeynon >
to track included methods
16:33
<
adambeynon >
for super()
16:34
<
adambeynon >
the problem happening for you, is that a normal super inside a module or class is that we try to be clever
16:34
<
adambeynon >
just beforre the method code, we store the current implementation of that method
16:35
<
adambeynon >
$super_foo = this.prototype.$foo;
16:35
<
adambeynon >
and assume it doesnt change
16:35
<
adambeynon >
but of course, it is likely that it will
16:35
<
adambeynon >
e.g. if we include, extend, or modify superclasses or modules included in them
16:35
<
adambeynon >
we essentially need to scrap that, and lookup the superclass chain for each super() call
16:50
vwoo has joined #opal
16:50
vwoo has quit [Client Quit]
16:51
vwoo has joined #opal
16:52
vwoo has quit [Client Quit]
16:53
vwoo has joined #opal
16:53
vwoo has quit [Client Quit]
17:05
fkchang has joined #opal
17:05
elia has joined #opal
17:15
elia has quit [Ping timeout: 246 seconds]
17:28
meh` has quit [Ping timeout: 264 seconds]
17:35
chap has quit [Quit: UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - Dennis Ritchie]
18:05
<
adambeynon >
meh`: instead of inlining all the block destruct stuff inside each block, I think im just going to make a runtime helper
18:06
<
adambeynon >
so `yield foo` actually calls something like $yield(block, foo) and we handle it that way
18:06
<
adambeynon >
otherwise generated code will be ugly, very very ugly
19:14
GitHub22 has joined #opal
19:14
<
GitHub22 >
opal/block_destructuring e87b43e Adam Beynon: Initial block destructuring commit
19:14
GitHub22 has left #opal [#opal]
19:18
travis-ci has joined #opal
19:18
travis-ci has left #opal [#opal]
19:18
<
travis-ci >
[travis-ci] opal/opal#867 (block_destructuring - e87b43e : Adam Beynon): The build passed.
19:42
meh` has joined #opal
19:55
vwoo has joined #opal
19:57
GitHub8 has joined #opal
19:57
GitHub8 has left #opal [#opal]
19:57
<
GitHub8 >
opal/block_destructuring 361174d Adam Beynon: Fix Hash#each to yield an array of [key, value]
19:57
<
adambeynon >
meh`: Hash#each should be properly working now (ish...)
19:58
<
meh` >
adambeynon, awesome stuff :D
19:59
<
adambeynon >
just got to go through and add back all the specs that relies on this stuff
19:59
travis-ci has joined #opal
19:59
travis-ci has left #opal [#opal]
19:59
<
travis-ci >
[travis-ci] opal/opal#868 (block_destructuring - 361174d : Adam Beynon): The build passed.
20:11
GitHub102 has joined #opal
20:11
<
GitHub102 >
opal/block_destructuring 77c5e20 Adam Beynon: Fix Enumerable#collect to support yielding multiple args
20:11
GitHub102 has left #opal [#opal]
20:14
travis-ci has joined #opal
20:14
<
travis-ci >
[travis-ci] opal/opal#869 (block_destructuring - 77c5e20 : Adam Beynon): The build passed.
20:14
travis-ci has left #opal [#opal]
20:17
GitHub20 has joined #opal
20:17
<
GitHub20 >
opal/block_destructuring d91ca5a Adam Beynon: Fix Enumerable#count to support yielding multiple values
20:17
GitHub20 has left #opal [#opal]
20:17
<
GitHub20 >
opal/block_destructuring 62d6dba Adam Beynon: Add some more missing specs for Enumerable#find
20:20
travis-ci has joined #opal
20:20
<
travis-ci >
[travis-ci] opal/opal#870 (block_destructuring - 62d6dba : Adam Beynon): The build passed.
20:20
travis-ci has left #opal [#opal]
20:30
vwoo has quit [Quit: Computer has gone to sleep.]
20:35
meh` has quit [Ping timeout: 260 seconds]
20:55
madumo has quit [Quit: Dumb message bragging about my macbook pro]
20:56
madumo has joined #opal
20:56
meh` has joined #opal
21:01
vwoo has joined #opal
21:09
GitHub55 has joined #opal
21:09
GitHub55 has left #opal [#opal]
21:09
<
GitHub55 >
opal/block_destructuring 9062122 Adam Beynon: Enable it_behaves_like/shared states
21:11
travis-ci has joined #opal
21:11
<
travis-ci >
[travis-ci] opal/opal#871 (block_destructuring - 9062122 : Adam Beynon): The build passed.
21:11
travis-ci has left #opal [#opal]
21:36
madumo has quit [Quit: madumo]
21:40
vwoo has quit [Quit: Computer has gone to sleep.]
21:47
vwoo has joined #opal
22:42
vwoo has quit [Quit: Computer has gone to sleep.]
22:43
vwoo has joined #opal
22:47
vwoo has quit [Client Quit]
22:49
vwoo has joined #opal
23:15
vwoo has quit [Quit: Computer has gone to sleep.]
23:35
vwoo has joined #opal
23:35
vwoo has quit [Client Quit]
23:36
vwoo has joined #opal