6.2.12 released! | paste: sial.org/pbot/perl6 | pugs.blogs.com | pugscode.org | pugs.kwiki.org Set by audreyt on 26 June 2006. |
|||
cwest | hrm, seems I need Pugs::Safe::safe_readline and Pugs::Safe::safe_getc | 00:35 | |
In order to run an interactive shell in safe mode | |||
cwest wanders back to the hackathon room to find audreyt... | 00:37 | ||
mauke | she's here in the corner :-) | 00:38 | |
meppl | gute nacht | 00:39 | |
00:40
cognominal joined
00:42
penk joined
|
|||
svnbot6 | r11005 | fglock++ | v6.pm - moose-2.pl seems to compiles correctly (is Point) - but it looks different from audreyt slides | 00:49 | |
00:53
bpphillips joined
00:56
ben_ joined
|
|||
cwest | So eval() in pugs defines a new scope, which is different from perl5's idea of eval(). | 01:00 | |
This makes me sad. :-( | |||
mauke | how is it different? | 01:01 | |
bpphillips | cwest: I think perl5 does the same thing: perl -le 'eval q(my $foo = 1); print $foo;' # prints nothing | 01:07 | |
cwest | oh yes, you're right | 01:09 | |
properly declared variables are, of course, only existant in eval scope | |||
bpphillips | cwest: are you still working on the interactive web shell thing that you were contemplating earlier? | ||
cwest | yes | 01:10 | |
bpphillips | could you accumulate the user's commands and evaluate the entire program for each command they submit? | ||
bpphillips .o0{thinking that's not what you want...} | |||
01:11
Khisanth joined
|
|||
cwest | right, not what I want. | 01:11 | |
01:18
pfenwick joined
|
|||
pfenwick | seen alias? | 01:18 | |
jabbot | pfenwick: I havn't seen alias, pfenwick | ||
mugwump | dduncan: nice post, I replied | 01:24 | |
dduncan | hello | 01:25 | |
yes, I'd really like to see those promised Set and Mapping implemented yesterday | |||
checking email ... | |||
01:26
daxim joined
01:34
buubot joined
|
|||
dduncan | reading done; thanks for your reply | 01:36 | |
you mention parametric roles ... do the Synopsis already mention such things somewhere? | |||
I used the term 'subset' because I considered that every valid value of the type I was declaring was a valid value of the base type ... eg, they are all valid Str or Set or Mapping | 01:37 | ||
also, the parameters seemed to be shorthand for 'where' syntax | 01:38 | ||
eg, "Set{Bar}" is shorthand for "Set where { all(.members).does(Bar) }" | 01:39 | ||
except perhaps the former is easier to optimize away at compile time | |||
I happened to mix both versions in my examples | |||
mugwump, I would appreciate if you look at the ext/Relation/ I'm starting to rewrite and give feedback on the new parts at the top (the new parts are not commented out in a pod block) | 01:40 | ||
of course, said class is intended to model things I would like built-in, whether they are built over your Collection or something else matters little, as long as they're easy to define and use | 01:41 | ||
note in particular that the definition of a Heading is structurally recursive ... | 01:42 | ||
mugwump sighs as svn makes an operation that should take seconds take hours | |||
dduncan | a heading is a set of zero or more attributes, and an attribute may possibly be a Heading itself | ||
mugwump | yes, parametric roles have at least one line somewhere | ||
dduncan | though it would be a different Heading | ||
mugwump | :) | ||
it confused me at first that only roles would be parametric, then I thought about it again and realised it was almost a tautology | 01:43 | ||
dduncan | said recursion essentially permits formal definitions of specific hierarchies | ||
reduced to a plain Set, it is like parameterizing a Set to say that its members must be of type Set of Str, or something | 01:44 | ||
or like we see Array of Array of ... | |||
but in the case of a Tuple or Relation, each attribute there of can be a different type, some other tuples or relations, others not | 01:45 | ||
01:45
justatheory joined
|
|||
dduncan | the reason the heading is recursive is that the main Heading definition specifies what Headings the attributes can have too, rather than any-old one | 01:45 | |
mugwump | your "Heading" is still the role parameters | 01:46 | |
dduncan | pretty much | ||
but Perl's built-ins seemed to inspecific | 01:47 | ||
mugwump | you can get the role parameters via .meta (or should be able to) | ||
dduncan | the basic idea is that with a Relation, every Tuple therein needs to have the same set of attributes, with corresponding attributes being of the same type | 01:48 | |
mugwump | so, assuming that there is both a Set class and a Set role, | ||
"Relation" is a Collection subtype | |||
dduncan | the Heading declares what parts must be in common and/or restrictions for everything | 01:49 | |
yes | |||
mugwump | where the type parameters are defined | ||
dduncan | as you define Collection, Relation would be a subtype thereof | ||
mugwump | exactly. what it adds is that conformance of types | ||
dduncan | however, the Synopsis don't contain Collection, so I'm currently defining it in terms of what it does mention | ||
if you can get your Collection proposal endorsed by @Larry and added to the Syopsis, then I'll use that | 01:50 | ||
are you at the hackathon yourself ... I'm not | |||
mugwump | no, I'm in NZ | 01:51 | |
dduncan | at home | ||
mugwump | work | ||
01:51
coumbes joined
|
|||
dduncan | well I support your idea in principle ... it is mainly details needing hashing out | 01:51 | |
mugwump | The point of whether a seperate "Collection" or "Set" is quite moot, anyway | 01:52 | |
The only thing that not having a "Collection" lets you do is have duplicate tuples(ie, Seq objects appearing twice) | |||
which only a few people care about | |||
the point is how the role parameters are combined | 01:53 | ||
dduncan | I think that one reason the Synopsis specifically mention things like Set or Seq as their own things rather than having them based on a Collection is that it is often easier for a language to be built up from simpler things than built down from more complex things | ||
so even if Collection is added, the Set may not be implemented with it | |||
just like you don't use a Seq or Array to implement a Str (sequence of chars) | 01:54 | ||
mugwump | some languages do | ||
dduncan | yes, but many don't, presumably for a reason | ||
mugwump | C does. Haskell does. | ||
dduncan | I know Pascal does | ||
mugwump | But the thing is, you don't care, because of the sugar | 01:55 | |
dduncan | my main concern from language design is that your tools are easy to use and unambiguous in meaning | ||
mugwump | So, from a constraints perspective, a Set is a Collection with the constraint that each Seq has exactly one item, and that there are no duplicates. From that perspective, the Collection is simpler. The implementation is, well, an implementation detail | 01:56 | |
dduncan | mugwump, you may have touched on this before, but is there an existing Perl 5 implementation of the Collection type you propose? | 01:57 | |
mugwump | only a partial one at git://utsl.gen.nz/Coll | 01:58 | |
but it really needs a ground-up rewrite based on parametric roles | |||
and for that I need to add parametric roles to Moose | 01:59 | ||
dduncan | is Coll built using Moose, or will be? | ||
svnbot6 | r11006 | fglock++ | v6.pm - infix:<-=>; infix:<+=>; infix:<err>; | ||
r11006 | fglock++ | - has TYPE $var; | |||
r11006 | fglock++ | - moose-3.pl compiles, with errors | |||
mugwump | it is built using Moose, yes | ||
I got partway through that implementation before realising that the parametric roles were really quite vital to making it not suck | 02:00 | ||
dduncan | I looked at Moose the other day myself and debated whether to use it in my own stuff ... but I wasn't sure yet if it would make things easier or more difficult at the present | ||
mugwump | as well as being drawn by other projects | ||
did you see audrey's slides? | |||
dduncan | not as yet | ||
mugwump | pugs.blogs.com/talks/yapcna-deploy-perl6.pdf | 02:01 | |
skip to the Moose parts | |||
dduncan | for one thing, I'm wondering whether things like Class::Std are best dumped in the transition, since Moose replaces their features | ||
dduncan now to dinner, back in a bit | 02:02 | ||
mugwump | probably. There is a transition path - rewrite them to use Class::MOP | ||
yeah, it's almost end of week here ... catch you next week probably | |||
dduncan | in brief, what I want to use in Perl 5 is something that lets my program design in perl 5 be as similar as possible to the corresponding perl 6 version | ||
if Moose will help me do that, great ... otherwise, not sure if it will do what I want | 02:03 | ||
mugwump | Moose covers the OO part ... but read the slides for more | ||
02:10
bpphillips left
02:15
scook0 joined
02:17
baest joined
02:18
justatheory joined,
pfenwick joined,
penk joined,
SamB joined,
nothingmuch joined,
dduncan joined,
knewt joined,
cmatei joined,
rashakil joined,
takesako joined,
f0rth joined,
jiing joined,
kane-xs joined,
orafu joined,
scw joined,
tcliou joined,
ajs_home joined,
obra joined,
spinclad joined,
drbean joined,
amv joined,
dvorak joined
02:19
dvorak_ joined
02:27
mjk joined
|
|||
svnbot6 | r11007 | fglock++ | v6.pm - fixed infix:<+=>; | 02:35 | |
r11007 | fglock++ | - has $var = exp; | |||
r11007 | fglock++ | - fail(); | |||
r11007 | fglock++ | - moose-3.pl compiles, looks ok | |||
02:43
weinig is now known as weinig|sleep
03:16
bpphillips joined
03:17
multic joined
03:18
multic left
03:19
christo joined
|
|||
svnbot6 | r11008 | fglock++ | v6.pm - moose-4.pl compiles, has grammar problems (doesn't recognize method call) | 03:24 | |
03:30
fglock joined
|
|||
gaal | nothingmuch: ping | 03:33 | |
fglock | help wanted - convert per5/Pugs-Compiler-Perl6 moose*.pl to t/moose*.t (see existing tests for tips) - thanks! | ||
nothingmuch | gaal: pont | 03:35 | |
gaal: will be back soon | |||
just waiting for rob | |||
fglock: new stuff in Perl::Generate | |||
please give me a list of requirements for stuff you'd want to make easy | |||
especially from a perspective of processing (these trees are rather reusable and pretty easy to play around in) | 03:36 | ||
or at least they should be (hence the requirement request ;-) | |||
fglock | nothingmuch: v6.pm ast is a little different, so it needs a rewrite first | 03:38 | |
I'm playing with translating to Moose - it would be nice if you could take a look at Pugs::Compiler::Perl6 Emit.pm | |||
03:38
bpphillips left
|
|||
nothingmuch | fglock: i took a short look | 03:39 | |
svnbot6 | r11010 | gaal++ | r11081@sike: roo | 2006-06-29 22:30:04 -0500 | ||
r11010 | gaal++ | * Pugs.Prim: add Pugs::Safe::safe_getc and Pugs::Safe::safe_readline | |||
r11010 | gaal++ | primitives, allowing evalservers to interface an interactive pugs. | |||
nothingmuch | i'm optimizing for what Moose will need right now | ||
but I can also optimize for what you want | |||
03:40
mdiep joined
|
|||
nothingmuch | fglock: anyway, i will be out soon, so i'll prolly see you tomorrow | 03:40 | |
ping me and we'll discuss | |||
mdiep | is there a way to get a *flat* list of captures from a match? | 03:41 | |
fglock | nothingmuch: right now I need parameter processing in subs - clkao is investigating that | ||
and more Moose examples to try to implement (v6 and p5 versions) | |||
nothingmuch | fglock: ideally we could make some "sugar" nodes in p5 | 03:42 | |
that map directly to an idealized p6 ast | |||
(not parse tree) | |||
and these will be wrappers for lower level sub nodes | |||
that actually do the dirty work | |||
but i need to get into your work to actually help out | 03:43 | ||
and i haven't done so yet | |||
so it's easier for you to say what you would like the most =) | |||
03:46
fglock joined,
coumbes joined,
buubot joined,
Khisanth joined,
gaal joined,
revdiablo joined,
weinig|sleep joined,
Grrrr joined,
jabbot joined,
ruz joined,
SM_ax joined,
perlbot joined,
wolverian joined
|
|||
nothingmuch | fglock: i'm off (birthday) | 03:46 | |
see you =) | |||
fglock | happy birthday! | 03:48 | |
03:55
fglock left
|
|||
svnbot6 | r11011 | audreyt++ | * yapc_schedule.pl - you need latest parrot trunk to run this. | 04:06 | |
r11011 | audreyt++ | kolibrie++ for coming up with the syck^Wsick example of | |||
r11011 | audreyt++ | overriding "ws". | |||
04:08
christo left
|
|||
dduncan | what he said | 04:21 | |
svnbot6 | r11012 | sanug++ | Audrey and Patrick described Perl 6 compilation | 04:49 | |
r11013 | Darren_Duncan++ | ext/Relation/ : cloned Relation.pm into the new D.pm, wherein I will try a different approach that is more struct+module like | 04:52 | ||
05:06
snowstalker joined
|
|||
audreyt | obra: perlcabal.org/~audreyt/pdf/ | 05:10 | |
lambdabot | Title: "Index of /~audreyt/pdf" | ||
svnbot6 | r11014 | audreyt++ | * more p6ast.hs | 05:31 | |
r11015 | clkao++ | v6.pm - Don't write to file when failed to compile. | 05:34 | ||
clkao | audreyt: if else / for are taking block as well. :/ | 06:02 | |
not sure where the block that used in assignment is matched from | |||
it's not in exp | 06:03 | ||
06:06
xdg joined
|
|||
svnbot6 | r11016 | clkao++ | Parse foo().method correctly. This makes 07-isa fail because it was | 06:06 | |
r11016 | clkao++ | not running the right thing. | |||
06:07
xdaveg joined
06:36
penk joined
|
|||
svnbot6 | r11017 | sanug++ | Audrey's new Perl5 page | 06:39 | |
r11018 | clkao++ | * Implement pointy sub (without siganture). | |||
r11018 | clkao++ | * Change param-binding to shift to support lexical subs when passed in | |||
r11018 | clkao++ | with Code. | |||
06:40
Aankhen`` joined
|
|||
dduncan | ping mugwump | 06:46 | |
06:58
iblechbot joined
|
|||
svnbot6 | r11019 | Darren_Duncan++ | ext/Relation/ : in a separate project branch which is 'D.pm', the Relation library is now composed entirely of immutable transparent data types defined as subsets of Str|Pair|Set|Mapping plus separate modules that declare operators for deriving other data from them | 07:02 | |
clkao | things left to make the compiled v6 test.pm actually compile under p5: &?CALLER::ROUTINE, named binding, multisub | 07:03 | |
and figure out how to map TEST:: namespace to the mangled one | 07:04 | ||
dduncan | er, regarding D, the deriving operators haven't been written yet, but all the data types have been defined, along with all their constraints | 07:05 | |
mugwump, when you have the chance, please look at the new D.pm code (its at the top, not pod-commented-out) ... | 07:09 | ||
when contemplating your Collection type, what you see in D.pm now should give you a better idea exactly what shapes I want to represent | |||
so if Collection would be flexible/capable enough to define such shapes, I know it will satisfy many needs | 07:10 | ||
07:29
renormalist joined
07:31
renormalist joined
|
|||
svnbot6 | r11020 | Darren_Duncan++ | ext/Relation/ : oops, forgot a constraint def | 07:32 | |
07:34
renormalist joined
07:35
froh-doh joined
|
|||
dduncan | note that if you want to see something that looks like what DBI's fetch_all_hash_ref() returns, the RelationBody type is nearly identical (it is a set of mappings rather than an array of hashes) | 07:40 | |
07:42
tup joined
|
|||
svnbot6 | r11021 | clkao++ | TODO for making Test.pm work. | 07:47 | |
r11022 | clkao++ | ignore .tc files. | 07:50 | ||
r11023 | clkao++ | Things to ignore. | |||
07:50
elmex joined
08:01
takesako_ joined
08:12
renormalist is now known as renormalist_
08:17
dduncan left
08:19
renormalist_ is now known as renormalist,
dfan` joined,
renormalist_ joined,
renormalist left
08:20
renormalist joined
08:31
tifo joined
09:20
elmex joined
09:29
cmarcelo joined
09:51
marmic joined
09:53
chris2 joined,
buetow joined
09:56
lisppaste3 joined
10:09
drbean joined
|
|||
meppl | guten morgen | 10:18 | |
daxim | moin | 10:24 | |
10:36
kane_ joined
|
|||
Juerd | Someone (who wants to remain unnamed) proposed that feather be replaced by a professional server, so that compilation/testing of pugs and parrot would be much faster | 10:39 | |
I've started doing some calculations today, and this would cost almost 2900 euros | 10:40 | ||
This would require a donation of approx 45 euros per user. | |||
I'd like to discuss this subject | |||
I don't know if people would be willing to donate; after all, most users do not actively use the machine, and it would still not be allowed to host personal non-perl6 projects on it. | 10:41 | ||
meppl | good morning daxim | ||
Juerd | On the other hand, it's a donation toward faster development of perl6 overall... | ||
daxim | Juerd, you told me it would be easy to get a commit bit | 10:42 | |
well, I'm here now ;) | |||
Juerd | daxim: It is. | ||
daxim: Ask! | |||
daxim | please may I have one? | ||
Juerd | I don't know exactly who can give you commit bits | ||
audreyt certainly can give you one. | |||
rafl too, IIRC | |||
daxim | img314.imageshack.us/my.php?image=j...afl8ws.jpg | ||
lambdabot | Title: "ImageShack - Hosting :: juerdautrijusrafl8ws.jpg" | ||
10:43
cdpruden joined
|
|||
Juerd | heh | 10:43 | |
integral | I can, if you want, I need an email address (via privmsg) | 10:44 | |
Juerd | But then it's not logged for the spambots to enjoy! | 10:45 | |
integral | Okay, daxim, you should receive an invitation email shortly with details on accessing openfoundry. Feel free to add yourself to AUTHORS when you start committing. | 10:48 | |
daxim | ok, email arrived already | ||
integral | hmm, is there some core module that's been core since 5.5 that uses tied filehandles? | 10:59 | |
err, wrong channel, sorry | 11:03 | ||
11:12
weinig|sleep is now known as weinig|work
11:18
cognominal joined
|
|||
svnbot6 | r11024 | daxim++ | added myself | 11:18 | |
11:25
lambdabot joined
11:30
iblechbot joined
|
|||
svnbot6 | r11025 | daxim++ | clarified prerequisites for smoking | 11:30 | |
11:37
cognominal joined
11:56
mauke_ joined
12:09
cognominal joined
12:11
renormalist joined,
mauke_ is now known as mauke
12:13
renormalist joined
12:23
kcwu joined
12:28
turrepurre joined
12:37
fglock joined
13:00
Limbic_Region joined
13:04
xdg joined
13:06
wilx joined
13:10
mdiep joined
13:20
lollan joined
13:21
frederico joined
|
|||
kolibrie departs for airport | 13:21 | ||
13:21
mandarin_ joined
13:26
mandarin_ is now known as Qiang_Work
|
|||
svnbot6 | r11026 | fglock++ | v6.pm - more method call syntax | 13:43 | |
r11026 | fglock++ | moose-4.pl compiles | |||
13:52
chris2 joined
14:03
hexmode joined
14:07
cmcavoy joined
14:18
buetow joined
14:19
nothingmuch_ joined
14:27
sproingie joined
14:33
rzoz joined
|
|||
sahadev | examples/rules/yapc_schedule.pl uses yapc_schedule.pm, which is not found. where is it available? | 14:41 | |
svnbot6 | r11027 | fglock++ | v6.pm - clear 'deep recursion' message in grammar compilation | 14:43 | |
14:46
theorbtwo joined
14:54
xdg joined
15:00
amnesiac joined
|
|||
svnbot6 | r11028 | fglock++ | v6.pm - all tests fixed; all Moose snippets compile. | 15:04 | |
15:17
penk joined
15:18
johan_ joined
|
|||
audreyt | fglock++ # wow. | 15:18 | |
sahadev: sorry it is inlined | 15:19 | ||
sahadev: remove the 'use' line and commit? | |||
(also it needs a copy of e.g. yapcchicago.org/the-schedule/wednesday) | |||
lambdabot | Title: "YAPC::NA 2006 » Wednesday" | ||
15:20
frederico joined
15:27
nothingmuch joined
15:44
ajs joined
|
|||
clkao found a svk bug while merging the PC-P6 change to pX/clkao | 15:45 | ||
audreyt | svk sucks! | 15:46 | |
maybe it should be renamed to svck | |||
or suk | |||
clkao | module::install-- | 15:47 | |
Can't locate inc/Module/Install/Admin.pm in @INC (@INC contains: inc ../.. ../../inc /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /usr/local/lib/perl5/site_perl/5.8.8/Module/Install.pm line 100. | |||
audreyt | surely you killed inc/? | ||
clkao | there's no inc/ to start with | ||
audreyt | you used Module::Install::Admin? | 15:48 | |
why are you doing it? | |||
clkao | i didn't | 15:49 | |
can you run makefile.pl under misc/pX/clkao/Pugs-Compiler-Perl6 ? | |||
running it removes inc | |||
i don't know why | |||
bah, the inc path in makefile.pl | 15:50 | ||
audreyt: also the commit-inter-* tests are noisy no | |||
now | |||
audreyt | what's commit-inter-* | 15:51 | |
clkao | audreyt: svk's tests | 15:52 | |
svnbot6 | r11029 | clkao++ | Correct inc when in pX. | ||
15:56
aufrank joined
16:02
coumbes joined
|
|||
svnbot6 | r11030 | clkao++ | pull from perl5/Pugs-Compiler-Perl6. | 16:08 | |
16:09
justatheory joined
16:13
EarleMartin joined
16:17
iblechbot joined
16:28
fglock joined
|
|||
audreyt | fglock: hi | 16:28 | |
fglock | audreyt: hi! how's the hackathon? | 16:29 | |
audreyt | going very well! | ||
diagrams! | |||
and finally detailed fields of P6AST! | |||
got clkao into Yapp hacking :) | |||
fglock | great - I need that! | ||
audreyt | yes, I recognize that :) | ||
fglock | yup - I saw the commits | 16:30 | |
audreyt | fglock: can you compile "sub foo($x) {}; sub bar($x) {}" ? | ||
(that was from clkao) | |||
fglock | btw, I silenced a Deep recursion in Parse::Yapp - it seems to not be a problem | ||
checking | |||
clkao | networkg being very unsable | 16:31 | |
it fails on the second one for me | 16:32 | ||
fglock | clkao: maybe empty blocks are not defined - I will check | 16:33 | |
clkao | fglock: ah, it seems so. also "..." | ||
fglock | I could not make '...' work, but I don't know what is the problem yet | 16:34 | |
I think it must be classified as 'NUM' by the lexer | 16:35 | ||
clkao | ah! | ||
fglock: can you help looking at my parser in px/clkao? my signature can't capture no invocant and with one parameter | 16:40 | ||
svnbot6 | r11031 | fglock++ | v6.pm - added empty-blocks - " sub foo($x) {}; sub bar($x) {} " - reported by clkao++ | ||
fglock | looking | ||
clkao | in fact i can't capture any parameter without invocant. but it works when there's none of both | 16:42 | |
svnbot6 | r11032 | clkao++ | misc emitted syntax fixes. | ||
fglock | I've got a very slow computer here (tc1000 tablet) - should be 1GHz but feels like 200Mhz | 16:43 | |
16:51
fglock_ joined
16:54
fglock_ joined
|
|||
fglock_ | rehi - recovering from frozen computer | 16:55 | |
clkao | fglock: did the parser kill your network as well? ;) | ||
fglock_ | network, mouse & keyboard. but the screen was fine | 16:56 | |
is it allowed to have more than one invocant? | 17:02 | ||
clkao: is there a comma between the invocant and other parameters? | 17:03 | ||
clkao | fglock_: no, it should be invocant ':' | 17:05 | |
fglock_ | clkao: sorry, things are real slow here - no answer yet | 17:10 | |
clkao | ok. fyi, just compile "sub bar1 ($z: $y,$x) { "ok" };sub bar2 ($y,$x) { "ok" };" and you'll see | 17:11 | |
17:19
penk joined
17:28
coumbes joined
|
|||
fglock_ | clkao: I've got something that seems to work - will paste | 17:28 | |
sial.org/pbot/18114 | 17:30 | ||
lambdabot | Title: "Paste #18114 from "fglock" at 201.35.169.13" | ||
17:32
frederico joined
17:34
Debolaz2 joined
|
|||
fglock_ | clkao: I'll commit | 17:39 | |
svnbot6 | r11033 | fglock++ | v6.pm - parses ( $invocant: ) | 17:40 | |
17:46
fglock_ left,
fglock joined
17:48
ludan joined
17:49
coumbes joined
17:56
coumbes joined
|
|||
fglock | clkao: ping | 17:58 | |
17:59
ruoso joined
18:06
nothingmuch joined
18:10
clkao joined
|
|||
clkao | i think i hate everything today | 18:10 | |
audreyt | clkao: but everything has been refactored by chromatic | 18:12 | |
it should be less hateful | |||
fglock | I wonder what you are talking about | 18:17 | |
clkao | audreyt: you mean everything2.com ? | 18:19 | |
fglock | audreyt: v6.pm could be rewritten in p6 | 18:21 | |
clkao | i thought about that yesterday ;) | ||
audreyt | fglock: yeah that was part of the plan when I was in Vienna | 18:23 | |
but that makes debugging... more fun | |||
up to you | |||
clkao | fglock: oh you fixed that. but i was more wondering about why my version didn't work. | 18:25 | |
fglock | there are no tweaks to do in the Makefile, right? | ||
clkao: I don't know too :) | |||
18:27
Debolaz joined
|
|||
fglock | would someone sanity-check the compiled Moose files in perl5/Pugs-Compiler-Perl6? | 18:29 | |
I'll start moving them to t/ | |||
can I say 'module Main;' to finish a class declaration in p6? | 18:34 | ||
audreyt | if you started the file with | ||
fglock | or does it mean 'module MyClass::Main' | 18:35 | |
audreyt | class Foo; | ||
then that scopes over entire file | |||
fglock | so I have to use class Foo { ... } main... | ||
audreyt | yup | 18:39 | |
fglock | use lib ('.'); - same syntax in p6? | 18:41 | |
Juerd | fglock: AFAIK, but note that the parens are neither necessary nor part of the syntax. | 18:43 | |
(For both perls) | |||
audreyt | yup | 18:44 | |
fglock | k | ||
18:47
tup joined
18:48
ruz joined
|
|||
svnbot6 | r11034 | fglock++ | v6.pm - added first Moose test | 18:52 | |
fglock | yay! a program in p6 a module in p6 | 18:53 | |
audreyt | woot! | ||
fglock++ | 18:54 | ||
(bbiab) | |||
svnbot6 | r11036 | audreyt++ | * perl5 | 18:58 | |
fglock | perl5? | 18:59 | |
19:01
shachaf joined
|
|||
Limbic_Region | fglock - she's reinventing wheels ;-) | 19:02 | |
ruoso | fglock, I'm a bit away lately... where is this last stuff you're doing... I'd like to test it... | 19:03 | |
fglock | ruoso: see use.perl.org/~fglock/ | 19:09 | |
lambdabot | Title: "fglock - use Perl User" | ||
fglock | it is in CPAN - 'install v6' | 19:10 | |
or perl5/Pugs-Compiler-Perl6/ | |||
the CPAN version doesn't have OO yet | 19:11 | ||
it's a complete rewrite of lrep - only the Rules grammar was reused | 19:12 | ||
audreyt: I'm shy to write to pugs.blogs.com - too many people reading there :) | 19:14 | ||
ruoso | fglock++... the generated code is incredibly beatiful... | 19:16 | |
svnbot6 | r11037 | sanug++ | Allison Randal added Punie and Tree Grammar Compilation. | ||
r11037 | sanug++ | Audrey Tang added Ponie. | |||
fglock | ruoso: thanks! this is the 3rd rewrite, counting last years's pil-run | 19:18 | |
ruoso: perlcabal.org/~audreyt/pdf/perl6_co...-perl5.pdf | 19:21 | ||
TreyHarris | larry's most recent S02 change appears to be just of the version number? or am i missing something? | 19:22 | |
oh, i just noticed the summary was "forgot to add versions" *sheepish* | 19:24 | ||
ruoso just happy to see all of that... | |||
ruoso sad for not having time to take part on it... | |||
fglock | ruoso: I don't have time either :) | 19:26 | |
19:29
arguile joined
19:34
clkao joined,
Steve_p joined
|
|||
Steve_p | Where might I find the most up to date info on smart matching? | 19:35 | |
TimToady | Steve_p: S03 | 19:37 | |
Steve_p | TimToady: thanks! | 19:38 | |
19:41
Yaakov joined
|
|||
fglock | TimToady, audreyt, pmichaud: thanks for the patience in the last few months to explain the compiler to me | 19:42 | |
19:43
weinig|work joined
19:44
weinig|work is now known as weinig,
frederico joined
19:46
xdg joined
19:47
jamhed joined
|
|||
clkao | fglock: now you get to explain them to me ;) | 19:48 | |
Steve_p | heh | ||
clkao | fglock: you saw my todo update about test.pm right? | 19:49 | |
want to finish up the capture parsing? then i can work on the emitter for calling with data::bind at the same time | |||
fglock | clkao: :) - checking | ||
clkao: what's missing in the capture? | 19:50 | ||
svnbot6 | r11038 | fglock++ | v6.pm - added a failing test to t/10-moose1.t | 19:51 | |
clkao | it's not parsed is it? | ||
19:51
dduncan joined
|
|||
clkao | also CALLER:: | 19:52 | |
fglock | clkao: would you write some p6/ast/p5 examples in the TODO? this helps a lot to understand what I'm doing :) | 19:53 | |
19:53
Debolaz2 joined
|
|||
clkao | sure. | 19:54 | |
19:54
frederico joined
|
|||
fglock | thanks | 19:54 | |
clkao | how to do things like caller(4) rather than CALLER::CALLER::CALLER::CALLER::.. ? | 19:55 | |
19:56
pmurias joined
|
|||
fglock | clkao: maybe caller(4) works - pugs doesn't return an error for caller() | 19:57 | |
pmurias | hi, how will one define custom type systems, and what is the default one with 'use static'? | 19:58 | |
pmurias is reading TaPL | 19:59 | ||
nothingmuch | Juerd: ping | 20:00 | |
Juerd is een aardig heren. Hij is ook mooi ;) | 20:01 | ||
is that a compliment? | |||
fglock | nothingmuch: would you sanity check v6 Moose output when you have time? | 20:02 | |
nothingmuch | fglock: yes, i think i'll probably look at it before dinner tonight | 20:03 | |
fglock | thanks! | ||
clkao | fglock: 11-capture on the way | 20:08 | |
svnbot6 | r11039 | clkao++ | simple tests for binding / capture. | ||
nothingmuch | clkao: have you played with Perl::Generate yet? | ||
clkao | nothingmuch: not yet, i don't have darcs | ||
(i am lying) | |||
nothingmuch | wget -r | ||
;-) | |||
clkao | where again? | ||
nothingmuch | i can cook up a tarball | ||
clkao | url | ||
nothingmuch | nothingmuch.woobling.org/Perl-Generate/ | 20:09 | |
lambdabot | Title: "Index of /Perl-Generate" | ||
nothingmuch | =) | ||
clkao | it's not a real module | ||
Juerd | nothingmuch: It's broken syntax :) | ||
clkao | use ok "Perl::Generate::AST::Node::Var::Scalar"; | ||
you mean use_ok ? | |||
Juerd | nothingmuch: Though I think it's nice what you said. Do you know hwat you said? | ||
miyagawa | ok.pm | ||
nothingmuch | Juerd: yes, i was told it was explicitly obfuscated to not share words with english | 20:10 | |
clkao: it's BEGIN { use_ok } without the nasty syntax | 20:11 | ||
audreyt++ | |||
Juerd | nothingmuch: What do you mean, "share words"? | ||
clkao | it doesn't work for me | ||
nothingmuch | clkao: you need to install it =) | ||
Juerd: well, like heren etc | |||
clkao | ah. | ||
svnbot6 | r11040 | audreyt++ | * inlien the "use" on yapc_schedule | ||
clkao | get a real makefile.pl | 20:12 | |
Juerd | nothingmuch: Which is plural... | ||
nothingmuch | Juerd: well, it's not my fault =) | ||
it was composed by the dutch speaker next to me | 20:13 | ||
who was trying to see if i can guess my way around dutch | |||
fglock | nothingmuch: are you following p6ast.hs format? | ||
Juerd | nothingmuch: Some Dutch speaker... | ||
nothingmuch | fglock: barely | ||
she says that she was deliberately making it bad, so i won't deduct her karma points ;-) | 20:14 | ||
Juerd | nothingmuch: If you want to guess... dan ga ik toch gewoon Nederlands tegen je lullen? Makkelijk zat, dan ontdekken we snel genoeg of je er wat van snapt :) | ||
nothingmuch | since i failed the "easy" test... | ||
fglock | nothingmuch: if we both follow p6ast, we should be able to talk to each other (without cheating, I mean) | 20:15 | |
nothingmuch | fglock: okay =) | ||
Juerd: she says that you just insulted us | |||
clkao | nothingmuch: should it be renamed to Perl5::Generate? | ||
nothingmuch | clkao: uh | ||
maybe | |||
Juerd | nothingmuch: She's lying. | ||
clkao | also things are too long to type! | 20:16 | |
nothingmuch | something about finding out if we actually understand it soon enough | ||
clkao: Perl::Generate and t/99_easy.t | |||
fglock | how about Pugs::Emit::P6AST::Perl5 - this is more or less the convention we are following in the Pugs:: namespace, I think | ||
::Emit-from-to | |||
Juerd | nothingmuch: The thing is, it's hard to translate. | ||
nothingmuch | well, remember that it is not pugs specific | 20:17 | |
we need it for Moose | |||
Juerd | nothingmuch: It's something like "Then how about I just talk Dutch to you? Easy enough, and we'll discover soon enough if you understand anything of it" | ||
nothingmuch | ah | ||
Juerd | The funny thing is "lullen", which is informal and bad slang for "talk", but can also translate as penises. | ||
nothingmuch | oh | ||
that's the part she thought was insulting | 20:18 | ||
Juerd | nothingmuch: That's the turing test for "Dutch speakers" | ||
She failed :) | |||
nothingmuch | heh | ||
i'll let her know =) | |||
well, clkao is | 20:19 | ||
(she went away by now) | |||
Juerd | Only context (position in the sentence: verb versus noun) can tell which lullen it is. | ||
nothingmuch | that's a pretty evil language then | 20:20 | |
Juerd | "vliegen" means both "flies"(plural noun) and "fly"(plural verb) | ||
svnbot6 | r11041 | audreyt++ | * p6ast - thru to exp | ||
Juerd | "als achter vliegen vliegen vliegen, vliegen vliegen vliegen achterna" | ||
Which is more or less: if flies fly behind flies, then flies are in pursuit of flies. | |||
Highly contrived, but anyone'll understand it | 20:21 | ||
nothingmuch | =) | ||
well, to her credit we can say that she is not a native dutch speaker | 20:22 | ||
anyway, i think i'm going to go for a walk, and then maybe my brain will start working | 20:23 | ||
Juerd | Heh | ||
20:34
lisppaste3 joined
20:43
kane_ joined
|
|||
svnbot6 | r11042 | pmurias++ | the implementation of ruby style quoting in perl5 eq. #{$var} and #{expr} | 20:47 | |
r11042 | pmurias++ | will add Devel::LexAlias support for #{expr},and better parsing of nested {} later | |||
pmurias | fglock: wrote a basic implementation of ruby style quoting | 20:49 | |
fglock | pmurias: looking | ||
pmurias: btw, nothingmuch is writing a new emitter - see nothingmuch.woobling.org/Perl-Generate/ | 20:50 | ||
lambdabot | Title: "Index of /Perl-Generate" | ||
pmurias | seen it | ||
jabbot | pmurias: I havn't seen it, pmurias | ||
fglock | :) | ||
pmurias: cool | 20:53 | ||
pmurias | it could be turned into a paraquasiquote, using PPI for syntax checking, automatic Perl-Generate and PPI ast stringification etc. | 20:57 | |
i'll do some assorted reading and sleeping now | |||
g'night | |||
fglock | 1 result in google for 'paraquasiquote' | 21:01 | |
clkao: the parse looks right in t/11-capture.t, except for :a<foo>, which it thinks is a call | 21:10 | ||
it should pair('a','foo'), right? | 21:11 | ||
21:17
JimKraj joined
|
|||
svnbot6 | r11043 | fglock++ | v6.pm - Grammar/Term - fixed pair syntax | 21:17 | |
21:22
coumbes joined
|
|||
svnbot6 | r11044 | fglock++ | v6.pm - t/11-capture.t cleanup | 21:22 | |
r11045 | fglock++ | v6.pm - TODO update | 21:25 | ||
21:26
JimKraj joined
21:27
fglock left
21:36
putter joined,
fglock joined
|
|||
fglock | putter: hi! | 21:37 | |
putter | I'm about to send of an email, attempting to take some advantage of the Boston hackathon occurring in a city with a Perl Mongers. Like a talk(s), or a social. | ||
Hi fglock :) | |||
But I have little idea who is going to be in Boston. Anyone have any ideas? | 21:38 | ||
fglock | I'm far far away ... | 21:39 | |
putter | :) | ||
fglock | putter: did you see the v6.pm news? it's running small programs :) | 21:40 | |
21:40
Entonian joined
|
|||
putter | Neat! | 21:41 | |
could someone msg me an email address for audreyt? tnx... | 21:44 | ||
bloody spammers... :( | |||
fglock | (audreyt) at $1 dot org | 21:45 | |
later & | 21:46 | ||
putter | thanks :) | 21:47 | |
21:47
fglock left
21:49
Limbic_Region joined
21:56
JimKraj left
21:57
iblechbot joined
|
|||
nothingmuch | where might one find a table of operator precedence for perl 5 | 22:04 | |
(as code not docs) | |||
B::Deparse has them inlined in the subs =( | 22:07 | ||
putter | toke.c? | 22:23 | |
(having no idea, but quickly greping a 5.9 tree) | 22:24 | ||
and ext/B/B/Deparse.pm | 22:25 | ||
Deparse has an actual table :) | 22:27 | ||
& | 22:29 | ||
22:29
putter left
|
|||
clkao | in yapp, can I tell which rule in the current state took my token? | 22:33 | |
kolibrie made it home safely | 22:35 | ||
stevan: no flooding at my house | 22:36 | ||
nothingmuch: there is one picture I did not manage to take, could you take it for me? | |||
in the SSV stairwell, on the third floor, looking towards the tunnel around the elevated tracks | 22:37 | ||
kolibrie returns to being with his wife and children after a week away | 22:38 | ||
nothingmuch | kolibrie: yay! | 22:42 | |
center building? | |||
22:52
xdg joined
|
|||
TreyHarris | TimToady: fyi, your last edit to S05 misspelled "grammar" as "gramma" | 22:58 | |
svnbot6 | r11046 | Sage++ | <FH> now translates to $FH.readline. However, open() doesn't translate yet, so it's a bit out of place. | ||
23:04
theorbtwo joined
23:05
Bit-Man joined
23:11
ben joined
23:17
ludan joined
|
|||
pasteling | "sanug" at 216.47.133.123 pasted "Working with chromatic on new diagram for PHEME - not posted yet" (1 line, 62B) at sial.org/pbot/18126 | 23:32 | |
23:43
coumbes joined
23:51
xdg joined
23:58
weinig is now known as weinig|bbl
|