Perl 6 - the future is here, just unevenly distributed

IRC log for #phasers, 2010-07-06

| Channels | #phasers index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
07:15 pmichaud joined #phasers
18:08 eternaleye joined #phasers
19:02 lue joined #phasers
19:12 supernovus joined #phasers
19:31 moritz_ is it #phasers time?
19:32 diakopter joined #phasers
19:32 jnthn It does indeed appear to be
19:33 moritz_ so, roll-call ping. Who's there?
19:33 pmichaud pong
19:33 jnthn me
19:33 TimToady joined #phasers
19:33 moritz_ pmichaud: wanna start?
19:34 pmichaud okay, I'll start
19:34 pmichaud briefly:  closures work
19:34 pmichaud autoviv works
19:34 pmichaud (and is somewhat WHENCE-based)
19:34 pmichaud moved the postcircumfix operators into Any
19:35 pmichaud added $*PERL and $*VM
19:35 lue (pong)
19:35 pmichaud refactor unitstart handling (since STD.pm6 now has a <.unitstart> subrule)
19:35 pmichaud moved all of the role definitions into the setting
19:36 pmichaud (no more PIR-based role definitions)
19:36 pmichaud cleaned up IO::ArgFiles
19:36 pmichaud fixed "is copy"
19:37 pmichaud that's it for this past week.
19:37 pmichaud Currently I'm working on .Stringy (lots of things to update)
19:37 pmichaud tonight I plan to fix the REPL  (much easier now with unitstart refactor)
19:37 pmichaud tomorrow and Thu I'll get backtracking in subrules/subpatterns
19:37 pmichaud I'm also going to convert my "Rakudo Star" presentation from YAPC::NA into a blog posting.
19:38 pmichaud EOR
19:38 moritz_ pmichaud++
19:38 pmichaud (and I'm tired after a long busy week of hacking :-)
19:39 lue wow!  pmichaud++
19:39 moritz_ jnthn: got a report?
19:39 jnthn aye
19:39 jnthn * Did a fairly deep meta-model fix
19:39 jnthn * Trying to make P6metaclass a bit less "special" so we can mix into it properly
19:39 jnthn * Being slightly painful but almost there
19:39 jnthn * We type check the invocant properly now
19:39 jnthn * Fixed sub-signatures on Routines bug
19:39 jnthn * Optionals also get the correct type-object
19:39 jnthn * Made mkdir/chdir/dir work to help masak++ with getting pls more platform independent
19:39 jnthn * is rw trait on classes and is default trait on routines work again
19:39 jnthn * Planning future stuff including next grant app
19:40 jnthn * Wrote my first non-gutsy Perl 6 module, Test::Mock. Quite happy with how things felt.
19:40 jnthn .EOR
19:40 * moritz_ mostly did smallish stuff
19:40 lue jnthn++
19:41 moritz_ also worked on enriching lexical information with tcurtis' optimization framework
19:41 moritz_ should focus on book hacking, but somehow I don't find the motivation right now
19:42 lue I worked on := and ::=, incase anyone hasn't noticed :=)
19:42 jnthn OH RLY? ::=)
19:42 moritz_ pmichaud: do you think <foo> in a regex looking in lexical scopes first is a LHF?
19:42 moritz_ if yes, I might try to patch nqp-rx
19:43 jnthn Is it not a static decision?
19:43 moritz_ well, the lexical environment should be known at compile time
19:43 pmichaud the regex compiler has no idea about lexical scope
19:43 jnthn Right.
19:44 pmichaud so we'd have to replace the rule that handles subrules
19:44 pmichaud ...which we might already be doing.
19:44 pmichaud looking
19:44 jnthn pmichaud: The actions know what is declared int he otuer scope though?
19:44 jnthn And can emit something different?
19:44 pmichaud Rakudo's actions can, yes.  The regex compiler's actions can't.
19:44 jnthn aha, I see
19:44 pmichaud (yes, we can override)
19:44 moritz_ so it's only a Rakudo change then?
19:45 pmichaud it can be.
19:45 pmichaud looking.
19:46 pmichaud the code that handles this is currently in nqp-rx
19:47 pmichaud src/Regex/P6Regex/Actions.pm:588
19:47 pmichaud it takes care of named assertions, such as <var>   and <abc=xyz>
19:48 pmichaud this code would need to be duplicated into the p6regex actions we have for rakudo
19:48 moritz_ Actions.pmm is 588 lines long
19:48 pmichaud oh, sorry
19:48 pmichaud line 387
19:48 pmichaud i.e., we'd want to override this method with a rakudo-specific one
19:49 pmichaud the final "else" clause would then want to see if "&name" exists in an outer lexical scope, and if so to generate a &var production instead of the named regex.
19:49 pmichaud actually, it would probably need to generate the equivalent of <var=&var>
19:49 pmichaud since &var is non-capturing.
19:50 pmichaud anyway, it's not particularly LHF but it's also not super-impossible, either.
19:50 lue (I've been thinking about documenting the contents of Rakudo, the src/ folder in particular)
19:50 moritz_ I'll take a look
19:50 pmichaud lue:  modifying docs/compiler_overview.pod would be worthwhile
19:51 pmichaud s/modifying/updating/
19:51 moritz_ anything else we want to discuss today?
19:51 ash_ i did some work on try.rakudo.org, but i am kinda at a standstill as i don't know how to integrate my work with cygx's backend and i haven't seen him online yet to make sure its working right, but try.rakudo.org is almost to the point were people can start writing tutorials for it, i am trying to have that whole processes kinda stream-lined soon, i have an outline in the repo of the order of things that seem logical to me, but feel
19:51 ash_ it or suggest changes
19:51 pmichaud starting friday I'll be on vacation.
19:51 pmichaud I expect to have wifi access, and even a bit of time, but many bets are off until I get back the following saturday.
19:51 lue I've read that, it helped me greatly in understanding, among other things, what the different stages meant.
19:52 pmichaud (I'll certainly be checking email and following patches while out)
19:52 pmichaud I'll leave you all the special email addr where I can get text messages, in case anything semi-important comes up that needs a quick response.
19:52 jnthn +1
19:53 jnthn And enjoy the vacation! :-)
19:53 pmichaud also, I'm declaring now that our release date will be the 29th, and not earlier.
19:53 jnthn You must need it after the closures. :-)
19:53 pmichaud both closures and autoviv required a significant amount of code refactoring, yes.  :)
19:53 jnthn :-)
19:54 lue ooh, is Proxy gone? If not, maybe I can help :)
19:54 pmichaud ash_: I'm very eager to see some form of online "try Perl 6" site available soon.
19:54 pmichaud I had someone who would've definitely wanted to use it this past week.
19:54 pmichaud lue: Proxy is still in the codebase, but it's not used by the core any more.
19:55 pmichaud pmichaud@plum:~/rakudo$ ./perl6
19:55 pmichaud > my @a;  say @a[3].WHAT;
19:55 pmichaud Any()
19:55 pmichaud (used to say "Proxy()")
19:55 lue ah. So I could still say my Proxy $a if I needed to (for some strange reason)
19:55 ash_ pmichaud: cygx has http://try.rakudo.org:8090/ setup for now, to test on the production box, its not finished yet though (it doesn't evaluate the results yet, it just bounces off the server)
19:56 moritz_ ash_++ cygx++
19:56 pmichaud ash_: this was a person who really wanted to start playing with Perl 6
19:57 pmichaud I had to set her up with a shell account on my system, but it would've been far easier to say "go to this web site" :-)
19:57 ash_ yea, i know what you mean, we are working on it, just not finished yet
19:58 jnthn YES!!
19:58 pmichaud (goal?)
19:58 moritz_ right
19:58 jnthn pmichaud: :-)
19:58 moritz_ for the netherlends
19:58 jnthn For the Right Team. :-)
19:58 ash_ you just saved money on your car insurance?
19:58 lue 2-1 \o/
19:58 ash_ oh, thats good to
19:59 ash_ :p
20:01 moritz_ pmichaud: any objections to making subrule_alias in Regex::P6Regex::Actions a method?
20:01 moritz_ so that we can use in rakudo through inheritance
20:01 ash_ maybe tonight or tomorrow i can get my server setup with all of the try.rakudo.org stuff, it would help me a lot if i could run it on my local computer, i just don't know all of the configurations, but i'll try to get in contact with cygx and get the site going, at the very least by nextweek i can have a system setup for writing tutorials, http://github.com/moritz/try.rakudo.org/blob/master/frontend/data/chapters/index.js is my outl
20:01 ash_ format)
20:01 jnthn 3-1 \o/
20:01 [particle] reminder: next week is mid-terms for gsoc. students and mentors, get your reports in
20:02 jnthn [particle]: Aye, I'll be sure to do that for masak++.
20:02 moritz_ speaking of which... shouldn't we have a gsoc report today? :-)
20:02 jnthn moritz_: Aye
20:02 jnthn But our reporter appears to be missing.
20:02 jnthn I saw him working on it at the weekend though ;-)
20:03 [particle] no news is good news?
20:03 moritz_ yes, and he blogged end of last week
20:03 pmichaud moritz_: I'm fine with changing it to a method.
20:05 pmichaud (just confirmed, our lodging while traveling has wifi :)
20:05 lue :)
20:06 jnthn I know that masak++ has been looking at binary file I/O of late, anyways. Which is where things should be.
20:06 jnthn I'll be sure to get the mid-term report written and filed.
20:06 moritz_ which is where .Stringy might come into play. Or .encode within print()
20:09 pmichaud my .Stringy branch is mostly working, but it gets lost with match objects and a few other things that end up in infinite loops.
20:11 lue so do I check for WHENCE or scalar-ness?
20:12 pmichaud WHENCE
20:12 pmichaud assign.pir:60
20:14 lue I don't quite see where it checks WHENCE (maybe I should be looking for a different word?)
20:14 moritz_ whence = getprop 'WHENCE', tgt
20:16 * pmichaud suggests "git pull" at some point.
20:17 lue is it the line $I0 = isa source, ['Parcel']
20:17 moritz_ it is the line
20:17 moritz_ whence = getprop 'WHENCE', tgt
20:18 pmichaud http://github.com/rakudo/rakudo/blob/master/src/builtins/assign.pir#L60
20:19 pmichaud are we about done with #phasers for this week?
20:20 * moritz_ thinks so
20:20 pmichaud I'll try to arrange to make it to #phasers next week
20:20 pmichaud but don't wait for me :)
20:20 sorear hi.
20:21 sorear drat, I completely missed it
20:21 lue pmichaud: I've continued my plight on #perl6
20:22 eternaleye_ joined #phasers
20:25 jnthn I've nothing more.
20:25 jnthn BTW, Holland FTW :-)
20:28 lue \o/\o/\o/\o/
20:28 lue [ now for Deutschland to win the cup! :) ]
20:29 jnthn Heh, there's a *semi* to go first. :P
20:57 diakopter left #phasers

| Channels | #phasers index | Today | | Search | Google Search | Plain-Text | summary