pugscode.org/ | nopaste: sial.org/pbot/perl6 | ?eval [~] <m oo se> | We do Haskell, too | > reverse . show $ foldl1 (*) [1..4] | irclog: irc.pugscode.org/
Set by diakopter on 11 July 2007.
00:05 theorb joined 00:13 hakobe is now known as hkb_aw 00:18 theorbtwo left 00:24 justatheory joined 00:30 kanru left 00:33 dduncan joined 00:34 justatheory left 00:36 thestarslookdown joined 00:43 weinig left 01:11 idiotmax left 01:16 thestarslookdown left 01:41 agentzh joined 01:51 araujo joined 02:13 weinig joined, weinig left 02:14 weinig joined 02:27 ryporter left 02:39 tflorez joined 02:40 hkb_aw is now known as hkb_507 02:41 Helios- left, Helios- joined 02:42 nelhage left, spinclad left, nelhage joined 02:43 spinclad joined 02:45 amnesiac left 03:02 dduncan left 03:03 toshinori joined 03:05 elmex_ joined 03:17 [particle1 left 03:19 elmex left 03:24 idiotmax joined 03:25 [particle] joined 03:26 jisom joined 03:38 c9s joined 03:43 jisom_ left 04:48 dduncan joined 05:02 daxim joined 05:12 xinming_1 joined 05:30 c9s left, xinming left 05:36 elmex_ left 05:37 elmex joined 05:40 amnesiac joined
moritz_ moin 05:44
pugs_svnbot r17874 | moritz++ | cross-metaop.t: removed redundant, broken smartlink
diff: dev.pugscode.org/changeset/17874
lambdabot Title: Changeset 17874 - Pugs - Trac
pugs_svnbot r17875 | moritz++ | fixed smartlink in t/regex/from_perl6_rules/qinterp.t 05:47
diff: dev.pugscode.org/changeset/17875
lambdabot Title: Changeset 17875 - Pugs - Trac
moritz_ the last two tests with broken smartlinks need more looking at
05:53 pyer joined 05:54 pyer left 05:55 IllvilJa joined 05:59 devogon joined 06:07 hkb_507 is now known as hkb_aw 06:10 pdcawley joined 06:11 pdcawley left, pdcawley joined 06:12 Aankhen`` joined 06:40 BinGOs joined 06:42 jisom left 06:43 nipotaway is now known as nipotan 06:54 nipotan is now known as nipotaway
moritz_ @seen ferreira 07:00
lambdabot I saw ferreira leaving #perl6 2d 10h 41m 58s ago, and .
07:10 amnesiac left 07:26 daxim left 07:39 dduncan left 07:41 the_dormant joined 07:46 iblechbot joined 08:00 cognominal_ left 08:01 cognominal_ joined 08:02 cognominal_ left 08:09 franck___ joined 08:10 integral left 08:11 jisom joined 08:14 the_dormant left 08:37 autark joined
pugs_svnbot r17876 | moritz++ | ext/Recurrence: removed unneccessary skip in t/recurrence-grep.t 08:45
diff: dev.pugscode.org/changeset/17876
lambdabot Title: Changeset 17876 - Pugs - Trac
08:47 drupek12102 left 08:50 andara joined 09:02 hkb_aw is now known as hkb_SMZ 09:04 ruoso joined 09:09 drupek12102 joined 09:11 IllvilJa left 09:14 autark left 09:18 riffraff joined 09:22 jisom left 09:26 drrho joined 09:40 drupek12102 left 09:43 Psyche^ joined 09:48 IllvilJa joined, cognominal_ joined, rfordinal_ is now known as rfordinal 09:49 cognominal__ joined 09:50 cognominal_ left 09:56 Patterner left, Psyche^ is now known as Patterner 09:58 IllvilJa left, pdcawley left 10:00 Blwood joined 10:17 riffraff left 10:18 ahmadz joined
ahmadz hi all 10:19
moritz_ hi ahmadz
ahmadz feather3.perl6.nl/runpugs/ ;-) 10:20
lambdabot Title: Run Perl 6 Now -- in your browser!
10:20 cognominal__ left
moritz_ Sorry, the pugs server is not running. 10:21
ahmadz try again... i restarted it
moritz_ it appears to have problems with control chars 10:22
I entered 'my @a = <foo bar 1 2 3>' and hit return...
what I got is this: 10:23
pugs>
pugs> my
pugs>
even the input line disappeared from the terminal
ahmadz hmmm
moritz_ tested with firefox 2.0.0.something on linux
ahmadz let me check
feather.perl6.nl:8096/runpugs/ 10:24
pugs_svnbot r17877 | fglock++ | [kp6] token-sym clean up
diff: dev.pugscode.org/changeset/17877
lambdabot Title: Run Perl 6 Now -- in your browser!
Title: Changeset 17877 - Pugs - Trac
ahmadz feather3 seems to have a configuration issue with IO::Pty
feather.perl6.nl is working correctly 10:25
pugs_svnbot r17878 | fglock++ | [kp6] added multi token test
diff: dev.pugscode.org/changeset/17878
lambdabot Title: Changeset 17878 - Pugs - Trac
ahmadz moritz: ah html escaping problem
moritz: after ironing out these bugs, i should work on the tutorial part... 10:27
moritz_ ahmadz: perl 6 or runpugs tutorial? or combined? 10:30
ahmadz im thinking of using jnthn.net/papers/2007-ukuug-perl6pr...slides.pdf as a basis for the examples for the tutorial
moritz: perl6 tutorial
moritz: along with a brief runpugs/pugs command features... 10:31
moritz_ ahmadz: great idea
10:31 cognominal_ joined
ahmadz any ideas are welcome on runpugs 10:32
moritz_ kp6 backend - but you know that idea ;)
Juerd ahmadz: Shall I ask Audrey to point run.pugscode.org to feather3?
ahmadz juerd: hi, no not yet... we're having problems running it on feather3 10:34
moritz_: cool, we have been discussing it with andara, and i think we can extend runpugs to run kp6 10:35
Juerd ahmadz:
ahmadz: Anything I could help with?
ahmadz juerd: it seems to a bug in IO::Pty, andara mentioned it was a race condition 10:36
juerd: slow down the machine? ;-)
Juerd Haha :)
moritz_ LOL
Juerd I could give it 64 MB of RAM so it'd have to swap all the time
But it's already down to 1 out of 2 CPUs, and I can't make it any slower cpu-wise :) 10:37
ahmadz andara will look at it meanwhile i will iron out the remaining ui bugs... im targeting thursday as a final release date. 10:38
10:54 Blwood left
pugs_svnbot r17879 | azawawi++ | [runpugs] added 'fix html escaping' reported by moritz my @a = <foo 1 2 3> 10:58
diff: dev.pugscode.org/changeset/17879
lambdabot Title: Changeset 17879 - Pugs - Trac
11:10 devogon_ joined, riffraff joined 11:11 rutlov joined 11:17 pdcawley joined 11:20 rutlov left 11:29 ahmadz left
pugs_svnbot r17880 | fglock++ | [kp6] multi token ident:string {...} 11:30
diff: dev.pugscode.org/changeset/17880
11:35 fglock joined 11:36 Blwood joined 11:37 ahmadz joined 11:39 ahmadz left 11:49 drupek12102 joined 11:57 franck___ left 12:00 franck___ joined, pdcawley left 12:01 theorbtwo joined 12:08 zomgb00bie left 12:12 kanru joined 12:13 pdcawley joined 12:14 theorb left, drrho left 12:18 Blwood_ joined 12:21 cognominal_ left, Blwood__ joined 12:22 devogon_ left 12:27 pdcawley left 12:32 Psyche^ joined 12:34 cognominal_ joined, pdcawley joined 12:35 Blwood left, HiTech69 joined 12:37 Blwood_ left 12:42 PerlJam left 12:43 devogon left, devogon joined 12:47 Patterner left, Psyche^ is now known as Patterner 12:57 cmarcelo joined 13:03 pdcawley left 13:18 riffraff left, drrho joined 13:21 kanru left 13:22 cognominal_ left
fglock i'm confused with the meanings of variables within a regex 13:22
how do i get to the string being matched 13:23
13:23 polettix joined 13:27 TJCRI joined, pdcawley joined 13:33 pdcawley left 13:34 agentzh left 13:35 jhorwitz joined
fglock Cursor.pm seems to imply that the string being matched is $_.orig 13:41
13:43 pdcawley joined 13:46 [particle] left 13:53 [particle] joined 13:58 pdcawley left 14:06 amnesiac joined 14:10 integral joined
pugs_svnbot r17881 | fglock++ | [kp6] more Pair syntax sugar 14:16
diff: dev.pugscode.org/changeset/17881
14:16 cognominal_ joined 14:20 buetow joined 14:26 buetow left
pugs_svnbot r17882 | fglock++ | [kp6] dollar-cent is a valid identifier 14:35
diff: dev.pugscode.org/changeset/17882
14:36 c9s joined 14:44 kanru joined
pugs_svnbot r17883 | fglock++ | [kp6] multi token supports french quotes 15:00
diff: dev.pugscode.org/changeset/17883
moritz_ fglock: so are you parsing the inpt files consistently as unicode? 15:01
15:03 polettix left
fglock moritz_: it seems to work 15:08
moritz_ cool
and from the sym multis in grammars I gather that you are slowly adapting STD code? 15:09
fglock see t/kp6/56-token-sym.t
moritz_ looks 15:10
fglock i'm trying to - there are some things in the new regexes that i don't understand yet
moritz_ like what? 15:11
fglock the calling convention - like, where is the starting position specified 15:12
15:13 vel joined
moritz_ you mean in subrules, or when TOP is matched? 15:13
TOP is a token, so implicitly anchored to ^
15:21 drupek12102 left 15:22 fglock_ joined
fglock_ moritz_: in subrules 15:23
moritz_ fglock_: they are always implicitly anchored to where the calling rule left off 15:24
so m/foo<bar>/ will match foo first, set .pos on $_ and call subrule bar
that is implicitly anchored to .pos
fglock_ there was some talk about .pos being deprecated 15:25
moritz_ fglock_: the biggest change iirc is that the regex remembers the position, not the string 15:27
or in terms of variables, it's $/.to 15:28
TimToady the fundamental is that there is no single $_ that is continually being mutated
moritz_ TimToady to the rescue ;)
TimToady vaguely
coffee is still brewing so ignore half of what I say 15:29
amnesiac hah
moritz_ "Within a closure, the instantaneous position within the search is denoted by the .pos method on that object."
is this true for subrules as well?
Kattana which half?
TimToady this half
15:30 fglock left
fglock_ i'm translating regexes to plain methods 15:30
TimToady when you have a partial result in a logic program, if you want your logic program to be parallelizable, you can't store that partial result in a mutating variable
I am also tranlating regexes to plain methods
fglock_ how does a method that matches a simple constant looks like 15:31
TimToady: should i reuse your code? :)
TimToady it's still mutating
but hang on and I'll send an example 15:32
fglock_ TimToady++
pasteling "TimToady" at 71.139.49.56 pasted "token { 'a' }" (10 lines, 191B) at sial.org/pbot/27526
TimToady at the moment current "cursor" is in $Ā¢ 15:33
that happens to be self at the top of the method, but each closure within the method gets its own copy of $Ā¢
because in theory different parts of it can be "in flight" simultaneously 15:34
(though generally not in a ratchet grammar)
if you want to see more complicated things, "cheat STD.pm | metholate >std" 15:35
fglock_ i've been using self as the current grammar
TimToady it's also that, but I decided that the current grammar could derive from Cursor, which is the current parser state 15:36
so a method call can be calling either into Perl or into Curso
it seemed to simplify things
so I don't have to pass parser state separately from the parser 15:37
before that my self was pretty much just a static object that never changed
(unless you changed the grammar)
my current goal is to work out the longest token semantics 15:38
and make each of these methods actually return a list of longest tokens and actions to take on them.
they can then be composed at any point into a lexer
but that means the methods themselves are really metamethods part of the time 15:39
and at the moment I'm looking at swapping in a different PreCursor class to actually do the meta calculations with the same exact body 15:40
this seems to be the part that nobody else is working on, so I should work on it 15:41
it's also arguably the core of what makes Perl 6 Perl 6 15:43
(the ability to mutate your grammar cleanly and efficiently on the fly) 15:44
15:44 pdcawley joined
pugs_svnbot r17884 | azawawi++ | [runpugs] fixed html escaping problem (my @a = <foo 1 2 3>) 15:44
r17884 | azawawi++ | [runpugs] fixed prompt not being taken from server
r17884 | azawawi++ | [runpugs] fixed duplicate prompt
r17884 | azawawi++ | [runpugs] updated html/css for cross-browser compatibility
diff: dev.pugscode.org/changeset/17884
fglock_ svn.pugscode.org/pugs/v6/v6-KindaPe...6/Multi.pm
my impl of "multi token" 15:45
15:45 dwave left, [particle1 joined, dwave joined
fglock_ add_token_variant() adds "sym" routines 15:46
TimToady seems to assume you know the token length in advance
S05 does not define tokens such that you can always know their length in advance 15:47
fglock_ i see
TimToady usually you can, so one could fake DFA semantics by keeping two tables 15:48
one of static lengths and one of dynamic
but you'd have to run all the dynamic ones to see how they compare to the static
depending on the mix that might be more space efficient than DFA
but probably not more time efficient 15:49
perhaps one could traverse a trie of static tokens in parallel with stepping through a DFA 15:50
any of these ways would probably work okay, given that most dynamic tokens would fail near the beginning, not matching <alpha> for instance in the case of identifiers 15:52
anyway, that's why I'm working on that part of it. :)
it's not something to be terribly worried about in a bootstrap, but when we actually get to where we're doing it all, this needs to be part of it 15:53
15:55 [particle] left
fglock_ i'm working on merging STD into kp6 - is there a particular feature that you'd recommend implementing first? 15:56
re two tables, that seems doable 15:59
TimToady can you do gather/take lazily? 16:02
fglock_ S05 seems to imply that sigil:sym<$> is fixed-length
i can try :)
TimToady if so, then you can do nonratchet intermixed with ratchet
kept running into pugs bugs when I tried prototyping that
fglock_ would you have a pointer to a small test case 16:03
TimToady sym is a way of specifying the identifier of some tokens and later some operator names, but it's not the definition of longest token
if the rule says "<sym> 'bar'" then the token would be $bar (at least) 16:04
it's basically everything DFAable up to <ws> or ::
sec... 16:05
it basically includes any assertions even if they might have to be checked after the DFA is done, but leaves out anything with side effects, such as {*} and friends 16:07
so the DFA yields a list of candidates from longest to shortest, and the closure we call may say "I didn't really match", and then we have to try the next-longest DFA match instead. 16:09
pugs_svnbot r17885 | fglock++ | [kp6] added "fixme" to Multi.add_token_variant()
diff: dev.pugscode.org/changeset/17885
TimToady most of those action closures can just start up where the DFA left off 16:10
but some of them will need to reparse the token
to apply any additional constraints that the DFA can't check 16:11
or to capture bits of it
that's all part of what I'm trying to figure out
by the way, the current metholate does not assume ratcheting at all, except to apply .[0] to the gathered list of candidates. much more could be done there, but I think it would be a premature optimization 16:14
16:14 andara left
fglock_ re lazy gather, i think it's doable 16:14
TimToady in any case, having bounced several attempts at ratcheting off of pugs, I've given it up as a bad job till we implement "andthen" :) 16:15
fglock_ it would be good to have a test - i'm looking at t/statements/gather.t
TimToady run a simple sequence through metholate and you'll get a bunch of nested gather/takes; might make a good test 16:16
fglock_ k
wolverian hm.. what will we call the stm orElse now that it's taken? :)
TimToady it's already named "maybe" 16:17
and it's a block prefix, not a separator
you can string a bunch of maybe blocks in a row
wolverian oh... dammit, I knew that! :)
is it specced? 16:18
16:18 drupek12102 joined
TimToady don't think so, though "contend" is mentioned in S04 16:19
wolverian okay, thanks.
TimToady it's one of those things that should find its way into the concurrency spec
wolverian yeah, it's just not on spec.pugscode.org, which is what I check first 16:20
wolverian needs more time for pugs
TimToady needs more time for everything
actually, it's already in Concurrency.pod 16:22
so it's kinda specced
kolibrie looks in Concurrency.pod for more time
TimToady keep handing out those commit bits...
biab & 16:23
16:23 weinig left 16:25 baest left
fglock_ hmm - is there a way to kill a perl5 thread? i miht need this in case @a = gather {...} and @a is destroyed 16:26
might
ruoso fglock_, does the ast in kp6 contains line number information? 16:27
fglock_ no 16:28
ruoso it's starting to be KindaHard to debug kp6 without that
16:28 HiTech69 left 16:32 franck___ left
ruoso fglock_, what's needed to implement { return ::Foo( a => b) } inside rules 16:39
? 16:40
16:40 pdcawley left
fglock_ ruoso: it should work already; needs some debugging 16:40
ruoso fglock_, the tests still fail 16:41
fglock_ kp6 already has named parameters, it should be possible to fix .new 16:42
16:42 rindolf joined
fglock_ and use Foo.new( a => b ) 16:42
16:44 pmurias joined
pmurias hi 16:44
16:44 justatheory joined 16:45 hoelzro joined
ruoso fglock_, tests grammar/08 and 09 tests that 16:46
and both fail
pmurias, hi
pmurias, echo 'die' | perl -Ilib-kp6-kp6-p5 kp6-kp6.pl
some clue?
some value of some scalar have a perl5 1 instead of a ::Int 1
the problem is how to find out where? 16:47
fglock_, what is the auto_deref thing?
fglock_ it tells for() whether to interpolate @array, and not $scalar 16:48
ruoso who sets it?
16:48 ahmadz joined
fglock_ it is a role in the Array/Hash class 16:49
in MOP.pm
16:49 shriphani joined, weinig joined
ruoso hmhmm 16:49
16:50 shriphani left
ruoso for some reason a plain Scalar with a value of "1" has this 16:50
in kp6-kp6
pmurias maybe some perl5 component "leaks" perl5 values 16:51
ruoso pmurias, I think it's in the closure of Rule::Block 16:54
pugs_svnbot r17886 | fglock++ | [kp6] investigating lazy gather/take 16:55
diff: dev.pugscode.org/changeset/17886
16:55 c9s left
ruoso pmurias, it's probably using the last statement from some closure 16:55
which returns 1 16:56
gah...
::DISPATCH( $COMPILER::Code_add_pad, 'APPLY', $Class_name ); 16:58
this is the line that returns a p5 1
17:01 barney joined
ruoso hmmm 17:02
Perl5/Array.pm unshift was returning 1 instead of ::Int 1 17:03
pmurias push makes the same mistake 17:05
pmurias is thinking of making a Carp which would serialise perl6 values properly
ruoso pmurias, I've just fixed both 17:06
interesting is that now I get a Syntax Error... 17:07
:)
that should be a good sign 17:08
pmurias ruoso: do you think perl5 values are a common enough problem to add (optional) automatic detection of them?
ruoso pmurias, it already detects it 17:09
pugs_svnbot r17887 | fglock++ | [kp6] gather TODO list
r17888 | ruoso++ | [kp6] Perl5::Array unshift/push were returning plain p5 scalar. fixed
diff: dev.pugscode.org/changeset/17888
17:09 hoelzro left
ruoso pmurias, the message isn't that helpfull 17:10
but I'm not sure it can ebe
17:11 dakkar joined 17:12 xinming_1 is now known as xinming
pmurias ruoso: if we can extract the helpfull information 17:17
or if any information croak could return would be usefull? 17:18
17:18 drrho left
ruoso pmurias, fglock_, take a look at this new test I've just submitted 17:19
17:21 jjore-w left, lambdabot left
pugs_svnbot r17889 | ruoso++ | [kp6] new failing test: code inside rule always return, even if it did not explicitly return 17:21
diff: dev.pugscode.org/changeset/17889
17:22 lambdabot joined
pmurias ruoso: i know the problem 17:24
there used to be a return 'stange value' prepended inside code clousres in rules
TimToady fglock_: actually, I doubt that we'll get a viable implementation of gather/take from ithreads--too heavy 17:25
ruoso pmurias, yep... I remember that 17:26
TimToady note that we changed "return" to "make" last week, and the semantics just now set the return value, but don't halt parsing
fglock_ hmm
ruoso pmurias, are you putting that again?
fglock_, TimToady, I'm not sure you have that much to gain from parallel executing right now... we can already use make -j to speed as possible
and we're talking mostly about 2 cpu machines at most 17:27
for the currenct scenario
TimToady I'm not talking about practice, but about theory :)
ruoso ah
ok
TimToady, about the s/return/make/... I think we probably will stick with return... at least until we bootstrap kp6.... 17:28
fglock_ ruoso: laziness is only meant for non-infinite loops, mostly
ruoso or else we would need to change mp6 too...
TimToady don't you have to handle "return" specially anyway? 17:29
it can't really be a return
ruoso TimToady, yep... but we use mp6 to compile kp6's grammar right now
we would need to modify mp6 to support that change
when we bootstrap kp6 17:30
we will refactor the entire compiler
TimToady *nod*
ruoso using the features that are already available in kp6, but are not available in mp6
fglock_ ruoso: we can tell mp6 to use [ return | make ]
pmurias make works differently
ruoso actually, that's why I think it's so important to bootstrap ASAP... 17:31
pmurias although i don't think mp6 depends on return ending the rule 17:33
ruoso kp6 depends on mp6 doing that
and that's why kp6-kp6 is failing right now
because mp6 does, but kp6 doesn't 17:34
. o O (geez... that kpmsp6 is confusing)
pmurias ruoso: it's the other way around 17:35
ruoso nope...
mp6 is the compiler for Grammar
when the grammar is compiled by kp6
pmurias yes 17:36
ruoso it fails because of that
pmurias kp6 depends on mp6 not ending the rule on a closure without a return
is what i mean
ruoso ah... ok 17:37
fglock_ i've got an old implementation of yield() somewhere, that doesn't use threads - i'll try to find it
ruoso pmurias, so, do you know how to fix that? 17:38
pugs_svnbot r17890 | azawawi++ | [runpugs] show "Please wait" message now works on FF2,IE7,Opera
r17890 | azawawi++ | [runpugs] hidden iframe is loaded after document is ready (faster page load)
diff: dev.pugscode.org/changeset/17890
lambdabot Title: Changeset 17890 - Pugs - Trac
pmurias ruoso: doing it right now ;) 17:39
ruoso :)
pmurias the long compiles help to catch up with irc ;) 17:40
*catching
ruoso home &
try to run kp6-kp6 when you finish 17:41
pmurias, ^
TimToady fglock_: finally backlogged, did your question about current position get answered?
ruoso pmurias, like: echo 'say "Hello World"' | perl -Ilib-kp6-kp6-p5 kp6-kp6.pl
17:42 ruoso left
pmurias make is overzelous 17:42
fglock_ TimToady: i think so, current position is stored in an instance of Cursor, which inherits from the current grammar
pmurias * zealous
TimToady basically, all that information (both current position, and which string it points into) must come through Cursor or we lose any hope of multithreading 17:43
fglock_ TimToady: ok
home too &
TimToady bye &
17:44 PerlJam joined
TimToady actually, current grammar inherits from Cursor because Perl inherits from Cursor 17:45
17:52 kyrbe joined, kyrbe left 17:55 Psyche^ joined, ahmadz_ joined 17:57 daxim joined 17:58 ferreira joined
ferreira moritz_: hi 17:59
lambdabot ferreira: You have 1 new message. '/msg lambdabot @messages' to read it.
ferreira @messages
lambdabot TimToady said 6d 20h 8m 24s ago: pugs does not yet implement Range objects, nor does it really treat * as anything other than Inf, so 0..* is pretty much doomed at the moment
ferreira I just wrote something about the microgrant to write micro-articles on Perl 6 operators: use.perl.org/~ferreira/journal/34473 18:01
lambdabot Title: Journal of ferreira (5993)
ferreira Is there someone willing to read the one about the zip operator: ferreira.nfshost.com/perl6/zip.html 18:02
lambdabot Title: Yet Another Perl 6 Operator: Zip
PerlJam ferreira++ btw 18:03
pugs_svnbot r17891 | pmurias++ | [kp6]: fixed closures in rules withought return
diff: dev.pugscode.org/changeset/17891
lambdabot Title: Changeset 17891 - Pugs - Trac
PerlJam ferreira: How much did you ask for in your grant? I was thinking of submitting an article on perl 6 regex as a TPF microgrant but I really have no clue what to ask for. 18:04
ferreira Well, I did not say how much. I believe each microgrant is $500 and that's what I am assuming. 18:05
PerlJam oh really? 18:06
ferreira That's what I infered from: www.nntp.perl.org/group/perl.perl5....22448.html
lambdabot Title: Perl 6 Microgrants. Now accepting proposals. - nntp.perl.org, tinyurl.com/2bjsdl
ferreira and the microgrants that were accepted until now.
PerlJam I thought it was like any other TPF grant where you *must* specify the amount or it would be rejected. 18:07
no having to make that decision makes the idea of proposing something much easier :)
s/no/not/
ferreira I don't think so. In the presentation of the project, it says: "We'll be making USD500 grants" 18:08
18:08 ahmadz left
[particle1 yep, there's 10 USD500 microgrants 18:09
18:09 [particle1 is now known as [particle]
PerlJam Well, I should write my proposal then :-) 18:09
ferreira Go for it! See the last paragraph of www.perlfoundation.org/july_5th_200...icrogrants 18:12
lambdabot tinyurl.com/37fnew
18:12 Patterner left, Psyche^ is now known as Patterner
PerlJam ferreira: thanks. 18:12
18:13 IllvilJa joined
PerlJam ferreira: did you need reviewers of your articles or you just want people to read them in general? :) 18:13
ferreira Reviewers indeed ;-) I need to learn a lot for catching up with Perl 6 18:14
ahmadz_ feather3.perl6.nl/runpugs/
lambdabot Title: Run Perl 6 Now -- in your browser!
ferreira For example, by now I want a statement to use (from Perl 6) a Perl 5 module and import a sub from it. 18:15
PerlJam ferreira: your eq_array() subroutine it buggy. 18:17
ferreira Ok. What's wrong?
PerlJam "return False if $x eq $y"
s/eq/ne/
:)
also, that's just string comparison. 18:18
you may want to use eqv
(or whatever it's called)
18:18 c9s joined
ferreira ha ha. Maybe I should rename it to neq_array ;-) 18:18
18:19 kjwcode joined
PerlJam Equivalence operators should get an article of their own early on IMHO 18:19
ferreira: And I think it's just use "perl5:Lingua::EN::Numbers"; But that may just a be a pugsism rather than a perl6ism. 18:20
18:20 jisom joined
PerlJam ferreira: I *Really* like your disclaimers 18:21
ferreira Well, I am not seriously concerned about not using non-introduced operators. For example, ~~ will be used
18:21 sonmez joined
PerlJam ferreira: I realize that, I just think that there will be confusion about ==, =:=, eq, eqv, and whatever other equivalence operators there are :) 18:21
(and I tend to think that those things with a high chance of confusion should be covered early and well) 18:22
ferreira eqv is the general comparison operator? The one that works kind of Java equals()? 18:23
18:23 sonmez left 18:25 c9s left
ferreira Well, I fixed 'eq' by '!eqv' and used the 'use perl5:' thing 18:28
18:39 franck___ joined
TimToady ferreira: "perl5" used to be a perl6ism but is now just a pugsism because Perl 6 is now specced as "use LingENNum:from<perl5 Lingua::EN::Numbers>" or some such. but pugs doesn't do that yet 18:39
that in S11:390 and thereabouts 18:40
ferreira TimToady: thanks. Reading S11 18:41
So what I want is "use Lingua::EN::Numbers:from<perl> <num2en>" or do I need the Perl 5 module name and an alias? 18:50
PerlJam TimToady: could that have been "use Foo:from<perl5 Lingua::EN::Numbers>" (where Foo is essentially a made-up name that acts as an alias) ?
TimToady the intent is the latter, but the either form could probably be made to work 18:51
ferreira Ok, this is clear from the example at the synopsis: " use Whiteness:from<perl5 Acme::Bleach 1.12 cpan:DCONWAY>; " 18:53
TimToady presumably the syntax inside the :from<> corresponds to the source language's view of the module name
which might not map into the Perl 6 namespace cleanly
plus it's useful to have a ::-less alias
PerlJam I guess, I'm wondering if there are any "hidden" (to me) constraints on the perl 6 name. 18:54
s/,//
ferreira In the example, the only thing needed is a way to use num2en from Perl5 Lingua::EN::Numbers.
TimToady presumably one could just say "use :from<perl5 Lingua::EN::Numbers> <num2len>" to just import that, and perhaps generate an alias 18:56
but since imports are lexical by default, we don't actually need to have an alias
18:56 franck___ left
TimToady well, except maybe for decent error reporting 18:57
I guess we really need to track a name and version and authority even for foreign modules, if we want to pull in multiple of the same name... 18:58
but that might be impractical depending on the foreign language 18:59
ferreira Even for Perl 5 it would depend on an extension mechanism that does not exist today. That is an enhanced toolchain that saved that info (name, version, authority) 19:00
19:01 vel left
theorbtwo For example, I'm betting .net CLRage will have something similar in spirit but quite different in details already that we'll want to pull from when loading C# stuff. 19:01
TimToady indeed, there are similarities there 19:02
we won't say who borrowed the idea from whom... :)
ferreira Any implementation of lexical imports by now? Sorry to keep asking: as I said I need to catch up yet with current Perl 6. 19:05
TimToady pugs, presumably 19:06
19:14 rindolf left
moritz_ ferreira: I looked at zip.html, looks fine at first sight 19:23
theorbtwo Hm, I wonder if you can do lexical imports in 5.10 with ours? 19:24
TimToady only by also doing a package import at the same time, but the point of lexical import is to reserve packages for export lists, not imports 19:27
well, that's one of the points, anyway
19:28 jjore-w joined 19:32 vel joined 20:04 jisom left
pmurias CLRage? 20:06
goole dosn't find anythinh 20:07
*anything
or is it something like a ice age? 20:14
20:15 autark joined 20:17 dakkar left 20:19 barney left 20:30 vel left 20:33 dduncan joined 20:42 ferreira left
[particle] CLR age, maybe? 20:43
rhr @tell ferreira in 'my @E = map ...' there needs to be a comma after the block 20:47
lambdabot Consider it noted.
20:50 pmurias left
TimToady I took it to be the -age suffix, as in postage is what goes along with the post 20:53
CLRage is then just the stuff associated with CLR
a package is something you pack, etc. 20:54
it's not a terribly productive suffix in modern English
amperage is the amount of amperes, voltage is the number of volts 20:55
20:55 kaether left 20:57 vel joined
TimToady @tell pmurias on CLRage see moritz.faui2k3.org/irclog/out.pl?ch...6#i_104982 20:57
lambdabot Consider it noted.
21:01 kane_ joined 21:07 TJCRI left, justatheory left 21:09 cmarcelo left 21:12 cmarcelo joined 21:13 Aankhen`` left 21:17 ashleyb joined 21:34 vel left 21:55 jhorwitz left 21:56 justatheory joined 21:57 vel joined 22:06 polettix joined 22:16 thoughtpolice joined 22:29 mncharity left 22:31 amnesiac left 22:32 vel left 22:36 iblechbot left
pugs_svnbot r17892 | avar++ | r63477@t: avar | 2007-09-17 22:35:14 +0000 22:36
r17892 | avar++ | Replaced the old Makefile with a custom Makefile.PL system based on
r17892 | avar++ | ExtUtils::MakeMaker, `make test', `make dist', `make disttest' and all
r17892 | avar++ | the other usual suspects now work as with other perl dists. It works
r17892 | avar++ | for all the stuff the old Makefile worked for (unless I screwed up).
r17892 | avar++ | However `make install' does not yet work, but that's just a matter of
r17892 | avar++ | tweaking the right parameters and maybe modifying a couple of .pl files.
diff: dev.pugscode.org/changeset/17892
lambdabot Title: Changeset 17892 - Pugs - Trac
22:37 Limbic_Region joined
avar fglock_: (and other kp6 guys), don't be afraid to revert that change if it screws stuff up 22:37
22:38 polettix left
avar but it's a nice start for the stuff I was whining about at yapc::eu, getting kp6 on cpan and having it smoked:) 22:38
23:10 polettix joined 23:11 polettix left 23:14 cmarcelo left 23:16 kjwcode left 23:17 Blwood__ left
[particle] avar: was that kp6 specific? i didn't see a [kp6] tag in the commit message 23:20
pugs_svnbot r17893 | avar++ | make test TEST_VERBOSE=1 now works as in other EU::MM dists
diff: dev.pugscode.org/changeset/17893
lambdabot Title: Changeset 17893 - Pugs - Trac
avar [particle]: Yeah it was, I don't know why [kp6] doesn't appear 23:21
Maybe because svk really commits to the whole repository rather than a subdir
[particle]: The last one was too:) 23:22
[particle] nice, hopefully it'll build on windows :) i'll try later, time for a meeting &
avar It requires GNU specific makefile features still, but that should be hackable
Just need to make a glob-thingy in perl instead of the makefile stuff it has now 23:23
23:47 luqui joined 23:48 devogon left 23:52 rfordinal_ joined