|
pugs.blogs.com | pugscode.org | pugs.kwiki.org | paste: sial.org/pbot/perl6 | <stevan> Moose... it's the new Camel ":P | .pmc == PPI source filters! Set by Alias_ on 16 March 2006. |
|||
|
00:32
weinig joined
00:54
FurnaceBoy joined
01:01
justatheory joined
01:12
justatheory joined
01:22
p5evalbot joined
01:52
frederico joined
02:34
Limbic_Region joined,
p5evalbot joined
02:41
huhlig joined
02:49
DesreveR joined
02:50
weinig is now known as weinig|out
02:54
justatheory joined
03:01
itz joined
03:11
qu1j0t3 joined
03:20
knewt joined
03:39
huhlig joined,
p5evalbot joined,
weinig|out joined,
q[uri]_ joined,
Khisanth joined,
Odin- joined,
xinming joined,
pmurias_ joined,
f0rth joined,
avar joined,
lisppaste3 joined,
PerlJam joined,
kattana_ joined,
ko1_away joined,
evalbot_9865 joined,
broquaint joined,
amv joined,
chip joined,
webmind joined,
wolverian joined,
xX[ReP]Xx joined,
chihchun joined,
merlyn joined,
buu joined,
LeTo joined,
Juerd joined,
audreyt joined,
tewk joined,
Steve_p joined,
pasteling joined,
coumbes joined
03:42
xern joined
04:20
revdiablo joined
04:52
justatheory joined
|
|||
| audreyt | so Perl 6 has the long dot to form a long tail | 05:04 | |
| audreyt ponders how to implement it | |||
| Juerd | audreyt: Change the \. rule to \.|\.\.\.\s+\. | 05:05 | |
| audreyt: Or am I thinking in too simple terms? | |||
| It's 7am here and I'm still awake, so that'd be very much possible | 05:06 | ||
| audreyt | ... ? | ||
| $x. .foo; | 05:07 | ||
| is what the spec now says | |||
| Juerd | Oh, right, it was \.+ | ||
| So $x... .foo and $x. .foo would work | |||
| Trailing ... is nicer at the end of a line, because a single . tends to not be visible enough | |||
| azuroth | humm | ||
| Juerd | $foo... | ||
| .bar() | |||
| azuroth | it _can_ have comments inside them though | ||
| Juerd | azuroth: Huh? That's wacky. | 05:08 | |
|
05:08
Khisanth joined
|
|||
| azuroth | it just says "generally whitespace." which I don't think is very... sane | 05:08 | |
| Juerd | Or do you mean normal #.*$ comments? | ||
| azuroth | no, I mean $x. comment .foo(); | ||
| Juerd | You don't mean $foo. this is a comment .bar, I hope | ||
| What the. | |||
| audreyt | I don't see "... .foo" forms anywhere in the spec. | ||
| Juerd | That's wacky | ||
| $foo... # comment | |||
| .bar | |||
| would make sense | 05:09 | ||
| audreyt | "a single dot" is what S02 now says | ||
| $x. .moose | |||
| Juerd | Oh, I see the new torrent of ugly ideas in p6l now | ||
| .# foo #. is, ew. | |||
| audreyt | S02 has | ||
| $foo .#(...) moose | |||
| azuroth | wouldn't it be $a.## foo #.foo()? | ||
| audreyt | er | ||
| $foo .#(...) .moose | 05:10 | ||
| Juerd | I thought larry settled on \.|\.+<ws>\., but apparently not. | ||
| audreyt: That's disgusting... | |||
| Oh well, I'll worry about this after sleeping | |||
| audreyt | g'nite | 05:11 | |
| Juerd | Just for the record: I think that when arbitrary constraints are too limiting to make something work, we should not only consider other (uglier) syntax, but consider also changing the constraints a little, and perhaps touch other parts of the language. | 05:12 | |
| Khisanth | a comment method? | ||
| audreyt | Duly recorded. | ||
| Juerd | nite | 05:13 | |
| afk | |||
| (Well, morning, really :P) | |||
|
05:15
knewt joined
|
|||
| arcady | it's really a quotelike noop | 05:15 | |
| azuroth | one thing I wonder: is it really necessary to have delimited comments? | ||
| arcady | all the cool languages have them | 05:16 | |
| or is the uncool ones? | |||
| azuroth | maybe it's just that the examples in the synopsis make me think it's useless. I think \.\s+\. is fine, but \.\s[^\.]+\. is pretty funky. | 05:18 | |
| kattana_ | ..late but it would be nice if you could write that without the brackets ^\. or ^. or /. | 05:45 | |
| svnbot6 | r9866 | audreyt++ | * Makefile.PL: Correctly skip the .xs perl5/ modules from | 05:53 | |
| r9866 | audreyt++ | "make" sequence. | |||
| r9867 | audreyt++ | * Support for multiline comments (currently only bracket as delimiters): | 05:56 | ||
| r9867 | audreyt++ | say .#[ | |||
| r9867 | audreyt++ | this is | |||
| r9867 | audreyt++ | multiline | |||
| r9867 | audreyt++ | comment | |||
| r9867 | audreyt++ | ] "Hello"; | |||
| audreyt paises parsec fo builtin support (that patch was just two lines) | 05:57 | ||
| now to figure out balancing delim | |||
| azuroth | macro goatlike($a) is parsed/\.#<balance>/ {}; rule balance { \< <balance>* \> | \( <balance>* \) | .* } # maybe? :x | 06:01 | |
| (of course w/ .* done more sensibly) | 06:03 | ||
| oh duh, never mind. | 06:04 | ||
| audreyt | ...implemented | 06:06 | |
| azuroth | :-) | 06:08 | |
| gaal | heh. | 06:09 | |
| audreyt | gugod++ # excellent delivery of a takahashi talk | ||
| svnbot6 | r9868 | audreyt++ | * Lexer: Handle arbitrarily nested comment intoduces. | ||
| audreyt | > file.txt find . -name '.....' .... | 06:10 | |
| never knew that redirection can be prefix | |||
| that will keep my left key from being worn out | |||
|
06:20
nothing_pasta joined
06:44
xern is now known as henearkrxern
06:58
integral joined
|
|||
| gaal | audreyt: it also decreases wear on the characters 'c', 'a', and 't'. | 07:03 | |
| gaal notices the word 'shift' was implicit in audreyt's remark and wonders if it was, uh, reduced | 07:04 | ||
| nothing_pasta | yay! my computer is ready for pickup | 07:24 | |
|
07:44
bsb joined
08:02
KingDiamond joined
08:11
xX[ReP]Xx is now known as rep
08:12
rep is now known as reppie,
reppie is now known as reffie,
reffie is now known as xX[ReP]Xx
08:31
wilx joined
08:37
KingDiamond joined
08:46
ghenry joined
09:04
q[uri] joined
09:07
chris2 joined
09:20
xinming joined
09:29
bsb_ joined,
bsb_ left
09:31
david_ joined
09:52
KingDiamond joined
|
|||
| meppl | guten morgen | 10:06 | |
| azuroth | good mutant | 10:08 | |
| nothing_pasta wonders which mutants are cooler | 10:20 | ||
| xmen-esque or the teenage nija turtle variety | |||
| *ninja | |||
| i mean, obviously ninjas must count for something | |||
| but ninjas are so cool because they're silent and deadly and stuff | |||
| and those turtles are pretty lame as far as style goes | |||
| what with the shouting and the dumb costumes and stuff | 10:21 | ||
| otoh the xmen types don't even pretend to be ninjas | |||
| i personally don't like pretence, so I think i'll go with the xmen mutants | 10:22 | ||
|
10:44
elmex joined
|
|||
| azuroth | but the turtles can /paint/ too | 10:50 | |
| nothing_pasta | azuroth: that's only if they secretly understand LISP with a different syntax | 10:56 | |
| azuroth | haha. | 10:58 | |
| cognominal | newyorker++ | 11:10 | |
| oops | 11:11 | ||
| azuroth | ... | ||
|
11:41
bsb joined
|
|||
| gaal | nothing_pasta: also say "found: {whatever grep ... }" | 11:50 | |
| gaal is reminded of @{[]} in p5 | |||
| nothing_pasta | gaal: ? | 11:51 | |
| gaal: wrt the mail? | |||
| see, "whatever" is the worst bareword we can use for this =) | 11:52 | ||
| but yeah | |||
| we need something like the goatse operator | |||
| maybe *: | |||
| gaal | "beh" | ||
| azuroth | goatse operator...? | ||
| gaal | azuroth: $count = () = m// | 11:53 | |
| please do not follow up on the etymology of that | |||
| azuroth: "I want your unspecial scalar cast", or, the length of what you'd return in list context | 11:54 | ||
| azuroth | hmm, interesting | 11:55 | |
| nothing_pasta | =()= is more ilke it =) | 11:59 | |
|
12:10
david__ joined
|
|||
| gaal | nothing_pasta: yesbutitdoesn'tmatterthatmuchdoesit? | 12:13 | |
|
12:25
larsen joined
13:21
elmex joined
13:39
david_ joined
13:45
lichtkind joined
|
|||
| lichtkind | hello monks please tell me how i force the int context | 13:45 | |
| and wheres the difference | 13:46 | ||
| avar | int() | 13:50 | |
| gaal: I like writing it as "=()=" | 13:51 | ||
| closer to its etymological roots;) | |||
| lichtkind | but on the op level no difference? | 13:53 | |
| thx | |||
|
13:59
rindolf joined
|
|||
| rindolf | Hi all! | 13:59 | |
| TimToady: here? | |||
| lichtkind | could me please somebody answer my question ? | 14:02 | |
| hi rindolf | |||
| gaal | lichtkind: afaik there isn't an "int context". but there is numerical context; you force it with prefix + | 14:07 | |
| rindolf: you pang? (the other day) | |||
| lichtkind | gaal yes that i know but in the ram book they write also about a Numeric context , is it gone? | 14:08 | |
| gaal | like I said, numeric[al] context with + | 14:10 | |
| ?eval +"this is a number" | |||
|
14:10
evalbot_9865 is now known as evalbot_9868
|
|||
| evalbot_9868 | 0.0 | 14:10 | |
| gaal | ?eval +"42 is the answer" | ||
| evalbot_9868 | 42.0 | ||
| avar | gaal: The pseudoop to force int is int() | 14:13 | |
| lichtkind | ?eval 1.1 +< 1 | ||
| avar | ?eval int("42 is the answer") | ||
| evalbot_9868 | 2 | ||
| 42 | 14:14 | ||
| gaal | pseudoop? that looks like a function to me | ||
| lichtkind | no that was valid | ||
| is this bot on pugs? | |||
| avar | yeah, very strong pugs | ||
| lichtkind | cool a bit slow but very cool | ||
| avar | gaal: I meant it's listed in the synopsis as the stuff to get int just like + gets num and ~ get str | 14:15 | |
| lichtkind | i know | ||
| gaal | oh? cool, I didn't know that, thanks. | ||
| lichtkind | sorry | ||
| im writing tutorial | |||
| the only thing im argue with is this context | |||
| there is nothuing about anywhere | 14:16 | ||
| it seems that numerix context is forced by [+-*/%] | |||
| or such | |||
| so you also know nothing special about it ? | 14:17 | ||
| rindolf | gaal: yes | 14:19 | |
| gaal: happy Passover! | |||
| gaal | rindolf: uh, thanks | 14:20 | |
| lichtkind | ?eval 3.3 + 3 | 14:21 | |
| evalbot_9868 | 63/10 | ||
| xinming | ... | ||
| lichtkind | strange | ||
| avar | what? That's perfectly valid) | 14:22 | |
| gaal | lichtkind: that's a Rat (rational) | ||
| avar | evalbot_9868: sprintf "%f", 3.3+3 | ||
| arg | |||
| ?eval sprintf "%f", 3.3+3 | |||
| evalbot_9868 | \"6.3" | ||
| avar | ?eval: "Three point three plus three is {3.3 + 3}" | 14:23 | |
| ?eval "Three point three plus three is {3.3 + 3}" | |||
| evalbot_9868 | Error: unexpected ":" expecting program | ||
| "Three point three plus three is 6.3" | |||
| avar | why is it so horridly slow? | ||
| gaal | unniced ghc on feather maybe? | 14:24 | |
| gaal looks | |||
| no obvious thing that isn't nice, but there is a pugs that looks busy | 14:26 | ||
| ah, it's a smoke run, which explains why it isn't one long-lived pugs | 14:33 | ||
| Juerd | I'm not very happy with the darcs on feather. It feels like a terrible waste of CPU cycles. It's niced heavily, but I can't but think it impacts performance anyway. | 14:45 | |
|
14:58
kanru joined
15:02
nothingmuch joined
15:04
ruoso joined
15:06
Southen_ joined
|
|||
| Ontolog | Is it done yet? | 15:48 | |
|
16:18
justatheory joined
16:35
Khisanth joined
16:42
Trojan_Horse joined
|
|||
| Trojan_Horse | hi to all | 16:43 | |
| m totally new to perl though hav a gud programming background............... can anybody suggest me an exhaustive tutorial on perl dat starts frm scratch for a newbee like me | 16:45 | ||
| Gothmog_ | learn.perl.org | 16:48 | |
| But that's about Perl5, not Perl6. | 16:49 | ||
| Trojan_Horse | okey | 16:56 | |
|
16:56
shamu joined
|
|||
| Trojan_Horse | so wat abt perl6 | 16:56 | |
| shamu | I don't suppose anyone's on who can edit the perl6 docs? | 16:59 | |
|
17:00
kane_ joined
|
|||
| shamu | or answer a question about them | 17:00 | |
| Toaster | shamu: ask anyway - i'm sure people are around, just lurking | 17:08 | |
| only (@larry, $audrey, @few_others) have svn access to update the docs, afaik | 17:09 | ||
| (but then again, i'm just a kitchen appliance) | |||
|
22:05
ilogger2 joined
22:32
sandrina_l joined
22:39
shamu joined
22:44
shamu joined
|
|||
| svnbot6 | r9872 | fglock++ | PC-Tokenizer - added 'term'; all specification is done in plain p6 rules, with hash dispatch | 22:49 | |
|
22:51
mako132_ joined
23:07
dduncan joined
23:13
justatheory joined
23:27
rashakil joined
23:32
Quell joined,
jdrago joined
|
|||
| jdrago | I have a couple questions about perl6 if anyone has a sec | 23:43 | |
| specifically about Pugs | 23:44 | ||
| ayrnieu | ask them. | ||
| jdrago | Is there some kind of roadmap available online that shows when certain features will be implemented? | ||
| I'm wondering about type-checking | 23:45 | ||
| and threading | |||
| and delegatiopn | |||
| I don't know Haskell but if there's anything I could do to contribute, that would be good too | |||
| shamu | are those things fully designed yet? | 23:46 | |
|
23:47
hlen joined
|
|||
| shamu | (i.e., what the functionality and interface will be)? | 23:47 | |
| jdrago | the tests exist, and pugs doesn't throw errors when parsing the syntax, but it didn't seem to work on Windows | ||
| (I'm refering to delegation) | 23:48 | ||
| as far as threading, I don't know if threading has been worked out from a design perspective yet | |||
| shamu | yeah, you got me ... I have a lot of trouble understanding the language-design-speak on the summary lists, and even have a bit of trouble making my way through the exegeses and synopses | 23:49 | |
| jdrago | I see here ( www.codecomments.com/archive416-200...49292.html ) that threading had not been completely worked out as of Jan 2006 | 23:50 | |
| I suppose I'll have to fdo some searching under the name "Dan Sugalski" +threading | 23:57 | ||
|
23:59
FurnaceBoy_ joined,
justatheory joined
|
|||