Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2008-03-01

Perl 6 | Reference Documentation | Rakudo

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

All times shown according to UTC.

Time Nick Message
00:00 cj mncharity: which list is discussing it?
00:01 mncharity no list (that i know of).   just the obvious path of "parrot provides yaml ast", "create things to use that ast", profit.
00:01 ingy cj: I got a ton of work
00:01 ingy I suppose you want some $$ in return though :\
00:02 ingy cj: are you still at @m@z0n?
00:02 mncharity less tongue in cheek, the core idea is that having parrot provide parsing will let backend development take off.
00:04 mncharity optimized for doing p6 implementation development (eg, multimethods and macros, which are a lower priority focus for the parrot backend).
00:04 * ingy is up for meeting cj and [particle] this weekend to write some code...
00:04 mncharity what part of planet?
00:04 ingy SEA
00:05 mncharity a weekly couple of hour p6 hackathon might be a useful social dynamic?
00:05 mncharity virtual hackathon
00:05 ingy s/p6// :)
00:06 ingy guess I'm on the wrong channel for that attitude
00:06 mncharity indeed
00:07 mncharity the confused people channel is over there
00:07 mncharity :P
00:08 ingy heh
00:08 ingy I *could* be sucked into the p6 blackhole I suppose...
00:11 mncharity or wait a few weeks.  between parrot and redsix and STD, we'll have no excuse to not have a parse tree for something at least p6-like.  at which point, there's a lot of p6 to be written.
00:13 mncharity the yaml decoupling means that is backend foo can't do x at the moment, well, you develop that part with backend bar.  rather than wandering off for a few months.
00:13 mncharity s/is/if
00:23 meppl good night
00:23 mncharity g'night
00:24 meppl ;)
00:24 mncharity looks interesting: http://buildfarm.st.ewi.tudelft.nl/releases/strategoxt/strategoxt-manual-unstable-latest/manual/chunk-chapter/stratego-language.html
00:24 lambdabot Title: Part III. The Stratego Language, http://tinyurl.com/yvoc9q
00:36 IllvilJa joined #perl6
00:37 IllvilJa left #perl6
00:59 mncharit1 joined #perl6
01:01 BinGOs_ joined #perl6
02:02 penk joined #perl6
04:13 xinming joined #perl6
04:20 RayMagini joined #perl6
04:40 diotalevi joined #perl6
05:03 jjore joined #perl6
05:33 turrepurre joined #perl6
05:34 r0bby joined #perl6
05:38 nothingmuch joined #perl6
05:38 bbkr__ joined #perl6
05:38 cmarcelo joined #perl6
05:38 kolibrie joined #perl6
05:38 sordith joined #perl6
05:38 pravus joined #perl6
05:38 chinsans joined #perl6
05:38 GeJ joined #perl6
05:38 bphillip1 joined #perl6
05:38 simcop2387 joined #perl6
05:38 cognominal joined #perl6
05:38 bloonix joined #perl6
05:38 zev joined #perl6
05:39 zev joined #perl6
05:39 GeJ_ joined #perl6
05:39 bbkr__ joined #perl6
05:39 nothingmuch joined #perl6
05:41 cmarcelo joined #perl6
06:00 silug joined #perl6
06:08 jql joined #perl6
06:40 Schwern joined #perl6
06:40 pugs_svnbot r20029 | lwall++ | [Cursor5] cleaner split of immutable Cursor from mutable Match object
06:40 pugs_svnbot diff: http://dev.pugscode.org/changeset/20029
06:40 lambdabot Title: Changeset 20029 - Pugs - Trac
07:05 Zygo joined #perl6
07:20 sordith joined #perl6
07:22 cj joined #perl6
07:30 blindfish joined #perl6
07:55 Aankhen`` joined #perl6
08:09 fridim_ joined #perl6
08:43 pmurias joined #perl6
08:55 devogon joined #perl6
09:04 silug joined #perl6
09:09 cognominal_ joined #perl6
09:09 cognominal_ joined #perl6
09:33 penk joined #perl6
10:14 kanru joined #perl6
10:17 barney joined #perl6
10:18 smtms joined #perl6
10:21 drrho joined #perl6
10:41 iblechbot joined #perl6
11:06 meppl joined #perl6
11:21 kanru joined #perl6
11:30 pjcj joined #perl6
11:39 araujo joined #perl6
12:15 rfordinal joined #perl6
12:17 rfordinal left #perl6
12:25 rfordinal_mobile joined #perl6
12:33 rfordinal_mobile left #perl6
12:44 rfordinal_mobile joined #perl6
12:51 rfordinal_athome joined #perl6
12:57 lichtkind joined #perl6
12:59 mncharity joined #perl6
13:15 sordith joined #perl6
13:21 rindolf joined #perl6
13:40 gilimanjaro joined #perl6
13:53 rindolf joined #perl6
14:03 pasteling "pugsbot_r17185" at 193.200.132.135 pasted "Pugs build failure" (6 lines, 278B) at http://sial.org/pbot/30391
14:03 pugsbot_r17185 joined #perl6
14:06 diakopter that's a new one
14:10 chris2 joined #perl6
14:29 pmurias joined #perl6
14:29 pmurias mncharity: hi
14:33 hugues23 joined #perl6
14:33 simcop2387 joined #perl6
14:36 RayMagini joined #perl6
14:41 blindfish joined #perl6
14:43 pmurias mncharity: the motivation behind MiniPerl6Like is too bootstrap kp6 ASAP, hoping someone will attach a better parser to kp6
14:45 rindolf joined #perl6
14:49 pugs_svnbot r20030 | pmurias++ | [kp6-mp6like]
14:49 pugs_svnbot r20030 | pmurias++ | Lit::NamedArgument, Lit::Pair and Val::Char
14:49 pugs_svnbot r20030 | pmurias++ | added a test for hashes and a hashbang to script/mp6.pl
14:49 pugs_svnbot diff: http://dev.pugscode.org/changeset/20030
14:49 lambdabot Title: Changeset 20030 - Pugs - Trac
14:52 __Ace__ joined #perl6
14:58 pmurias emitters in mp6 could also be written is a style similiar to emit_from_kp6.pl
14:58 wknight8111 joined #perl6
15:12 * moritz_ greets all Perl 6 Monks ;)
15:12 moritz_ ... and monkeys, if there are any ;)
15:12 pmurias moritz_: hi
15:13 peepsalot joined #perl6
15:15 pmurias what is a proper monky greeting?
15:15 moritz_ ugga agga?
15:18 diakopter moritz_: eeaaakk  eeaaakk
15:18 moritz_ *g*
15:22 pugs_svnbot r20031 | pmurias++ | [kp6-mp6like] -Bmp6,-Cmp6,hashes
15:22 pugs_svnbot diff: http://dev.pugscode.org/changeset/20031
15:22 lambdabot Title: Changeset 20031 - Pugs - Trac
15:24 moritz_ pmurias: what's [kp6-mp6like], and why do we need it?
15:25 pmurias moritz_: it's a kp6 backend duplicating mp6
15:25 pmurias so that we don't need mp6
15:26 moritz_ and what does it emit?
15:26 pmurias the same sort of code mp6 does
15:27 pmurias it's a port of the mp6 perl5 backend
15:28 moritz_ ok
15:29 pmurias i think it's the fastest way to achive bootstrap
15:29 pmurias (simplest also)
15:30 moritz_ so instead of writing a bootstrapping emitter and doing all the runtime in Perl 6, you make mp6 more like kp6, until they are the same
15:30 moritz_ did I get that right?
15:31 TimToady at which point you have a bootstrapped kp6 compiler, but not necessarily a bootstrapped p6 compiler... :)
15:31 moritz_ aye
15:32 pmurias moritz_: i think you are wrong
15:32 pmurias it's more making kp6 more like mp6
15:36 pmurias TimToady: it would be a bootstrapped mp6 compiler with kp6 in BEGIN
15:37 peeps[work] joined #perl6
15:40 TimToady I'm just pointing out that there's not much meaning in saying "a bootstrap" without saying a bootstrap of what
15:42 pmurias well self-hosting is a better word
15:43 TimToady okay, same question, self-hosting of what?  ;)
15:48 rindolf joined #perl6
15:48 pmurias of what? you mean self-hosting what?
15:50 TimToady that would probably be better English
15:51 diakopter TimToady was using "self-hosting" as a gerundive, not a participle
15:52 TimToady well, my point is that I'm not sure what self-hosting buys us if the thing that is self-hosted isn't p6
15:52 TimToady after all, there are a lot of self-hosted languages in the world already that aren't p6 :)
15:52 diakopter er, scratch my last comment; my memory fails me
15:57 TimToady well, I'm just grumpy this morning, mostly because gimme5 is making me think too hard about the differences between cursor objects and match objects, when I want to think about longest tokens...
15:59 TimToady and I don't think any of the other parsers have solved those problems yet
16:05 stevan_ joined #perl6
16:07 Juerd re longest tokens: Has nobody ever told you that size doesn't matter? ;)
16:08 TimToady and more basically, I'm not sure it's a good idea to let users say things like $<foo> = 42 when what's really going on is something more like $¢ = $¢.clone_and_add_property(:foo(42))
16:10 TimToady and I'd really prefer not to use tie in p6 to emulate delegation of pseudo hash subscripting to the cursor object
16:10 TimToady s/p6/p5/
16:15 lichtkind who is gimme?
16:15 TimToady gimme5 is a program that translates STD.pm to STD5.pm, which runs the standard grammar in p5
16:16 TimToady and is currently stuck at parsing things about as complex as -42+1
16:16 lichtkind ah :) so you mean STD5 defines the grammar of perl 5 with perl 6 rules?
16:16 TimToady no, grammar of perl 6 with perl6 rules implemented in perl 5
16:17 lichtkind yea my feelings told me that but my brain parsed your sentence different :)
16:17 lichtkind thanks
16:18 lichtkind so its a was to use perl with small p to bootstrap Perl 6
16:19 lichtkind sounds like it is something flavio is working on, has anybody seen flavia lately?
16:19 TimToady yes, gimme5 is a very ad hoc translation of STD.pm to a version in p5 that uses p5 methods to implement STD parsing semantics
16:19 TimToady well, gimme5 is the translator, not the translation
16:20 lichtkind of course i understood
16:20 TimToady gimme5 is actually a version of metholate, that used to translate to pugs
16:20 TimToady but pugs was to slow and buggy to support it
16:21 TimToady STD5.pm and Cursor5.pm actually run quite fast, and reproduce the bugs in a stable way :)
16:21 lichtkind haha
16:21 lichtkind what the heck is metholate please
16:22 TimToady translation of rules to method calls that emulate a regex engine
16:22 lichtkind its your invention or something specced?
16:22 TimToady because you can do backtracking with gather/take on lazy lists
16:22 TimToady that was what was translating STD.pm to pugs code
16:23 TimToady nothing to do with spec
16:23 lichtkind yay the bibleupdater works and produses flaweless UTF synopses :)
16:23 __Ace__ is it gonna be possible to have files in memory and parse them from there in perl6? (thinking of now when embedding perl files into say a .zip with PAR, they have to be exatacted first)
16:23 TimToady metholate and gimme5 are basically the same program with a different target engine
16:24 __Ace__ or Im way off?
16:24 lichtkind ah now it becomes clearer i thought its a tool somebody else wrote
16:24 TimToady __Ace__: it's prety much mandatory to parse from memory
16:24 __Ace__ aha..
16:24 TimToady currently the p6 parsers mostly assume you've just handed them a string
16:24 TimToady and to make it work little-by-little from disk would be harder :)
16:24 __Ace__ thing is, I dont remember exactly how it is in perl5, but I recall it was something like that
16:25 rindolf joined #perl6
16:25 TimToady p5 can read from a file on the fly, but I think we have big enough memories now that that is suboptimal
16:25 TimToady and it's better to always slurp in the whole file as a string and then parser
16:25 TimToady *parse
16:25 __Ace__ and how about many files? (like modules etc9
16:26 __Ace__ and how about many files? (like modules etc)
16:26 TimToady those are compiled separately
16:26 TimToady there's no such thing as "include"
16:26 __Ace__ basicly, Im wondering if its gonna be possible to embedd all files into one, and NOT having to extract them
16:27 TimToady oh, likely, but given most of the platforms we're targetting, you'd probably just compile down to some kind of object code and send that
16:28 __Ace__ ah
16:28 __Ace__ almost better
16:28 __Ace__ :)
16:28 TimToady or send a bunch of half-compiled ASTs and just emit the right code on the other end
16:28 TimToady lots of ways to dice it
16:29 __Ace__ how about those modules that uses external libs?
16:30 TimToady what about 'em?
16:30 lichtkind TimToady: to something completely different, when i publish the synopses with p6doc, i change the POD formation of the header a bit so its nicer to read from CPAN, youd be changed that in the originals too?
16:30 lichtkind s/youd/could/
16:31 __Ace__ they are put in the same folder as the object code so they are found?
16:32 TimToady lichtkind: sure, everything is negotiable :)
16:33 sordith joined #perl6
16:34 TimToady __Ace__: you could put a subset of the official library either in the same directory or even in the same distribution file; we've defined versioning in S11 such that, once you know the full name of a module you can be sure it's the official one
16:34 TimToady P6 is agnostic about the storage format of the official library
16:35 TimToady you can also have personal modules that aren't "official" yet
16:35 TimToady but I wouldn't use that mechanism for your personal copy of official modules
16:35 lichtkind TimToady: the biggest thing is s|=head1 TITLE /n/n Synopsis 3: Perl 6 Operators|=head1 NAME \n\n Synopsis_02 - Bits and Pieces|
16:36 lichtkind for some obscure reasons only Name Tags are indexed in CPAN overview maybe should fix it there
16:38 TimToady maybe--making documents act like modules seems like a square peg in a round hole
16:39 TimToady but I'm actually more worried about the _ than the TITLE/NAME
16:40 TimToady Most documents in the world are not required to have names that are a single identifier :)
16:40 TimToady and the CPAN namespace is rather limited even for p5
16:41 lichtkind TimToady: sure _This__sucks_  but it would be ruin the 2 row layout in the cpan overview
16:42 TimToady would it work to have both a NAME and a TITLE?
16:42 lichtkind allright so will reformat it in future too, its made by an regex enywway :)
16:42 lichtkind dunno
16:43 TimToady feel free to experiment on S29 in the pugs repo
16:43 TimToady I can change the rest of them if you find something we can agree on
16:44 TimToady well, it's called Functions.pod in the repo
16:44 TimToady yet another "title" :/
16:44 Chillance joined #perl6
16:45 rhr speaking of which, could we get http://feather.perl6.nl/syn/ to list the pod file names?  some of them are hard to find...
16:45 lambdabot Title: Official Perl 6 Documentation
16:45 lichtkind i thing i changes the s29 little bit
16:46 lichtkind err no i did not
16:47 TimToady rhr: "The page you're currently looking at lives in the Pugs repo as docs/feather/syn_index.html, and is resync'd every few minutes."
16:47 TimToady have at it :)
16:49 Chillance joined #perl6
16:52 Chillance joined #perl6
16:54 rhr where are the synopsis files that end up in http://svn.pugscode.org/pugs/docs/Perl6/Spec/ (other than the ones in pugs)?
16:54 lambdabot Title: Revision 20031: /docs/Perl6/Spec
16:54 mncharity lol reading descriptions of what STD et al are
16:54 mncharity pmurias: hi :)
16:56 rhr I see, nevermind.  the update script goes out of its way to give them the weird names
17:00 mncharity to recap, src/perl6/STD.pm is a grammar for p6, written in p6, which nothing can run.  ./cheat STD.pm > something easier to run.  ./cheat STD.pm | ./metholate > p6 pugs can run.  ./cheat STD.pm | ./gimme5 > STD5.pm, which p5 can run.  (with Cursor5.pm to help out).  ./STD5_run runs STD5.pm against p6 code, and gives back a yaml match tree.  tada! :)
17:04 arcady joined #perl6
17:06 mncharity pmurias: re 'the motivation behind MiniPerl6Like is too bootstrap kp6 ASAP', ah, ok.  feel free to prototype/develop it in emit_from_kp6.pl, and then backport to kp6.  the p5-ness, and ability to run the backend off of cached parser yaml (so parse isn't part of the edit-test loop), might make it easier.
17:12 iblechbot joined #perl6
17:13 mncharity [particle]: how goes yaml-ness? :)
17:15 pmurias mncharity: i don't think speeding the compile-edit-test loop would be worth porting the code to and thro
17:17 pmurias as there aren't much hacks left to add to the emitter
17:20 pmurias kp6 grammar is ~2 x slower, so a new faster one is needed to make mp6like usefull
17:22 PerlJam mncharity: "which nothing can run *yet*"  :)
17:24 pmurias mp6(like) generates code which is close to hand written one so hand editing is also an option
17:32 pugs_svnbot r20032 | putter++ | [misc/pX/Common/redsix] better t/ support; permit capitalized methods (eg, HOW); +README.
17:32 pugs_svnbot diff: http://dev.pugscode.org/changeset/20032
17:32 lambdabot Title: Changeset 20032 - Pugs - Trac
17:33 mncharity pmurias: ah, ok.  re 'new faster one', that would be [particle]'s parrot->yaml.  or as a fallback, redsix->yaml.
17:35 mncharity PerlJam: re '*yet*', indeed.  hopefully rsn, at least with some cheating.
17:35 pugs_svnbot r20033 | rhr++ | [syn_index.html] Add .pod links (with the funny names)
17:35 pugs_svnbot r20033 | rhr++ | Also add links to draft S17 and S22
17:35 pugs_svnbot diff: http://dev.pugscode.org/changeset/20033
17:35 lambdabot Title: Changeset 20033 - Pugs - Trac
17:36 mncharity re 'hand editing', eep.
17:40 pmurias that's why i prefere to wait a few seconds
17:40 pugs_svnbot r20034 | pmurias++ | [kp6-mp6like] new tests,all exept 07-constructor fail
17:40 pugs_svnbot diff: http://dev.pugscode.org/changeset/20034
17:40 lambdabot Title: Changeset 20034 - Pugs - Trac
17:48 Psyche^ joined #perl6
17:51 njbartlett joined #perl6
17:52 pugs_svnbot r20035 | rhr++ | [syn_index.html] mark drafts as [DRAFT], fix up spacing
17:52 pugs_svnbot diff: http://dev.pugscode.org/changeset/20035
17:52 lambdabot Title: Changeset 20035 - Pugs - Trac
17:54 jwest-- joined #perl6
17:55 rhr I'm not sure feather is actually grabbing that file.  there are a couple spelling fixes from july that aren't on feather
18:00 rhr here's the new version: http://airen.bcm.umontreal.ca/syn_index.html
18:00 lambdabot Title: Official Perl 6 Documentation
18:10 pugs_svnbot r20036 | putter++ | [redsix] Added --yaml.  Currently, it simply dumps the raw ast tree, which is rather large.  ./redsix --yaml -e '3' is 250 KB and 11 klines.
18:10 pugs_svnbot diff: http://dev.pugscode.org/changeset/20036
18:10 lambdabot Title: Changeset 20036 - Pugs - Trac
18:11 mncharity oh, that's cute.  ./redsix --yaml -e 'say(3)' > /dev/null makes ruby 1.9.0 go boom.
18:11 mncharity the reason for the enormous size is the entire grammar is getting sucked in.
18:12 TimToady one wishes one could instruct yaml not to follow certain links...
18:13 TimToady trying to dump out a Match object without the associated cursors (including all prior cursors) is a problem for me
18:13 TimToady and I don't even have links back into the matching rule yet, which I suppose is your problem
18:14 mncharity yep, that's it.
18:14 TimToady maybe writing a custom yaml visitor is the solution
18:14 mncharity hmm...
18:15 mncharity ruby yaml is actually pretty flexible.  http://www.ruby-doc.org/core-1.9/index.html  let's see what p5 provides first...
18:15 lambdabot Title: RDoc Documentation
18:28 pugs_svnbot r20037 | putter++ | [redsix] --yaml ast is now small.  Its copy of the Match parse tree is discarded before dumping.  Which discards line numbers, etc, but is a better first attempt than the previous, unusably large version.
18:28 pugs_svnbot diff: http://dev.pugscode.org/changeset/20037
18:28 lambdabot Title: Changeset 20037 - Pugs - Trac
18:41 blindfish joined #perl6
19:18 mncharity re redsix problem, it's basically ast nodes linked to their associated Match trees (which one might want, or want flattened, or want gone, but are always gone for now), and those Match nodes link to rules which have some ugly clutter.  RightThing is probably to declutter, and have a knob on how much Match do you want in your ast.
19:18 mncharity For STD, it's just a clutter issue.
19:20 mncharity so walk the tree (either smashing clutter or cloning the tree), or try to do it yaml side.  the latter seems to mean "don't use syck".  not attractive alternatives.
19:20 TimToady I've been fiddling with putting matches inside of cursors, and cursors inside of matches, and I'm not happy with either approach...
19:21 mncharity bigger picture, you might be happier looking at cleaner Match descriptions than yaml.  something like
19:25 TimToady basic problem is that p5 doesn't really have any data type suitable to represent match+cursor objects, and any approach that separates them makes for circular references sooner or later
19:25 TimToady and p5 doesn't handle circular refs well...
19:26 TimToady but there's enough difference between the match interface and the cursor interface that they're hard to combine into one object too under p5
19:27 TimToady I'll probably end up translating $/<foo> to $¢->{HASH}->{
19:27 TimToady FOO}
19:27 TimToady $¢->{HASH}->{foo} that is
19:28 TimToady $¢->{ARRAY}->[1] for $1
19:29 TimToady if I could poke a glob into $foo and then do $foo{HASH} I could use globs, but that doesn't work either
19:30 TimToady and because tie is done on individual values, not types, it's not really suitable for defining an immutable type that has to clone rapidly
19:31 mncharity hmm,both Regexp::Common and yare get lots of "Variable "$sub_id" is not available" warnings under 5.10.  wonder what that means.
19:31 TimToady (a cursor containing a match object isn't immutable from the user's point of view, but one can view the mutable match bits as a mere cache of "prior" cursor history)
19:32 TimToady so I think I'm just going to have to make $/ dereferencing non-transparent at the p5 level, sigh
19:34 TimToady at least that should make it pretty easy to prettyprint the match bits without the cursor bits
19:34 pugs_svnbot r20038 | putter++ | misc/pX/Common/yet_another_regex_engine/Regexp_ModuleA.pm: Made executable.  Tweaked to work with 5.8.8.  Many warnings, and untested, on 5.10.
19:34 pugs_svnbot diff: http://dev.pugscode.org/changeset/20038
19:34 lambdabot Title: Changeset 20038 - Pugs - Trac
19:35 TimToady (where when I say match I mean something more like ast...)
19:37 pugs_svnbot r20039 | putter++ | [yet_another_regex_engine] Clarify a puzzling error message.
19:37 pugs_svnbot diff: http://dev.pugscode.org/changeset/20039
19:37 lambdabot Title: Changeset 20039 - Pugs - Trac
19:39 mncharity anyway, long ago I started the sentence "something like", and now continue the yare repl output, or the representation used by redsix -v (*not* --yaml).
19:39 * mncharity backlogs
19:40 TimToady sure, just using yaml because it's quick and dirty, for some definition of dirty
19:41 mncharity lol.  sigh, I think I'm basically understanding... and then hit "(where when I say match I mean something more like ast...)" :)
19:42 TimToady how astish it is depends on how you write your {*} reductions
19:42 pmurias TimToady: p5 doesn't really have any data type suitable to  represent match+cursor objects
19:42 pmurias does p6 has one?
19:42 FurnaceBoy joined #perl6
19:43 TimToady arguably Capture, if you don't look too hard at immutability issues
19:44 TimToady Capture doesn't natively have .from and .to, but those can presumably be mixed in to produce a Match
19:44 mncharity Match is Capture but mutable; :)
19:45 TimToady well, and Capture is just an immutable list of mutable containers, really
19:45 TimToady or you wouldn't be able to bind to a rw parameter...
19:46 TimToady in my regex engine I'm treating Cursor as immutable, though of course p5 doesn't care
19:47 TimToady but by cloning cursors as we progress, I can resume matches anywhere at any time without having to restore any values in the match state
19:47 TimToady presumably it'd even be thread safe
19:48 TimToady but as soon as I call into a user's {...} I have to make it mutable according to current S05
19:48 TimToady the eventual $/ returned by a match is not necessarily mutable though
19:49 TimToady maybe it's just wrong to allow $<foo> = 42 inside user closure, I dunno...
19:49 TimToady make them generate a new $¢ every time like I do :)
19:50 TimToady on the other hand, maybe it's safe to allow mutability in that limited scope without confusing the regex matcher, as long as it doesn't go reentrant
19:50 TimToady (but how would I guarantee *that*?)
19:51 mncharity being non-reentrant again would seem must unfortunate
19:51 mncharity *most
19:52 TimToady maybe $/ is really tracking the current $¢ inside the {...}, and when you say $<foo> = 42 it generates a new $¢ which is used for any submatches and is also returned at the end of the {...} for continuing
19:52 mncharity back re 'trying to dump out a Match object without the associated cursors (including all prior cursors) is a problem for me', STD5_run could certainly optionally do some postprocessing on the yaml.
19:53 mncharity (not meaning to interrupt;)  bbiab
19:53 TimToady need to go buy my cat some food, likewise bbl &
19:55 FurnaceBoy ah the natural pecking order in action
20:04 spinclad *minions!* *I need food!* *I need food naow!*
20:09 rindolf joined #perl6
20:43 ruoso joined #perl6
21:23 lambdabot joined #perl6
21:26 pugs_svnbot r20040 | pmurias++ | [kp6-mp6like] Arrays and namespaces
21:26 pugs_svnbot diff: http://dev.pugscode.org/changeset/20040
21:26 lambdabot Title: Changeset 20040 - Pugs - Trac
21:27 integral joined #perl6
21:38 pmurias pugs: [1,2,3]
21:38 exp_evalbot RESULT[[1, 2, 3]]
21:38 pmurias pugs: @([1,2,3])
21:38 exp_evalbot RESULT[[1, 2, 3]]
21:39 pmurias pugs: 1
21:39 exp_evalbot RESULT[1]
21:39 rakudo_svn r26167 | chromatic++ | [Rakudo] Minor formatting cleanup in the comments.
21:39 pmurias pugs: my @a=(1,2,3);@(@a)
21:39 exp_evalbot RESULT[[1, 2, 3]]
21:40 pmurias pugs: @(2)
21:40 exp_evalbot RESULT[[2,]]
21:40 pmurias pugs: @(2,3)
21:40 exp_evalbot RESULT[[2, 3]]
21:40 pmurias pugs: @([2],3)
21:40 exp_evalbot RESULT[[[2,], 3]]
21:40 pmurias pugs: @([2])
21:40 exp_evalbot RESULT[[2,]]
21:41 pmurias does pugs handle @() correctly? (should it me done the same way in mp6like?)
21:53 iblechbot joined #perl6
22:07 pugs_svnbot r20041 | putter++ | yet_another_regex_engine/Regexp_ModuleA.pm: made 5.10 happier by our()ifying a package lexical, but two similar complaints remain.  And the '$x' one, is puzzling.  There is also a t/rx.t regression - 22 failing tests are not appearing in the stats at all.
22:07 pugs_svnbot diff: http://dev.pugscode.org/changeset/20041
22:07 lambdabot Title: Changeset 20041 - Pugs - Trac
22:11 mncharity re pugs @(), it looks plausible, turning non-@ things into arrays.  but then, lists are a corner I've never really groked.
22:14 pmurias mncharity: thanks
22:19 DaGo joined #perl6
22:30 buchetc joined #perl6
22:31 njbartlett joined #perl6
22:52 pugs_svnbot r20042 | putter++ | [redsix] Begin exporting aterm-format ASTs, to experiment with Stratego.
22:52 pugs_svnbot diff: http://dev.pugscode.org/changeset/20042
22:52 lambdabot Title: Changeset 20042 - Pugs - Trac
22:53 buchetc pugs_svnbot: sub dbl{ $_ * 2}; say ~((1..2).map:{ dbl() });
22:58 buchetc left #perl6
22:58 zamolxes joined #perl6
23:03 Schwern joined #perl6
23:04 mncharity pugs: sub dbl{ $_ * 2}; say ~((1..2).map:{ dbl() });
23:04 exp_evalbot OUTPUT[0 0␤]
23:05 Tene pugs: sub dbl{ $^a * 2 }; say ~((1..2).map:{ dbl });
23:05 exp_evalbot OUTPUT[*** Undeclared variable: ("$^a",MkPad (padToList [("$_",PELexical {pe_type = (mkType "Scalar"), pe_proto = <Scalar:0xb67b4a98>, pe_flags = MkEntryFlags {ef_isContext = True}, pe_store = <ref:0xb67b91cc>}),("@_",PELexical {pe_type = (mkType "Array"), pe_proto = <Array:0xb67b7f78>, pe_flags =
23:05 exp_evalbot ..MkEntryFlags {ef_isContext = False}, pe_store = ...
23:05 Tene Huh, I thought pugs supported placeholder vars.
23:12 silug joined #perl6
23:14 mncharity I'm getting build failures (make clean; ./configure; make) with both ghc 6.6.1 and 6.8.2.  What is our current build story?
23:17 zamolxes_ joined #perl6
23:21 mncharity If we don't have one, we should probably revert pugs back to when we did.  Sticking with 6.6.1 was a pain, but it beats not compiling.
23:24 Limbic_Region joined #perl6
23:27 mncharity good night &
23:29 rhr pugs: my &dbl := { $^a * 2 }; say ~((1..2).map: &dbl)
23:29 exp_evalbot OUTPUT[2 4␤]
23:29 rhr can't use $^a in a sub
23:36 BinGOs_ joined #perl6
23:42 njbartlett joined #perl6

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

Perl 6 | Reference Documentation | Rakudo