[o__o] has quit [Read error: Connection reset by peer]
[o__o] has joined #opal
ryanstout has quit [Quit: ryanstout]
ryanstout has joined #opal
ryanstout has quit [Client Quit]
davispuh has quit [Ping timeout: 272 seconds]
e_dub has joined #opal
kofno has quit [Quit: Connection closed for inactivity]
j_mcnally has joined #opal
meh` has quit [Ping timeout: 260 seconds]
ryanstout has joined #opal
stnly has joined #opal
oragon has quit [Ping timeout: 246 seconds]
j_mcnally has quit [Quit: さよなら]
lacrosse_ has quit [Ping timeout: 272 seconds]
bcavileer has quit [Changing host]
bcavileer has joined #opal
lectrick has joined #opal
lectrick has quit [Changing host]
lacrosse_ has joined #opal
lacrosse_ has joined #opal
lacrosse_ has quit [Changing host]
elia has joined #opal
wmnnd has joined #opal
wmnnd has quit [Ping timeout: 272 seconds]
wmnnd has joined #opal
<wmnnd>
Hey there, my implementation of named captures using XRegExp seems to be working fine now :-)
<wmnnd>
So now I wonder what I have to do in order to do the PR, especially since I still haven't figured out how/where I should include the XRegExp library in the Opal runtime and where/how the author of XRE needs to be mentioned.
<wmnnd>
Also, in the master branch, using rackup to get (I suppose) opal-rspec up doesn't work, so I'm also not quite sure how to verify whether my changes pass all required tests.
<adambeynon>
wmnnd: so are all generated regexps, by the compiler, being passed through XRegExp in javascript?
<wmnnd>
adambeynon: Yes.
<wmnnd>
adambeynon: I made it so that the compiler has all Regexps go through Opal's Regexp.new method.
meh` has joined #opal
<wmnnd>
Oh well, I have created the PR anyways and you guys can decide how including XRegExp should be handled :-)
e_dub has quit [Quit: ZZZzzz…]
e_dub has joined #opal
e_dub has quit [Quit: ZZZzzz…]
e_dub has joined #opal
e_dub has quit [Quit: ZZZzzz…]
e_dub has joined #opal
<elia>
wmnnd, good job :)
wmnnd has quit [Quit: leaving]
e_dub has quit [Quit: ZZZzzz…]
e_dub has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
fkchang has joined #opal
e_dub has quit [Quit: It's a hard knock life]
meh` has quit [Ping timeout: 258 seconds]
meh` has joined #opal
opal2 has joined #opal
<opal2>
!balance
opal2 has quit [Client Quit]
fkchang has quit [Ping timeout: 255 seconds]
lectrick is now known as pmarreck
elia has joined #opal
<elia>
adambeynon, I don't think I'll ever understand the core relations between classes and prototypes in runtime.js :(
<adambeynon>
elia: lol
<adambeynon>
i hate having to go back and understand it all again when something needs fixing
<elia>
lol indeed
<adambeynon>
elia: what part are you trying to work through
<adambeynon>
where classes inherit from?
<elia>
yeh, core relations between classes, their alloc / prototypes
<elia>
and stuff stored in the class objects (which is silly to say, bc it means everything)
<elia>
what I mean is $$alloc vs. $$parent vs. $$proto
<elia>
I'm trying to get module inheritance done
<elia>
adambeynon, I even tried to split runtime.js in the process
<adambeynon>
$$alloc is a function, whose prototype is $$proto
<adambeynon>
new Opal.Object.$$alloc()
<adambeynon>
===
<adambeynon>
Object.new
<elia>
k
<adambeynon>
$$parent is
<adambeynon>
er
<adambeynon>
no idea
<elia>
lol
<adambeynon>
I think it points to the superclass
<adambeynon>
but it might also include modules
<elia>
(I think we'll need to precisely document that stuff)
<adambeynon>
Opal.Object.$$parent = Opal.Kernel
<adambeynon>
probably
<elia>
you remember my plan for modules?
<adambeynon>
2 prototypes yeh?
<elia>
yes, I kinda refined it, bc it's like a linked list and it probably doesn't need the top one and to bottom proto can be the class itself (until #prepend at least)
<elia>
so I want to switch the next prototype in the class chain and inject the module (via a ghost class)
<elia>
and make the ghost class parent proto point to the previous A-class parent
<elia>
does it make sense?
<elia>
then the Opal.donate syncronization must update the ghost classes instead of the actual classes prototypes
<elia>
(adambeynon)
<elia>
adambeynon, well, it's good to know that I'm not alone in finding that stuff difficult, I'll sleep it off