Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2008-01-30

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:03 jeffreykegler joined #perl6
00:04 namelessuser Heh, I agree about search.cpan.org.
00:24 evarlast left #perl6
01:00 Auzon joined #perl6
01:04 lyokato_ joined #perl6
01:10 meppl good night
01:11 pen1 joined #perl6
01:18 namelessuser left #perl6
01:21 thoughtpolice joined #perl6
01:41 mncharity joined #perl6
01:47 CoreEvil joined #perl6
01:50 [particle1 joined #perl6
02:05 [particle] joined #perl6
02:14 Lorn joined #perl6
02:49 simcop2387 joined #perl6
03:02 alester joined #perl6
03:10 jjore joined #perl6
03:11 kanru joined #perl6
03:14 devogon joined #perl6
03:17 REPLeffect joined #perl6
03:23 mj41____ joined #perl6
03:33 mncharity TimToady, when you say in STD http://svn.perl.org/perl6/pugs/trunk/src/perl6/Perl-6.0.0-STD.pm ,  "# A fairly complete (but almost certainly buggy) operator precedence parser", is this something someone should/could pull out and shake down, so if/when fglock picks it up, it is _less_ certainly buggy?
03:33 lambdabot mncharity: You have 1 new message. '/msg lambdabot @messages' to read it.
03:35 * mncharity ponders "an instance of a grammar is the current parse state"... nifty...
03:37 mncharity hmm.  so all rules, if called from outside the grammar (GrammarA.randome_rule(astring)) are instance constructors?  /me squints...
04:19 araujo joined #perl6
04:19 kupopo joined #perl6
04:57 icezinhu joined #perl6
05:34 monomorph_ joined #perl6
05:46 PerlJam joined #perl6
05:54 ryan_ joined #perl6
05:55 ryan_ left #perl6
06:00 Alias__ joined #perl6
06:00 Alias__ \o
06:04 Alias__ So, thoughts on the idea of identifying one particle grammar as "Standard Perl 6" and finalizing the grammar class? :)
06:06 Auzon I assume you mean the current spec as Standard Perl 6?
06:17 allbery_b Perl-6.0.0-STD is being firmed up, yes
06:17 allbery_b you'd have to ask TimToady its current status
06:47 Jedai joined #perl6
07:20 jjore Alias_, it occurs to me that your PPI6 should mimic the reflection API available in Perl 6 (whatever that is). Then it is just a VM-less reflection API and can be swapped for a VM doing direct reflection.
07:20 jjore At some level anyway.
07:22 * jjore sleeps.
07:29 Alias__ jjore: Ya, having conceptual analogies would be great
07:30 Alias__ Much like the way PDOM is similar to HTML DOM
07:30 Alias__ In a ~~ way anyways
07:30 Alias__ bbl
07:57 Aankhen`` joined #perl6
08:04 jisom joined #perl6
08:10 iblechbot joined #perl6
08:29 Alias_ joined #perl6
08:32 penk joined #perl6
08:34 masak joined #perl6
08:39 japhb joined #perl6
08:43 viklund joined #perl6
09:35 Schwern joined #perl6
10:00 babbage joined #perl6
10:01 babbage_ joined #perl6
10:02 njbartlett joined #perl6
10:03 agentzh left #perl6
10:06 devogon joined #perl6
10:11 babbage joined #perl6
10:14 hcchien http://use.perl.org/article.pl?sid=08/01/29/1545202
10:14 lambdabot Title: use Perl | OSDC.tw 2008 CFP will be end on 15th, February
10:24 ebassi joined #perl6
10:26 meppl joined #perl6
10:31 orafu joined #perl6
10:43 jferrero joined #perl6
11:11 kanru joined #perl6
11:23 pugs_svn r19749 | ruoso++ | [smop] smop/sm0p/KP6Test.pm in better shape, it is already returing a more sane code, some values still missing.
11:33 njbartlett joined #perl6
11:35 cosimo joined #perl6
11:43 iblechbot joined #perl6
11:46 Lorn joined #perl6
12:10 nothingmuch joined #perl6
12:18 agentzh joined #perl6
12:31 njbartlett joined #perl6
12:39 cmarcelo joined #perl6
12:40 pugs_svn r19750 | ruoso++ | [smop] YAY!!!! sm0p preprocessing kp6 grammar seems to be working...
12:40 moritz_ ruoso++
12:42 ruoso script/kp6 ../smop/sm0p/KP6Test.pm from kp6 dir shows it :)
12:54 moritz_ [particle], pmichaud: how stable is the rakudo grammar?
12:54 moritz_ a few month ago I proposed a Perl 6 syntax explainer
12:55 moritz_ and [particle] convinced me to implement it as a action class for STD.pm
12:56 moritz_ so is it worth to prototype that for rakudo now, and then later move it to STD?
13:02 viklund joined #perl6
13:41 pbuetow joined #perl6
13:52 [particle] moritz_: the rakudo grammar is growing and changing all the time
13:52 [particle] but it's based on std, and will eventually match std
13:52 [particle] so it seems a good place to experiment
13:59 moritz_ uhm, that looks like a lot PIR - can I use nqp already for the actions?
14:00 avar joined #perl6
14:00 [particle] the actions for the compiler are in src/parser/actions.pm
14:00 moritz_ ah, just found it
14:00 moritz_ that looks very p6ish *g*
14:00 [particle] indeed :)
14:01 [particle] i've just started working on perl6doc
14:01 [particle] i'll be creating a separate grammar for that, though
14:02 moritz_ what happens to the return value of such an action? is it somehow integrated into the $/ of the calling regex?
14:03 iblechbot joined #perl6
14:03 pugs_svn r19751 | moritz++ | perl6.vim: 'make' is a control flow keyword, just like return
14:03 [particle] use 'make' to build up the result object
14:04 moritz_ let's say I have a rule { foo {*} bar {*} }
14:04 moritz_ now the action will be called twice, right?
14:04 moritz_ so there will be two return values
14:04 moritz_ what happens to them?
14:04 moritz_ is $/ of the orignal match now a list of these two return values?
14:04 [particle] well, not two return values.
14:05 [particle] two places the result object is modified
14:05 [particle] make = modify result object
14:05 [particle] return = specify return values
14:05 moritz_ ok
14:05 [particle] see S05 for something more clear if you need it
14:06 [particle] if you look at the rakudo grammar (or STD) you'll see #= foo
14:06 moritz_ S05 doesn't seem to mention {*} at all
14:06 moritz_ at least not the last time I checked
14:06 [particle] right, we're ahead of the spec there.
14:06 moritz_ so are actions called fromn {*} treated exactly as inline closures?
14:07 [particle] whatever is written after '#= ' is passed to the action as a second argument
14:07 moritz_ I know ;)
14:07 moritz_ but apart from that, I mean
14:07 [particle] yes, actions are inline closures
14:08 [particle] the parse and past are generated simultaneously
14:08 moritz_ past? psomething abstract syntax tree?
14:08 [particle] parrot
14:09 [particle] docs/pdds/pdd26_ast.pod
14:09 [particle] it'll be important to understand that if you want to use nqp effectively
14:09 moritz_ ok, I'll read it
14:10 moritz_ but in the end I don't want to generate a "normal" syntax tree
14:10 [particle] right. in fact, you may want to work solely with the parse tree.
14:11 moritz_ just something of the form DocTree.new(text => '*', pos => 4, description => 'numerlical mulitplication')
14:23 moritz_ when I want a clean parse I have to execute BEGIN blocks... so that means that I have to built a "normal" parse tree anyway
14:25 [particle] rakudo doesn't handle BEGIN {...} yet, so you're good for now :)
14:26 moritz_ but it's something I have to take into account
14:26 [particle] i'll talk to patrick today about adding a flag to rakudo's perl6 exe that doesn't run BEGIN blocks
14:26 [particle] it's a tiny patch
14:33 lisppaste3 joined #perl6
14:34 moritz_ I think I'lll write to p6c and ask for discussion/advice
14:38 sri_work joined #perl6
14:48 cognominal_ joined #perl6
14:48 sri_work_ joined #perl6
14:53 macae joined #perl6
14:56 njbartlett joined #perl6
15:00 hareldvd joined #perl6
15:17 pbuetow joined #perl6
15:18 ingrediant joined #perl6
15:23 * moritz_ hates spammers
15:23 alester Might as well hate the rain.
15:24 Auzon How come lambdabot didn't announce the title of it?
15:24 moritz_ dunno
15:24 [particle] lambdabot hates spammers too
15:24 moritz_ test: http://pugscode.org/
15:24 lambdabot Title: Pugs - pugscode
15:24 [particle] maybe there's no title?
15:25 moritz_ perhaps lambdabot has an adult filter
15:25 moritz_ anyway, I cleand the logs
15:27 alester The temperature here is -0.
15:27 alester According to Google.
15:27 Auzon as opposed to regular 0?
15:27 alester Apparently.
15:27 Auzon Is it in Celsius?
15:27 [particle] it's a valid temp. weather forcasters hate ieee.
15:27 meteorja1 joined #perl6
15:28 [particle] no, it's Kelvin :)
15:28 moritz_ wow
15:28 Auzon It could be Fahrenheit
15:28 [particle] and likely it's fahrenheit. chicago's been pretty cold
15:28 moritz_ then your computer must work _really_ fast
15:28 alester It's F
15:29 alester It's -16 in Athens, WI
15:29 [particle] i was in chicago two weekends ago. 1F, with wind chill of -22F
15:30 Auzon 8 here. and I have to walk somewhere :P
15:32 chris2 joined #perl6
15:34 alester It was a high of 52 yesterday.
16:15 kanru joined #perl6
16:20 blindfish joined #perl6
16:21 Psyche^ joined #perl6
16:25 pugs_svn r19752 | ruoso++ | [smop] YAY YAY YAY!!! It really is working with a complex node !!!
16:25 moritz_ ;-)
16:29 Tene ruoso++ # yay
16:32 pen1 joined #perl6
16:32 [particle] ruoso: how can i play?
16:33 [particle] oh, i can't :(
16:33 [particle] i'm on windows
16:38 moritz_ http://perlpunks.de/paste/show/47a0a7f3.54ec.290 # that's how the output looks
16:38 moritz_ [particle]: the last commit only modified a file that is compiled with kp6
16:38 moritz_ doesn't kp6 run on windows?
16:39 ruoso [particle], in theory you can, why couldn't you?
16:40 ruoso autotools may not be completely windows friendly... but it does work on it
16:40 ruoso in theory it's easier to make it work in windows by using autotools than writing my own makefile
16:41 moritz_ ruoso: http://perlpunks.de/paste/show/47a0a899.5d52.231 # autotool build failure
16:41 pugs_svn r19753 | ruoso++ | [smop] first shot on the KP6sm0p preprocessor.
16:42 [particle] autotools
16:42 [particle] ok, i'll look for a windows download. i thought they didn't work there
16:43 ruoso you probably need cygwin
16:44 ruoso moritz_, try changing the call order in Makefile.cvs to call autoconf before automake
16:44 ruoso moritz_, which os are you on?
16:44 moritz_ ruoso: debian
16:44 ruoso moritz_, which version?
16:44 moritz_ Etch
16:45 moritz_ automake 1.10
16:45 moritz_ autoconf 2.61-4
16:45 [particle] cygwin != windows.
16:45 moritz_ when I change the call order I get
16:45 moritz_ autoconf
16:45 moritz_ configure.ac:6: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.
16:45 moritz_ make: *** [all] Error 1
16:45 ruoso moritz_, do you have libtool installed?
16:46 moritz_ no
16:46 ruoso you need automake autoconf and libtool
16:46 manfred joined #perl6
16:47 moritz_ ok, the Makefile is built correctly
16:48 moritz_ now sm0p.pl dies because gensym isn't defined
16:48 moritz_ Bareword "gensym" not allowed while "strict subs" in use at ../sm0p.pl line 31.
16:48 moritz_ Execution of ../sm0p.pl aborted due to compilation errors.
16:51 ruoso moritz_, yeah... I'm working on it right now
16:52 moritz_ ok
16:52 pugs_svn r19754 | ruoso++ | [smop] sm0p.pl now works... but the code in smop_lowlevel.c is not...
16:53 IRSeekBot joined #perl6
16:56 meppl joined #perl6
17:01 ruoso [particle], http://gnuwin32.sourceforge.net/summary.html this should do the trick for you
17:01 lambdabot Title: GnuWin32 Summary
17:01 ruoso it's not cygwin... they are native win32 binaries...
17:05 REPLeffect joined #perl6
17:09 cj @tell TimToady how do you want to handle inclusion of CLI libraries when their namespace is defined in the CPAN for instance?
17:09 lambdabot Consider it noted.
17:36 pugs_svn r19755 | ruoso++ | [smop] YAY!!! sm0p.pl already processes smop_lowlevel.sm0p and smop_lowlevel.c almost compiles...
17:41 TimToady cj: see S11:391 for syntax of importing from foreign namespaces
17:41 lambdabot TimToady: You have 1 new message. '/msg lambdabot @messages' to read it.
17:48 cj TimToady: danke
17:48 moritz_ in case anybody hasn't noticed, the irclogs make strings like S11:391 to nice links ;-)
17:49 cj TimToady: where is the canonical textual representation of that synopsis located?
17:49 moritz_ the "canonical" HTML is at http://perlcabal.org/syn/
17:49 lambdabot Title: Official Perl 6 Documentation
17:50 moritz_ the POD is at http://svn.pugscode.org/pugs/docs/Perl6/Spec and ... uhm... I forgot the second URL
17:50 lambdabot Title: Revision 19755: /docs/Perl6/Spec
17:50 cj thanks, moritz_
17:51 moritz_ http://svn.perl.org/perl6/doc/trunk/design/syn/ # that's the second
17:51 lambdabot Title: Revision 14496: /doc/trunk/design/syn
17:56 monomorph_ newbie question: is there a more elaborate discussion of tokens and the longest-token rule than S05?
17:56 monomorph_ maybe an old mailing list discussion or something
17:57 orafu joined #perl6
17:58 moritz_ monomorph_: what kind of token discussion would you like to read?
17:58 moritz_ monomorph_: iirc the exact semantics of longest token matching aren't yet fully settled
17:59 orafu joined #perl6
17:59 monomorph_ moritz_: good to know
18:01 Tene monomorph_: last I heard, timtoady was still trying to figure out how to make it work.
18:01 pugs_svn r19756 | ruoso++ | [smop] It compiles!!!!!!!! the test still fails... but it compiles...
18:03 allbery_b <linus> ship it! </linus>
18:04 ruoso heh
18:05 docj joined #perl6
18:09 cj Hurm... I haven't finished reading the spec yet... I'm about half way through, but it occurs to me that there seems to be the assumption that modules will be imported from a single external location, and there is probably no concept of libraries defined by the underlying VM, vs. libraries defined in .pm files in the library search path
18:10 [particle] cj: no, there's an :auth<> attribute, which allows you to specify the authority (from which the module was downloaded)
18:11 [particle] well, not 'downloaded' but i think you get the point
18:11 cj the specific question I am asking is this: when a module is defined by a library source known to the underlying VM, and there exists a library in the filesystem search path which duplicates the namespace / module name, a) how does perl6 decide which to use and b) how does the user over-ride the default decision?
18:12 [particle] as yet undefined
18:12 [particle] we'll need some kind of module registry
18:13 cj it seems to me that the perlish way to do it would be to default to the perl6 version, requiring intervention in order to use the VM-supplied thinger
18:15 monomorph_ about matching again: that STD.pm exists implies to me that people have at least an idea of it's supposed to work?
18:16 monomorph_ specifically, i don't understand if and when whitespace terminates a token
18:16 [particle] monomorph_: yes, but there are cases where it's still unspecced
18:16 [particle] you'll have to look at unspace and whitespace
18:16 moritz_ monomorph_: actually PGE implements much of the specs, and in some cases a bit more
18:17 [particle] like the ws, unsp, and unv tokens
18:17 tobeya joined #perl6
18:18 * [particle] wonders how complete the whitespace tests are in the test suite
18:19 meppl joined #perl6
18:20 moritz_ [particle]: I think they aren't full up to date, and not very complete either
18:20 moritz_ but I'm not sure
18:23 [particle] yeah, that's what i figured :(
18:29 rhr_ [particle]: I wrote some ws/unspace tests a long time ago: t/syntax/long_dot.t t/syntax/unicode-whitespace.t
18:30 [particle] rhr_: great. maybe they can help monomorph_
18:31 monomorph_ looking right now
18:31 moritz_ it seems that the "long dot" term has disappeared from the synopsis
18:31 Jamtech joined #perl6
18:31 moritz_ at least mostly
18:32 allbery_b yeh, one of the revisions seems to have deprecated that term
18:36 pugs_svn r19757 | rhr++ | [t/syntax/long_dot.t] s/long dots?/unspace/gi
18:37 pugs_svn r19758 | rhr++ | t/syntax/long_dot.t is now t/syntax/unspace.t
18:37 rhr_ fixed :)
18:38 moritz_ rhr_: did you actually verify that they are still matching the specs?
18:38 barney joined #perl6
18:39 [particle] you could migrate them to t/spec if you like, too
18:39 rhr_ moritz_: at a quick glance it still looks right, I think
18:39 TimToady monomorph_: what part of S05:1929 "Longest-token matching" is unclear?
18:41 TimToady the <ws> rule is considered procedural whether called explicitly or implicitly
18:41 pugs_svn r19759 | rhr++ | [t/syntax/unspace.t] delete comment about renaming it to unspace
18:41 monomorph_ mostly the 4th bullet: (things that terminate a token include...) "Any part of the regex or rule that might match whitespace, including whitespace implicitly matched via :sigspace. (However, token declarations are specifically allowed to recognize whitespace within a token.)"
18:42 TimToady you'll note that the definition of ws uses || at its top level
18:42 TimToady so it actually follows from the | vs || rule
18:42 TimToady but \h+ doesn't call <ws>, so it's declarative
18:43 monomorph_ so .* and similar things also don't terminate the token prefix?
18:43 IllvilJa joined #perl6
18:43 TimToady no, but anyone who wants to match the rest of the file as a token is nuts.  :)
18:43 [particle] NVTS.
18:44 TimToady well, I can see some uses for being nuts, and we don't disallow it :)
18:44 TimToady basically, anything we can hand off to a non-backtracking NFA engine is fair game for longest-token
18:45 TimToady and that certainly includes .*
18:45 pugs_svn r19760 | rhr++ | [unspace.t, unicode-whitespace.t] move to t/spec/S02-whitespace_and_comments
18:45 monomorph_ sounds reasonable
18:45 TimToady we're trying to be reasonable all over the place, but sometimes it's hard to explain what "reasonable" means... :)
18:46 TimToady the fundamental underlying goal is to make explicit lexers obsolete
18:46 monomorph_ okay, so what i misunderstood was that "might match whitespace" refers specifically to <ws>. maybe that's explained elsewhere (i read the whole thing yesterday, but it's hard to keep so many things in my head :)
18:46 TimToady yeah...
18:46 TimToady I should probably explain it in terms of ||
18:47 TimToady thanks
18:49 monomorph_ "thanks" is what i wanted to say :)
18:49 TimToady It is part of my literary theory that communication failure is as much the fault of the author as the reader, if not more so.  :)
18:51 fridim_ joined #perl6
19:11 justatheory joined #perl6
19:12 pugs_svn r19761 | ruoso++ | [smop] some advances... fetching named arguments from capture is failing for some weirdness in my use of libc bsearch
19:12 orafu joined #perl6
19:56 japhb joined #perl6
20:02 jwest- joined #perl6
20:03 wtgee joined #perl6
20:09 jwest- joined #perl6
20:17 cathyal joined #perl6
20:17 cathyal what is with freenode
20:17 cathyal horrible lags
20:17 cathyal like way horrible
20:18 namelessuser joined #perl6
20:29 mofino like yea, like
20:30 cathyal pretty nasty
20:30 cathyal better now
20:32 mofino actually it was ok for me
20:32 mofino i just wanted to say like twice in the same sentence
20:33 baest joined #perl6
20:33 cathyal you mean like like yea!
20:33 cathyal if so you fucked it up pretty bad
20:33 cathyal :P
20:33 mofino I see
20:34 mofino but that's just your opinion, perhaps others will enjoy, like yea, like
20:34 mofino you never know!
20:34 cathyal talkl to me dirty moritz_
20:34 cathyal oh mofino
20:35 cathyal OK moritz_
20:35 cathyal mofino
20:35 cathyal !:P
20:35 mofino haha
20:35 cathyal hehe
20:35 TimToady Dude, dude, Dude!
20:35 cathyal so how come you're awake and nobody else
20:35 mofino DUDE
20:35 cathyal oh my god
20:35 cathyal its larry
20:35 mofino because it's 3:34pm
20:35 cathyal larry talks
20:35 * cathyal chuckles
20:36 TimToady and dudettes...
20:36 cathyal hehe
20:36 cathyal hello larry!
20:36 cathyal it is indeeeeeeeed one hell of a pleasure tyo meet you
20:36 mofino to meat him
20:36 * cathyal tries her best to be very diplomatic
20:37 * TimToady curtsies
20:37 mofino if you ingest him, do you become him?
20:37 mofino shall we try?
20:37 cathyal think i freaked him out
20:38 TimToady it would be difficult to freak me out more than normal...
20:38 [particle] sweet!
20:38 cathyal i would sure try mofino
20:38 TimToady dude!
20:38 TimToady Hey, dude, where's my perl6?
20:38 mofino haha
20:41 mofino haha man
20:42 mofino this topic is pretty intense
20:42 mofino pugs: [~] <m oo se> (or rakudo:, kp6:, smop: etc.) ??
20:42 exp_evalbot OUTPUT[*** ␤    Unexpected "("␤    expecting operator, ":" or ","␤    at /tmp/GCvlp9A3o3 line 1, column 15␤]
20:42 mofino !!
20:42 mofino pugs: [~] <m oo se>
20:42 exp_evalbot RESULT["moose"]
20:43 mofino madness
20:46 moritz_ no madness - very cool
20:47 Gothmog_ rakudo: [~] <m oo se>
20:47 exp_evalbot OUTPUT[Parrot VM: Can't stat languages/perl6/perl6.pbc, code 2.␤main: Packfile loading failed␤]
20:47 Gothmog_ kp3: [~] <m oo se>
20:47 Gothmog_ kp6: [~] <m oo se>
20:47 exp_evalbot r19761: OUTPUT[syntax error at position 0, line 1 column 0:␤[~] <m oo se␤^ HERE␤]
20:47 Gothmog_ smop: [~] <m oo se>
20:47 mofino hmmm
20:48 Gothmog_ Dumdeedum.
20:48 mofino interesting
20:48 mofino so what exactly are you doing?
20:48 mofino running that expression against different engines?
20:48 Gothmog_ Mhmyup.
20:48 moritz_ aye
20:48 mofino nifty
20:48 mofino what's kp6?
20:48 moritz_ KindaPerl6
20:49 mofino haha awesome
20:49 [particle] perl: say("hi");
20:49 [particle] eval: say("hi");
20:49 [particle] darn, which one runs all impls?
20:49 moritz_ a (nearly bootstrapped) Perl 6 compiler written in a subset of Perl 6
20:49 moritz_ perl6: say("hi");
20:49 exp_evalbot kp6: OUTPUT[hi␤]
20:49 exp_evalbot ..pugs: OUTPUT[hi␤]
20:49 exp_evalbot ..rakudo: No output (you need to produce output to STDOUT)
20:49 mofino written in a subset of perl6?
20:49 moritz_ rakudo: say "hi";
20:49 exp_evalbot OUTPUT[Parrot VM: Can't stat languages/perl6/perl6.pbc, code 2.␤main: Packfile loading failed␤]
20:49 [particle] seems rakudo eval is broken
20:49 moritz_ ouch
20:50 moritz_ mofino: yes
20:50 mofino but ... that... madness
20:50 [particle] change that to 'make perl6' and you can run the exe rather than ../../parrot ...
20:50 mofino well maybe not
20:50 mofino just hard to understand.
20:51 moritz_ mofino: aye, it's a long bootstrapping chain
20:51 TimToady you don't have to understand English to use it...
20:51 mofino for sure, it can be confusing in any language
20:51 mofino :)
20:52 moritz_ and who bootstrapped English?
20:52 * araujo gives TimToady the prize "philosopher of the year"
20:52 mofino so why do many engines?
20:53 moritz_ mofino: there are a number of reasons
20:53 moritz_ -Ofun being one of them
20:53 mofino heh ok
20:53 moritz_ differnt approaches (top->down vs. buttom->up) being another
20:53 TimToady that would be for the year containing Christmas, I presume...
20:54 moritz_ differnt tools (p5 vs. C vs. haskell) being the thirds
20:54 mofino moritz_, yeah, ok
20:55 [particle] the fourth reason is that one of them is bound to work
20:55 * moritz_ rebuilds parrot on the evalbot server
20:55 moritz_ lol
20:55 mofino ok
20:55 allbery_b ..you hope
20:56 moritz_ allbery_b: not only hope. Especially [particle] works for it
20:56 moritz_ I do as well, to a lesser extend
20:56 moritz_ and mostly in less usefull ways :/
20:56 TimToady me, I'm just all talk :)
20:56 mofino I better read about this again
20:57 moritz_ TimToady: that's what we pay you for... wait. never mind ;)
20:57 jferrero joined #perl6
20:57 mofino Ok, these engines are independant of parrot?
20:57 moritz_ rakudo: say "hi";
20:57 exp_evalbot OUTPUT[hi␤]
20:57 TimToady not that one
20:58 moritz_ mofino: rakudo is parrot based
20:58 mofino ok!
20:58 mofino cool
20:58 moritz_ mofino: kp6 is ... well.. kp6 and mp6 based
20:58 moritz_ pugs is built with haskell
20:58 mofino so kp6 would be rakudo?
20:58 mofino based from?
20:58 moritz_ no
20:58 TimToady rakudo: say [~] <m oo se>
20:58 mofino ohj
20:58 exp_evalbot OUTPUT[Statement not terminated properly at line 1, near "[~] <m oo "␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;statementlist' pc 14841 (src/gen_grammar.pir:2402)␤called from Sub
20:58 exp_evalbot ..'parrot;Perl6::Grammar;statement_block' pc 12028 (src/gen_grammar.pir:1396)␤called f...
20:58 moritz_ two entirely differnt things
20:59 mofino so how does kp6 build itself?
20:59 mofino maybe that's a loaded question
20:59 moritz_ with an earlier version of itself ;)
20:59 moritz_ partly
20:59 mofino madness
20:59 moritz_ and partly with mp6
20:59 mofino mp6?
20:59 moritz_ and mp6 is yet another, smaller subset of perl6, and a compiler that implemetns that
20:59 mofino hahah this is so intense
21:00 mofino I guess it's not that intense, gcc is C
21:00 mofino just really cool
21:00 [particle] what's the smallest subset of perl 6 that's turing complete?
21:00 moritz_ gcc is written in C as well, and nobody seems to care
21:00 [particle] we can call it 'tp'
21:01 moritz_ [particle]: I think that lrep is turing complete
21:01 moritz_ you just need arrays + while loops for turing completeness
21:01 moritz_ and an if-statement, perhaps
21:01 [particle] yep
21:01 TimToady if and lambda gets you loops
21:02 riffraff joined #perl6
21:02 moritz_ uhm, but lambda... that's cheating ;)
21:02 monomorph_ even if is unnecessary with lambda :)
21:02 monomorph_ if you don't compare things that is
21:03 moritz_ uhm
21:03 moritz_ then who do you abort rekursion?
21:03 moritz_ turing completeness implies ability to compare, doesn't it?
21:05 monomorph_ you'd encode every value as a function
21:05 monomorph_ for example, true is a function so that true($x, $y) == $x, false($x, $y) == $y
21:06 monomorph_ (boolean_expression)(then_argument, else_argument) can encode if
21:06 moritz_ scary
21:07 mofino heh neat
21:08 monomorph_ it's lambdas all the way down
21:09 ggoebel joined #perl6
21:09 moritz_ but... it's ugly! scary! evil!
21:10 moritz_ actually it's rather pretty, if you think a bit more about it ;)
21:10 monomorph_ slow... pointless... theoretic...
21:12 allbery_b http://en.wikipedia.org/wiki/Turing_tarpit :)
21:12 lambdabot Title: Turing tarpit - Wikipedia, the free encyclopedia
21:12 mofino you're no fun
21:36 OuLouFu joined #perl6
22:08 orafu joined #perl6
22:11 cj are there contract definition bits in perl6?
22:12 moritz_ not that I know of
22:12 moritz_ uhm, wait
22:12 moritz_ du you mean in the juristic sense?
22:12 moritz_ or in the "design by contract" sense?
22:12 cj moritz_: "design by contract"
22:12 moritz_ ah, yes
22:13 moritz_ they are defined in terms of traits
22:13 cj cool.  got a url or a S version?
22:13 cj er, number
22:13 moritz_ wait a sec
22:15 moritz_ PRE/POST in Subroutine.pod
22:15 moritz_ http://perlcabal.org/syn/S06.html
22:15 lambdabot Title: S06
22:16 japhb joined #perl6
22:23 pugs_svn r19762 | cosimo++ | [t/spec] Test suite refactoring. Relevant bits for cmp tests have been moved to S29-any
22:25 cosimo_ joined #perl6
22:44 Limbic_Region joined #perl6
22:44 pugs_svn r19763 | cosimo++ | [t/spec] Test suite refactoring. Starting work on S16!
22:44 pugs_svn r19763 | cosimo++ | Moved io::dir and getc tests under S16-io and S16-filehandles
22:45 pugs_svn r19764 | cosimo++ | Fixed name of test script (was get.c)
22:47 Auzon joined #perl6
22:53 Psyche^ joined #perl6
22:54 pugs_svn r19765 | cosimo++ | [t] Test suite refactoring.
22:54 pugs_svn r19765 | cosimo++ | Moved other io/filehandles tests under t/spec/S16
22:54 pugs_svn r19765 | cosimo++ | Converted pod syntax to pod6.
22:55 pugs_svn r19766 | cosimo++ | [t/spec/S16] Fixed test script names (need italian coffee)
23:01 jeffreykegler joined #perl6
23:02 cosimo_ good localtime() to all!
23:02 ilogger2 joined #perl6
23:04 cosimo_ What should I do with all the `if $*OS eq "browser" { skip_rest() }' things?
23:04 cosimo_ Makes sense to keep them?
23:04 cosimo_ I mean, for rakudo
23:04 moritz_ I don't think so
23:04 moritz_ the JS backend is long broken
23:05 moritz_ since I joined #perl6 I haven't seen a single commit to it
23:06 cosimo_ JS?
23:07 moritz_ pugs had a javscript backend, yes
23:07 moritz_ that's what the $*OS eq "browser" tests are for
23:08 cosimo_ wow!
23:09 cosimo_ probably it *would* make sense to build a t\harness_js then... :-)
23:10 moritz_ last time I tried not a single test passed
23:11 cosimo_ ok, clear
23:17 pugs_svn r19767 | cosimo++ | [t] Test suite refactoring.
23:17 pugs_svn r19767 | cosimo++ | Moved chmod tests under t/spec/S16-filehandles
23:18 pugs_svn r19768 | cosimo++ | [t] Refactored say/print tests undef t/spec/S16-io.
23:18 pugs_svn r19768 | cosimo++ | Converted pod markers to pod6.
23:35 pugs_svn r19769 | cosimo++ | [t] Test suite refactoring.
23:35 pugs_svn r19769 | cosimo++ | Moved readline tests under t/spec/S16-unfiled.
23:35 pugs_svn r19769 | cosimo++ | Ok, it's unfiled. Maybe we can move to better folders later?
23:36 cosimo_ bye, good night!
23:37 cosimo_ left #perl6
23:55 cyberpass joined #perl6
23:56 Khisanth joined #perl6

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

Perl 6 | Reference Documentation | Rakudo