Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2008-02-26

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 Limbic_Region just a second
00:01 TimToady jnthn: looks like all the .*, .? etc method calls are missing as well
00:01 Limbic_Region was pulling up perldoc perlre to make sure I got the verbiage correct
00:02 jnthn TimToady: The other thing I was after in STD.pm (though maybe you already added this) is how to parse "my $thingy = -> $x { say $x }; ".
00:02 jnthn Just the current random features that are on my mind. :-)
00:03 TimToady that's handled under circumfix:<{ }>, where it calls <lambda>
00:03 TimToady which includes both -> and <->
00:04 devogon joined #perl6
00:05 Zygo joined #perl6
00:05 TimToady and circumfix parses as a term
00:05 TimToady though it's possible the <?before> is redundant there with what pblock already accepts...
00:05 Limbic_Region look behind assertions in p5 have to be fixed width correct?  That is the limitation I am asking about
00:05 jnthn TimToady: OK, you changed that recent-ish? Or maybe I missed it before...well, can get the Rakudo grammar in line with that anyway...
00:05 TimToady Limbic_Region: yes, fixed
00:06 TimToady jnthn: don't remember when I did that
00:06 TimToady Limbic_Region: lookbehind is specced to run in reverse
00:06 jnthn OK, well, thanks anyway. :-)
00:06 Limbic_Region ah, clever
00:06 TimToady so any node that can be matched in reverse may be used in a lookbehind
00:07 TimToady biab &
00:07 Limbic_Region TimToady - final question (for now).  Are there any whiz-bang features offered by any other product (PCRE for instance) that you know of not being addressed ?
00:07 Limbic_Region TTFN
00:10 Neophytos joined #perl6
00:10 chialdo joined #perl6
00:11 chialdo Hello.
00:11 chialdo Is the general consensus in here that wealth a positive-sum phenomenon?
00:11 chialdo is a*
00:12 chialdo I can effectively argue that the worse off is one group the better off may be another.
00:13 chialdo Yet I might also be able to argue nearly as effectively that the better off is one group the better off may be another.
00:14 chialdo The general concensus among the economics taught and most accepted is that wealth is a creation game.
00:23 dconway would you stfu
00:24 chialdo How can royalty exist if not for thousands of inferior servants revering that royalty?
00:24 was kicked by TimToady: TimToady
00:26 TimToady Limbic_Region: well, some packages do approximate matching.  interestingly, TRE is one of them, which is what I'm using for my LTM
00:27 TimToady though I need to look at their syntax for that and decide how it fits into p6 syntax
00:30 Limbic_Region TRE = http://www.laurikari.net/tre/
00:30 lambdabot Title: 169 TRE home page
00:31 Limbic_Region ok, thanks
00:33 cmarcelo joined #perl6
00:35 pugs_svnbot r20007 | lwall++ | Missing .foo as term, noted by jnthn++
00:35 pugs_svnbot diff: http://dev.pugscode.org/changeset/20007
00:35 lambdabot Title: Changeset 20007 - Pugs - Trac
00:35 TimToady jnthn: actually, the . variants are handled by <dotty>, which just has to be added to <noun>
00:37 TimToady Limbic_Region: basically, they extend the syntax of {} quantifiers, which is inconsistent with the p6 approach, so we'll have to come up with some other syntax
00:43 Auzon joined #perl6
00:43 njbartlett joined #perl6
00:43 lumi joined #perl6
00:43 Maddingue joined #perl6
00:43 cognominal_ joined #perl6
00:43 BinGOs joined #perl6
00:43 marmic joined #perl6
00:43 jrockway joined #perl6
00:43 baest joined #perl6
00:43 pravus joined #perl6
00:44 pbuetow joined #perl6
01:03 lyokato joined #perl6
01:09 cnhackTNT joined #perl6
01:38 [particle] joined #perl6
01:38 cnhackTN1 joined #perl6
01:41 nothingmuch joined #perl6
01:44 alester joined #perl6
01:48 zakame joined #perl6
02:15 zakame_ joined #perl6
02:20 justatheory joined #perl6
02:24 wtgee left #perl6
02:27 ntgrl joined #perl6
02:27 pugs_svnbot r20008 | putter++ | misc/winter_jig/backend_bare_perl5: Now runs.  six_kp6_bare_p5 compiles 'say(3)'.
02:27 pugs_svnbot diff: http://dev.pugscode.org/changeset/20008
02:27 lambdabot Title: Changeset 20008 - Pugs - Trac
02:42 Helios joined #perl6
02:48 DarkWolf84 joined #perl6
03:02 zakame joined #perl6
03:17 fridim_ joined #perl6
03:19 zakame_ joined #perl6
03:23 zakame__ joined #perl6
03:27 GeJ joined #perl6
03:28 araujo joined #perl6
03:38 chinsans joined #perl6
04:03 Psyche^ joined #perl6
04:20 RayMagini joined #perl6
04:25 Lunchy joined #perl6
04:38 zakame joined #perl6
04:38 pcbuetow joined #perl6
05:07 zakame joined #perl6
05:17 eternaleye joined #perl6
05:32 njbartlett joined #perl6
05:37 Neophytos joined #perl6
05:38 justatheory joined #perl6
05:45 alc joined #perl6
05:46 wtgee joined #perl6
06:07 justatheory joined #perl6
06:10 devogon joined #perl6
06:23 penk joined #perl6
06:36 zakame joined #perl6
06:38 xinming joined #perl6
06:40 zakame joined #perl6
07:10 fridim_ joined #perl6
07:15 fridim_ joined #perl6
07:16 njbartlett joined #perl6
07:26 snooper joined #perl6
07:35 masak joined #perl6
07:38 pbuetow joined #perl6
07:50 pcbuetow joined #perl6
07:53 Aankhen`` joined #perl6
08:04 dduncan joined #perl6
08:11 iblechbot joined #perl6
08:28 njbartlett joined #perl6
08:28 kanru joined #perl6
08:43 snooper joined #perl6
08:44 chinsans joined #perl6
08:57 pcbuetow joined #perl6
09:23 snooper joined #perl6
09:30 ruoso joined #perl6
09:32 pcbuetow joined #perl6
09:43 wknight8111 joined #perl6
09:50 monomorph joined #perl6
10:04 ruoso mncharity, s1p is just a subset of perl 6 that can be translated to C using the default smop interpreter implementation
10:05 ruoso for instance... at this moment there is no lexical scopes and namespaces in somp
10:05 ruoso so every symbol must be translated to its C implementation symbol
10:06 ruoso and lexical variables must be translated to smop "frame" manipulations, like SMOP__SLIME__Capturize
10:07 ebassi joined #perl6
10:09 ruoso s1p is also specific to class definitions... so it will compile src-s1p/Object.pm to a C code that initializes the Object package and class...
10:10 ruoso using p6opaque, which is the default representation for Perl 6 object
10:10 ruoso s
10:10 dduncan left #perl6
10:11 ruoso each method will be added to the Object object using the REPR API
10:11 ruoso the method will be the lowlevel method that I had implemented yesterday
10:12 ruoso and the body of the method will be something like a set of sm0p blocks, except that it doesn't need to be translated to sm0p and then to C... it can be written directly in C
10:12 ruoso of course I'll need to implement some lowlevel operations like "if"
10:12 ruoso "for"
10:13 ruoso "if" will be an prototype that will have a "if", a "then" and an "else" attribute
10:13 ruoso where if, then and else are code objects
10:13 ruoso and I will call "eval" on the "if"
10:16 ruoso in theory, the condition of the if can be something implemented in anything... even p5 for instance
10:16 ruoso as long as it complies to the API
10:39 njbartlett joined #perl6
10:47 chris2 joined #perl6
10:58 kanru joined #perl6
11:37 rakudo_svn r26069 | jonathan++ | [rakudo] Make it so you can write expressions such as my $x = <-> $y { ... }. Note that it should work for -> as well as <->, but at the moment the first is a parse error; my guess is that it's going for prefix:- rather than the longer token ->.
11:50 rakudo_svn r26070 | jonathan++ | [rakudo] Make .foo call $_.foo.
12:00 njbartlett joined #perl6
12:22 hanekomu joined #perl6
12:35 lyokato joined #perl6
12:37 xinming joined #perl6
12:43 njbartlett joined #perl6
12:56 sordith joined #perl6
12:57 penk joined #perl6
12:57 araujo joined #perl6
12:57 [particle] joined #perl6
12:57 Zygo joined #perl6
12:57 kst joined #perl6
12:57 cookys joined #perl6
12:57 orafu joined #perl6
12:57 rakudo_svn joined #perl6
12:57 buubot joined #perl6
12:57 pmichaud joined #perl6
13:02 wknight8111 joined #perl6
13:02 renormalist joined #perl6
13:06 cmarcelo joined #perl6
13:14 eternaleye_ joined #perl6
13:15 gbacon joined #perl6
13:20 smtms joined #perl6
13:44 RichiH joined #perl6
13:50 alester joined #perl6
13:50 cognominal_ joined #perl6
13:52 RichiH where should one put perl6 modules? /me will prolly want to work on a module over time so it might be ready once perl6 is
13:55 kolibrie RichiH: right now most perl6 modules live in the pugs repo under ext
14:05 jhorwitz joined #perl6
14:10 RichiH kolibrie: ah, ok
14:10 RichiH so i should try and get commit access for that subtree?
14:11 kolibrie do you have a commit bit for the pugs repo?
14:12 RichiH (also, i still hate that sigils are determind by what data structure you access to get at your data, not by what data you take out of said structure, but that will prolly not change back :p )
14:12 RichiH kolibrie: i have nothing except an idea
14:12 RichiH 'Commit access is handed out liberally; contact the Pugs team for details.' <- sounds good
14:13 kolibrie RichiH: send me your e-mail address somehow and I'll send you a commit bit
14:13 RichiH kolibrie: do i need to be able to send email from that address or is receiving OK?
14:14 kolibrie RichiH: that's where commitbit will send you your login instructions
14:14 RichiH k, so i can use my cpan alias. good :)
14:16 kolibrie RichiH: hmm, says that nickname is in use (I left it blank) - which nickname would you like
14:17 kolibrie RichiH: perhaps RichiH?
14:17 RichiH yah, RichiH sounds fine
14:18 kolibrie RichiH: sent
14:18 RichiH ta
14:19 RichiH and the second you say that, i get spam from "Lana Hairston" how she is bored tonight.. i am on to your secret identity
14:19 kolibrie :)
14:21 kolibrie RichiH: a good first commit is to add your name to AUTHORS, to make sure everything is working
14:22 RichiH kk
14:22 fridim_ joined #perl6
14:27 IRSeekBot joined #perl6
14:27 * RichiH mumbles about non-https signup forms
14:27 RichiH also, https does not even die properly
14:29 * kolibrie thinks https should work
14:29 * RichiH thinks so, as well
14:29 RichiH it doesn't, though :p
14:29 silug joined #perl6
14:30 kolibrie (I am on https://commitbit.pugscode.org)
14:30 lambdabot Title: Welcome to CommitBit for PugsCode
14:31 RichiH kolibrie: hmm, yah. when you replace the http with https on the link i got via mail, it does not work, though
14:31 kolibrie RichiH: strange
14:32 RichiH is there a paper on why the sigil handling was changed for perl6, btw?
14:32 RichiH i really want to understand why that is being done
14:32 RichiH and i can't think of any good reasons, myself
14:32 kolibrie it's discussed in one of the synopsis
14:36 kolibrie RichiH: looks like it is mentioned here, but not so much of the 'why': http://perlcabal.org/syn/S0​2.html#Names_and_Variables
14:36 lambdabot Title: S02
14:36 allbery_b summary:  the way sigils change based on usage is confusing.  I think the "why" is  in the apocalypse/exegesis
14:37 [particle] 'why' is probably in A02
14:38 pmichaud good morning, all
14:38 * RichiH would argue that most people will either touch perl for a short time and then leave or, if they stick to it, will advance to intermediate within a year. in both cases, the adde complexity does not hurt that much and as soon as you understand the _why_, it makes moving data back and forth a lot easier -- but it's prolly too late for that, so i will just read the documents :)
14:43 [particle] hey there pm!
14:43 [particle] RichiH: did you get your commit bit? i can give you one, if not.
14:44 RichiH [particle]: yes, i did, thanks
14:45 [particle] welcome!
14:49 Lorn_ joined #perl6
14:50 Auzon left #perl6
14:50 RichiH is feather.perl6.nl the only mirror of svn.pugscode.org? if yes, i would rather use that, as the ssl cert matches that host, not svn.pugscode.org
14:50 kolibrie feather.perl6.nl is svn.pugscode.org
14:51 ruoso joined #perl6
14:51 kolibrie (svn.pugscode.org is an alias)
14:51 RichiH yes, but is it the _only_ svn.pugscode.org?
14:51 [particle] yes
14:51 RichiH ah, yah, i could of just checked for cnames
14:51 RichiH stupid me
14:51 RichiH thanks
14:56 mattz joined #perl6
14:59 Lorn joined #perl6
15:00 ryakubo joined #perl6
15:00 ryakubo hi
15:00 [particle] hi
15:03 alester joined #perl6
15:03 pugs_svnbot r20009 | RichiH++ | * AUTHORS:
15:03 pugs_svnbot r20009 | RichiH++ |   Adding myself as per kolibrie's suggestion to check if I can commit
15:03 pugs_svnbot diff: http://dev.pugscode.org/changeset/20009
15:03 lambdabot Title: Changeset 20009 - Pugs - Trac
15:04 RichiH seems to of worked
15:04 kolibrie RichiH++ # new pugs committer
15:04 cognominal_ joined #perl6
15:04 RichiH now on to my evil scheme for world domination
15:05 pmichaud get in line.  :-)
15:05 * RichiH realizes he did not even disclose his evil plan, yet
15:05 RichiH basically, i want to create a package structure with loads of named regexps
15:06 RichiH so that if you want to know if something is ipv4, you don't have to refer to your own library and/or google, any more
15:06 [particle] like Regexp::Common in perl 5
15:06 pmichaud sounds like a grammar :-)
15:06 [particle] ...or  a set of grammars
15:07 zamolxes joined #perl6
15:07 RichiH basically
15:07 ryakubo there's lolcode support in parrot?
15:08 RichiH yes
15:08 RichiH a full implementation, iirc
15:08 [particle] i'm not sure it's complete yet, but it's close
15:08 ryakubo ok that's awesome!
15:08 pmichaud I CAN HAZ LOLCODE
15:09 ryakubo that's reason enough to try and help out :P
15:09 RichiH for some defintion of awesome ;)
15:11 ruoso That (someone wanting to implement a non-core module) reminds me that there's no CPAN6 yet...
15:12 ruoso it's probably better to keep the modules in pugs' svn for now...
15:12 RichiH ruoso: yah, that is why i just joined you lot :)
15:17 mattz joined #perl6
15:20 RichiH is Regexp::Named a good name?
15:21 ruoso RichiH, considering Grammar is already a concept in Perl 6
15:22 ruoso I don't think you need to have that in the name of the module
15:22 iblechbot joined #perl6
15:23 RichiH ruoso: i can't just name it Regexp, though
15:23 meppl joined #perl6
15:23 [particle] "regexp" is an old name, don't use it
15:23 ruoso Grammar::Common::IPv4?
15:23 [particle] we call them "regex" or "rule"
15:23 ruoso Grammar::Common::Net::IPv4?
15:25 [particle] Grammar::Common seems like a good name to me
15:26 ruoso but considering that as a module namespace, more than the grammar name in itself
15:35 Tene It's very close to complete.  I don't remember what's left, but it's not much.
15:35 Tene lolcode, that is.
15:37 [particle] i keep forgetting to poke jhorwitz to get mod_lolcode working
15:38 Tene There's some new proposals for lolcode version 1.3
15:38 Tene languages/lolcode implements 1.2
15:43 pugs_svnbot r20010 | putter++ | misc/winter_jig/backend_bare_perl5/: refactoring.  Better, but still a work-in-progress.
15:43 pugs_svnbot diff: http://dev.pugscode.org/changeset/20010
15:43 lambdabot Title: Changeset 20010 - Pugs - Trac
15:48 mncharity ruoso: ok.  once the winter_jig emitter infrastructure is a little more sane, I'll likely ask you for some test cases, what some simple thing (eg, 'say(3)', or maybe 'class A { sub f(){3} }; say(A.new().f())') should compile to, and then try to set you up with the start of an emitter which works at least on those cases.  but
15:49 ruoso mncharity, yeah... I think I should do it in the s1p page in the wiki
15:49 mncharity smop is going to be the first thing which requires real compilation, rather than just skimming an ast, and the infrastructure for that is still in the "fuzzy mental picture - no code" phase.  so, it may be some days.
15:49 ruoso I'll take the class A { method f() { 3 } } example
15:50 ruoso and try to sketch how it should look like in C
15:50 mncharity :)
15:50 mattz joined #perl6
15:50 njbartlett joined #perl6
15:59 peeps[work] joined #perl6
16:11 marmic joined #perl6
16:15 ruoso http://www.perlfoundation.org/pe​rl6/index.cgi?distributionformat
16:15 lambdabot Title: DistributionFormat / Perl 6
16:15 ruoso I started some notes on how module distribution format would look like
16:16 pmichaud ruoso: how does this mesh with the versioning information already defined in the synopses?
16:17 ruoso I'm still just brainstorming it, but in theory minor version is invisible to that matter
16:18 pmichaud also, are we necessarily going to be distributing binaries?
16:18 pmichaud I would think we'd distribute source
16:18 pmichaud a-la CPAN
16:19 ruoso nopes... the idea is to distribute only source
16:19 ruoso but building a binary package before installing
16:19 pmichaud wouldn't that be implementation specific, then?
16:19 ruoso probably, but the concept remains
16:19 pmichaud okay
16:19 wtgee joined #perl6
16:24 TJCRI joined #perl6
16:24 mattz joined #perl6
16:40 pugs_svnbot r20011 | putter++ | misc/winter_jig/backend_bare_perl5/: fleshed out emitter infrastructure.
16:40 pugs_svnbot diff: http://dev.pugscode.org/changeset/20011
16:40 lambdabot Title: Changeset 20011 - Pugs - Trac
16:48 zostay joined #perl6
16:48 ruoso pmichaud, please take a look in the current version of that page
16:50 ruoso I basically took the debian package concept and stripped down several things that might not be important to a perl module...
16:50 ewilhelm 'architecture' is a list?
16:50 ruoso yep...
16:51 ruoso let's say your module compile on linux and macos, but not on win32
16:51 ewilhelm you forgot 'configure_requires'
16:51 ruoso configure_requires?
16:51 ruoso what is it?
16:51 ewilhelm that META.yml field tells the installer what has to be setup *before* trying to Build.PL/Makefile.PL
16:52 ruoso oh... that is build-depends...
16:52 ruoso but it looks you're assuming compatibility with current package format
16:53 ruoso and that's not the case...
16:53 ewilhelm no, I'm pointing out something that has been a huge pain for not having had it originally
16:53 ruoso but in theory, build-depends takes care of that
16:53 ewilhelm how do you have platform-dependendent build-depends?
16:54 ruoso I can get the debian schema for that
16:54 wolverian I wonder if haskell's cabal spec would be useful too
16:54 ewilhelm well, debian would configure_requires e.g. buildroot or whatever
16:55 ewilhelm they have a fairly homogenous build environment, which is equivelant to having all of the low-level build tools in the core
16:55 ruoso ewilhelm, not really
16:55 ruoso several debian packages use custom building tools
16:55 ruoso that are listed as build-depends
16:55 ruoso like debhelper, cdbs
16:55 ewilhelm when we're 5 years out and perl 6.1 core didn't have the new whiz-bang thing, how do you drag the environment up to date?
16:56 ruoso ewilhelm, I'm just not saying your point... what case is not covered by build-depends?
16:56 ruoso s/saying/seeing/
16:56 ewilhelm wait, is everything statically determined by meta.yml?
16:57 ruoso build-depends certainly yes
16:57 ewilhelm Alias_: you here?
16:57 ewilhelm ruoso: I think it needs to be more dynamic than that
16:57 ruoso the build-depends?
16:58 ewilhelm where is the './configure'-like process?
16:58 ruoso implemented by each runtime
16:58 ruoso Makefile.PL no longer belongs to the source package
16:59 ewilhelm how's that going to work?
16:59 ruoso each runtime knows what each "source part type" means
16:59 Alias_ ewilhelm: barely
16:59 ewilhelm even ant has exec
16:59 ruoso ant is compared to make
16:59 ruoso what I'm describing here would be compared to automake
17:00 ewilhelm you're drafting something that looks way more like ant than a makefile
17:00 ewilhelm so we're stuck with whatever build support is in the original runtime?
17:00 ruoso nopes... that's what build-depends are for
17:01 ewilhelm is build-depends an array or string?
17:01 justatheory joined #perl6
17:01 ruoso well, it's in a text file... so it's a stirng... ;)
17:01 ruoso but it sure is a list of items
17:01 ewilhelm the installer would install that list of items and then what?
17:02 ruoso and then that list of items could declare new "source part types"
17:02 ewilhelm hand-off the 'source' section to the first one in the list?
17:02 ruoso it's a plugin-like system
17:02 ewilhelm where does 'different actions on different platforms' fit into it?
17:03 ewilhelm the plugin has to deal with that?
17:03 ruoso by platform you mean architecture or runtime?
17:04 ruoso or both?
17:04 ruoso and which kind of action are you talking about?
17:04 ewilhelm both and/or neither depending on whether everything the package needs is provided via the runtime
17:05 ewilhelm for instance, Wx::ActiveX only works on windows, but Wx::Mozilla tends not to work so well there
17:05 ewilhelm so the dependency changes depending on the platform (for some value of 'platform')
17:06 ruoso you mean that all this parts are part of the same source package?
17:07 ruoso but, you do have how to have conditional build-depends on the architecture and runtime
17:07 ewilhelm no, they're dependencies
17:07 ruoso depends: Wx::ActiveX [arch:win32], Wx::Mozilla [!arch:win32]
17:07 ruoso that's how debian deals with it
17:08 ewilhelm ok, and build-depends has that same syntax?
17:08 ruoso yep
17:09 ruoso but that makes me think that we should probably have a test-depends as well
17:22 wtgee left #perl6
17:31 njbartlett joined #perl6
17:34 ewilhelm ruoso: yeah, test-depends
17:34 ewilhelm we never did hammer-out recommends in the p5 world
17:41 eternaleye_ joined #perl6
17:44 justatheory joined #perl6
17:49 justatheory_ joined #perl6
17:49 mugwump Test::Depends?
17:50 ruoso mugwump, the idea is getting the modules installed when wanting to test
17:50 ruoso and differentiate runtime depends from test depends from build depends
17:52 mugwump sure.  I normally bundle the hard dependencies, and use Test::Depends to skip the missing dependencies
17:52 mugwump (with Test::Depends, the hard dependency is really just Test::Depends)
17:53 Psyche^ joined #perl6
17:54 ewilhelm ruoso: I think this needs a field for the META.yml version and/or some kind of minimum version for the setup tool
17:54 ewilhelm that is, when this changes, how do older parrots upgrade the 'apt' portion?
17:56 ruoso ewilhelm, hmmm... sure... like debian's Standards-Version:...
17:56 ruoso ewilhelm, please feel free to change the wiki page
17:57 ruoso I really don't mean to be *the* maintainer of that ;) I'm just the starter of the brainstorm
18:02 eternaleye joined #perl6
18:07 pugs_svnbot r20012 | lwall++ | Added mechanisms for getting more input on \v transition.
18:07 pugs_svnbot diff: http://dev.pugscode.org/changeset/20012
18:07 lambdabot Title: Changeset 20012 - Pugs - Trac
18:09 justatheory joined #perl6
18:16 IRSeekBot joined #perl6
18:20 blindfish joined #perl6
18:20 barney joined #perl6
18:24 [particle] the standard dialect of english requires ) after the .
18:24 TimToady not if you start the ( in the middle of the sentence
18:24 TimToady you're getting confused with typesetters' rules for ' maybe...
18:25 TimToady which I also ignore...
18:25 [particle] hrmm, wasn't aware of the middle of sentence rule
18:25 TimToady if you put a whole sentence inside, then the period goes inside
18:25 [particle] yes, modern technical english is better served by putting . afterwards
18:25 TimToady that's pretty standard
18:26 [particle] what about comma?
18:26 TimToady never inside
18:27 TimToady and outside only if a comma would be used in the absence of the parenthetical phrase
18:27 [particle] use English::Critic; # ISAGN
18:28 TimToady the tricky one is what to do with sentence and a half (which happens to me a lot.  Go figure...)
18:28 [particle] Grammar::Critic is for something else :)
18:28 TimToady in those cases I just recast the sentence to avoid the problem
18:29 TimToady actually, I'd usually sentencify the fragment in that case.  (Which happens to me a lot.  Go figure...)
18:33 zostay_ joined #perl6
18:45 justatheory joined #perl6
18:51 IllvilJa joined #perl6
19:17 IRSeekBot joined #perl6
19:23 TJCRI joined #perl6
19:28 jferrero joined #perl6
19:35 dexF joined #perl6
19:47 rindolf joined #perl6
19:49 wknight8111 joined #perl6
19:53 Auzon joined #perl6
20:01 cognominal_ joined #perl6
20:08 schmalbe joined #perl6
20:13 pugs_svnbot r20013 | lwall++ | removed fossilized anglewords and quotewords noted by pmichaud++
20:13 pugs_svnbot diff: http://dev.pugscode.org/changeset/20013
20:13 lambdabot Title: Changeset 20013 - Pugs - Trac
20:13 jferrero joined #perl6
20:25 mncharity TimToady: I'm writing a quick wrapper script for STD5.  To feed it input, and extract the Match yaml from it's output.  src/perl6/STD5_run ?   Do any of the scratch directories have to be emptied between searches?
20:26 TimToady not unless you change any rules or how they map to lexer patterns
20:26 mncharity ok
20:27 TimToady good idea to clean out every make test or so though
20:27 TimToady it takes very little time to rebuild
20:30 TimToady not sure yet how the caching strategy will interact with user-definded regexen though
20:31 TimToady if it's fast enough, maybe do only in-process cache
20:31 TimToady but even rebuilding the cache for STD takes only a few seconds
20:32 TimToady well, that's rebuilding all of yamlg6, and only those parts of lex visited by ->longer()
20:32 TimToady ->longest() even...
20:33 TimToady still, that's most of it for parsing 42+1
20:33 TimToady since it has to pull in all of prefix, terms, postfix, and infix
20:34 mncharity perl -w STD5.pm is giving me Global symbol "$moreinput" requires explicit package name at STD5.pm line 2380. on head.  expected?
20:34 TimToady s/yamlg6/yamlg5/
20:34 mncharity "lotsfix":)
20:34 TimToady ah, I hardwired moreinput into my gimme5, but haven't checked that in
20:35 TimToady it's about the only context variable we aren't declaring "is context" ourselves
20:35 mncharity no need to alter you development stride.  I can work on a different corner for a while.
20:36 TimToady not sure if my current gimme5 and Cursor5 work at all; I'm in the middle of trying to do correct autolex on embedded alternations
20:36 mncharity sure, np.  I'll work on...
20:36 mncharity maybe sixkit instead.
20:37 TimToady and I'm probably out of hack time for the day due to $job plus Dr appt
20:38 mncharity Idea is a new gstreamer gst-launch-like tool.  sixkit std5 ! std_match_to_kp6_ast ! mumble_compiler/opt=foo ! mumble_backend ! -e 'say 3;'
20:39 mncharity np.  I'll check in a non-working rough draft.
20:39 pugs_svnbot r20014 | lwall++ | [gimme5] declare our $moreinput
20:39 pugs_svnbot diff: http://dev.pugscode.org/changeset/20014
20:39 lambdabot Title: Changeset 20014 - Pugs - Trac
20:39 TimToady I can check in the gimme5 part, I think
20:39 TimToady and then your version should work
20:39 mncharity checking..
20:41 mncharity well, got closer.  np.  another day.
20:41 TimToady what kind of rule are you trying to run?
20:42 TimToady I haven't quite got statement there yet all the way down to EXPR
20:42 mncharity oh, wait.  works.  looks like a wrapper bug.  I'm all set.
20:42 mncharity Perl->new(orig => '42')->noun([]);
20:42 TimToady should be able to at least do '42+1' -> EXPR
20:43 TimToady might not terminate pretty though
20:43 TimToady and you're trying to extract the match
20:44 rhr when I run it it seems to parse 42 and then stop
20:45 TimToady it's still looking for infix at the end, question is whether it traversed 4 positions
20:45 TimToady as an op prec parser, it keeps looking for more infix
20:45 TimToady and the final one should fail
20:45 TimToady (unless you have an explicit terminator)
20:46 rhr it only gets to:2 afaics
20:46 TimToady hmm. maybe some of my new gimme stuff is interfering
20:47 mncharity given "out of hack time", I'll just say thanks, rather than getting into 42+1 output.  42 is just fine to get the script out. :)
20:47 TimToady nod, thanks
20:47 pasteling "rhr" at 65.94.10.253 pasted "42+1 STD5 output" (950 lines, 38.7K) at http://sial.org/pbot/30364
20:50 TimToady rhr: looks like you called noun rather than EXPR
20:53 rhr how is that done?  my $r = Perl->new(orig => '42+1')->EXPR([]); (changed from noun) doesn't work
20:59 TimToady dunno, probably some interference with my newer gimme code
21:00 pugs_svnbot r20015 | putter++ | src/perl6/STD5_run: A script to make running STD5.pm easier, by providing it input, and isolating it's Match yaml output.
21:00 pugs_svnbot r20016 | lwall++ | revert a bit of code
21:00 pugs_svnbot diff: http://dev.pugscode.org/changeset/20016
21:00 lambdabot Title: Changeset 20016 - Pugs - Trac
21:00 TimToady try that version of gimme5, after clearing yamlg5 and lex dirs
21:02 rhr oh, it was segfaulting :( let me svn up and try
21:03 rhr still segfaults.  p5 bug I guess
21:07 rhr actually, a tre bug: tre_tnfa_run_parallel
21:07 pugs_svnbot r20017 | putter++ | src/perl6/STD5_run: it STD5.pm doesn't exist, create it.
21:07 pugs_svnbot diff: http://dev.pugscode.org/changeset/20017
21:07 lambdabot Title: Changeset 20017 - Pugs - Trac
21:07 TimToady are you running in a locale? that may be fooling tre
21:10 TimToady it's really easy to coredump tre by feeding it the wrong encoding...
21:11 TimToady bbl &
21:13 gilimanjaro joined #perl6
21:17 rhr my locale is utf8, but it still segfaults with LC_ALL=C LANG=C
21:20 Schwern joined #perl6
21:35 rakudo_svn r26077 | bernhard++ | [Rakudo]
21:35 rakudo_svn r26077 | bernhard++ | Rakudo does not use PAST-pm, so don't mention it in ROADMAP.
21:40 shachaf joined #perl6
21:43 gilimanjaro joined #perl6
21:46 gilimanjaro joined #perl6
21:55 rakudo_svn r26081 | jonathan++ | [rakudo] Implement smart-match for classes.
22:21 gilimanjaro joined #perl6
22:41 kaether joined #perl6
23:02 kaether_ joined #perl6
23:02 alester_ joined #perl6
23:10 peeps[work] joined #perl6
23:12 thoughtpolice joined #perl6
23:22 zamolxes joined #perl6
23:24 tobeya joined #perl6
23:25 Limbic_Region joined #perl6
23:32 justatheory joined #perl6
23:37 DarkWolf84 joined #perl6
23:48 meppl good night
23:57 iblechbot joined #perl6

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

Perl 6 | Reference Documentation | Rakudo