meh` changed the topic of #opal to: http://opalrb.org - Ruby runtime and library on top of Javascript | 1.0.0 is near | This channel is logged at https://botbot.me/freenode/opal/
tils` has joined #opal
tils`` has joined #opal
tils has quit [Ping timeout: 240 seconds]
tils` has quit [Ping timeout: 240 seconds]
boberetezeke has joined #opal
ryanstout has quit [Ping timeout: 240 seconds]
antonishen_ has joined #opal
Kilo`byte has quit [Ping timeout: 265 seconds]
antonishen has quit [Ping timeout: 265 seconds]
boberetezeke has quit [Ping timeout: 240 seconds]
boberetezeke has joined #opal
antonishen_ is now known as antonishen
Kilo`byte has joined #opal
fkchang has quit [Ping timeout: 240 seconds]
meh` has quit [Ping timeout: 250 seconds]
fkchang has joined #opal
fkchang has quit [Ping timeout: 252 seconds]
boberetezeke has quit [Quit: boberetezeke]
ryanstewart2 has quit [Ping timeout: 252 seconds]
elia has joined #opal
dimaursu16 has quit [Ping timeout: 252 seconds]
dimaursu16 has joined #opal
ryanstewart has joined #opal
GitHub70 has joined #opal
<GitHub70> opal/master b8447a6 Elia Schito: Add `opal-build` command utility to build libs to js
<GitHub70> opal/master dbb18e5 Elia Schito: Be sure to release any executable from bin/
GitHub70 has left #opal [#opal]
<GitHub70> [opal] elia pushed 3 new commits to master: http://git.io/zz3ugg
<GitHub70> opal/master eff0406 Elia Schito: Improve missing nodejs CLI exception name
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1796 (master - b8447a6 : Elia Schito): The build passed.
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/22678527
travis-ci has joined #opal
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/22678527
<travis-ci> [travis-ci] opal/opal#1796 (master - b8447a6 : Elia Schito): The build passed.
kludge` has quit [Ping timeout: 246 seconds]
kludge` has joined #opal
GitHub139 has joined #opal
<GitHub139> [opal] elia pushed 4 new commits to master: http://git.io/v7U9zA
<GitHub139> opal/master 68ab872 Elia Schito: Add specs for opal/sprockets...
<GitHub139> opal/master 2b3e5f3 Elia Schito: Clearly mark sprockets boilerplate code
<GitHub139> opal/master 2c7c09a Elia Schito: Update RSpec rc file
GitHub139 has left #opal [#opal]
<adambeynon> elia: you're on a roll these last few days ^_^
<elia> don't call it slacking plz ^^
<elia> adambeynon, :D, was just backporting some non requires related stuff to master
<elia> adambeynon, you had any time to review the requires branch? my concern is with class/object design, builder api etc.
travis-ci has joined #opal
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/22680214
<travis-ci> [travis-ci] opal/opal#1797 (master - 893b9c1 : Elia Schito): The build passed.
travis-ci has left #opal [#opal]
GitHub89 has joined #opal
<GitHub89> [opal] elia pushed 1 new commit to master: http://git.io/6CI-kw
GitHub89 has left #opal [#opal]
<GitHub89> opal/master 02c9cb9 Elia Schito: Update the readme with latest spec/ updates info...
<adambeynon> elia: I have yeah, looks good. Im not against any of the class design really, looks good to me
<adambeynon> elia: im trying to work my way though it, but how are requires handled, does sprockets still do the compilation based on file extension
<adambeynon> (e.g. to get opal-haml working under this builder, do I need to do anything special?)
<elia> that's what I think it's not that good now: extendability
<elia> as I see things you now require haml stuff from inside a .js.rb file (or .rb of course)
<elia> and then the haml will be handled inside the buidlder
<elia> *builder
<elia> who e.g. will add the dependency on Templates and wrap the compiled haml
<elia> and then wrap the whole thing in an Opal.modules = fun…
<elia> and the actual require 'templ.haml' will load the Opal.module at runtime
<elia> hope I made myself clear enough, I recon it sounds more complicated than it is
<elia> (adambeynon, unrelated, hope you don't mind this shameless reference to spectator: https://github.com/opal/opal#rspec)
e_dub has quit [Ping timeout: 240 seconds]
e_dub has joined #opal
tils`` is now known as tils
meh` has joined #opal
meh` has quit [Ping timeout: 240 seconds]
meh` has joined #opal
elia has quit [Read error: Connection reset by peer]
elia has joined #opal
dimaursu16 has quit [Ping timeout: 252 seconds]
GitHub71 has joined #opal
<GitHub71> [opal] elia force-pushed real-requires from 2868f30 to 317dd06: http://git.io/Q_pLJg
<GitHub71> opal/real-requires 02bf442 Elia Schito, Federico Ravasio & Gianluca Randazzo: Changed expect_compiled to be just a wrapper around Opal::Compiler
<GitHub71> opal/real-requires 970dd82 Elia Schito, Federico Ravasio & Gianluca Randazzo: Added "requirable" to compiler options to mark files for future requires
<GitHub71> opal/real-requires 8ef3711 Elia Schito, Federico Ravasio & Gianluca Randazzo: Compiles require into Javascript as a no-op
GitHub71 has left #opal [#opal]
dimaursu16 has joined #opal
travis-ci has joined #opal
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/22695177
<travis-ci> [travis-ci] opal/opal#1798 (real-requires - 317dd06 : Elia Schito): The build passed.
travis-ci has left #opal [#opal]
travis-ci has joined #opal
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] opal/opal#1798 (real-requires - 317dd06 : Elia Schito): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/22695177
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1798 (real-requires - 317dd06 : Elia Schito): The build passed.
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/22695177
<elia> travis-ci, I assure you it is understood
<adambeynon> elia: do all requires get wrapped?
<adambeynon> for ruby files..
<elia> you mean the original source?
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1798 (real-requires - 317dd06 : Elia Schito): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/22695177
travis-ci has left #opal [#opal]
<elia> lol
<elia> this is the greenest build ever
<adambeynon> elia, yeah, inside the Opal.module[] thingy
<elia> adambeynon, yes, the only stuff that isn't wrapped is bare.js files and the "main" file that has been initially passed to the NewBuilder
<elia> that is also the one that has been required by sprockets
<adambeynon> awesome :D
<elia> :)
<mieko> elia: I totally zoned on the README update with the spec re-org, thanks.
<elia> mieko, my pleasure, also wasn't free, I shamelessly plugged some spectator reference… :P
<elia> adambeynon, there's a bug in the requires branch about the dependencies notified to sprockets (found on the app I'm trying it out)
fkchang has joined #opal
<adambeynon> elia: I will try it on one of my local apps and have a look
elia has quit [Ping timeout: 258 seconds]
<adambeynon> whats the bug? missing a require?
newbsduser has joined #opal
<newbsduser> hello, how can i compile static http://zh.sourceforge.jp/projects/sfnet_openh323/downloads/opal/2.2.2/opal-v2_2_2-src-tar.gz/ and its dependicies?
<newbsduser> i have an application that uses opal and i want to use opal static
<mieko> adambeynon, meh`: I'm sorting specs out of uncategorized/, and noticed all the enumerator filters are in unsupported/, specifically these: https://gist.github.com/mieko/10397663 . I've looked at the implementation of Enumerator, and can't tell which of these (and why) should be unsupported/ vs bugs/. Any guidance here?
<meh`> mieko, gimme a sec
<meh`> I'm the Enum guy :P
<mieko> Awesome.
<meh`> mieko, unless I made some mistakes, those are unsupported because they use interruptable enumerators
<meh`> for instance, we can't support Enumerator#next and anything that works with it
<meh`> mieko, but some may have been there before I reworked Enumerator
<mieko> Because it's basically a continuation, right?
<meh`> yes
<meh`> the only one I'm sure should be there is the #rewind one
<meh`> mieko, if you want to check which are bugs and which are using #next and friends, do so please
<meh`> I'll fix the failures you move to bugs
<mieko> meh`: Opinion: How crazy would it be to, in the compiler, do something like Regenerator (http://facebook.github.io/regenerator/) does for ECMA6 -> ECMA 5 to get generator expressions? Think that buy us all we need to support interruptible iterators, post-1.0 or so?
<mieko> (Readability of generated code not withstanding.)
<meh`> mieko, impossible crazy because of the runtime nature of ruby
<meh`> and even more impossible because of how Enumerable works
<fkchang> newbsduser: do you just want to precompile everything to a single js file?
<meh`> all you know is this object responds to #each
<meh`> and for #next and friends to work you'd have to stop execution INSIDE the #each
<meh`> and you can't do it without the Enumerable user implementation collaboration
<meh`> which kind of moots the point of Enumerable in the first place :P
<meh`> mieko, but we do have Enumerator::Lazy, isn't that enough? ◔ ◡ ◔
ryanstout has joined #opal
<mieko> meh`: Faking suspension is what the ECMA6 -> ECMA5 translators to. Any method that yields returns a function that "fake-resumes" based on a switch of where it left off.
elia has joined #opal
<mieko> When opal throws its yeilder, I image this resumption argument could be stashed into it. (Not that I'm volunteering for ANY OF THIS CRAZY SHIT)
<mieko> imagine*
ryanstout has quit [Ping timeout: 240 seconds]
ryanstout has joined #opal
ryanstout has quit [Client Quit]
_elia has joined #opal
elia has quit [Ping timeout: 258 seconds]
newbsduser has quit [Remote host closed the connection]
ryanstout has joined #opal
_elia has quit [Quit: Computer has gone to sleep.]
tils has quit [Ping timeout: 250 seconds]
ryanstout has quit [Quit: ryanstout]
<meh`> mieko, it would add overhead and complexity to every function compiled by opal, method included
<meh`> it's not feasable
boberetezeke has joined #opal
DrShoggoth has joined #opal
boberetezeke has quit [Ping timeout: 240 seconds]
ryanstout has joined #opal
dimaursu16 has quit [Ping timeout: 245 seconds]
boberetezeke has joined #opal
dimaursu16 has joined #opal
DrShoggoth has quit [Ping timeout: 258 seconds]
boberetezeke has quit [Ping timeout: 240 seconds]
boberetezeke has joined #opal
DrShoggoth has joined #opal
ylluminate has joined #opal
boberetezeke has quit [Ping timeout: 240 seconds]
DrShoggoth has quit [Quit: Leaving]