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:07 theorb joined 00:18 theorbtwo left 01:04 penk left 01:27 Lorn joined 01:32 jferrero left 02:10 dlocaus left 02:12 jiing joined 02:15 jhorwitz joined, kanru left
meppl good night 02:19
02:24 jhorwitz left 02:25 kanru joined 02:39 jjore-m left 02:42 kst left 02:43 kst joined 02:44 ahmadz joined, ahmadz left 03:20 nipotaway is now known as nipotan 03:35 kanru left, pbuetow left, marmic left, test left, stevan_ left, ak__ left, qmole left, charsbar left, ruz left, Arathorn left, awwaiid left, avar left 03:40 avar joined 03:43 Southen left 03:44 Southen joined 03:46 thoughtpolice left, kanru joined, pbuetow joined, marmic joined, test joined, stevan_ joined, ak__ joined, qmole joined, charsbar joined, ruz joined, Arathorn joined, awwaiid joined, Gekz joined, szbalint joined, nnunley joined, broquaint joined, Casan joined, Caelum joined, djm joined, silug joined, yath joined, bloonix joined, allbery_b joined, cj joined, clkao joined, moritz_ joined 03:52 Southen left 03:53 Southen joined 03:56 Southen left 04:07 cmarcelo left 04:09 ispy_ joined 04:13 kanru left 04:16 justatheory joined, amnesiac joined 04:17 Ara4n joined 04:19 theorb left 04:20 theorbtwo joined 04:23 qmole left, bloonix_ joined 04:24 bloonix left 04:25 djm_ joined, szbalint_ joined 04:28 stevan_ left, marmic left, nnunley left, ruz left, Arathorn left, moritz_ left, Casan left, pbuetow left, test left, szbalint left, djm left, clkao left, cj left, allbery_b left, broquaint left, Gekz left, Caelum left, silug left, awwaiid left, ak__ left, yath left, charsbar left 04:32 nnunley joined 04:37 pbuetow joined, marmic joined, test joined, stevan_ joined, ak__ joined, charsbar joined, ruz joined, Arathorn joined, awwaiid joined, Gekz joined, szbalint joined, broquaint joined, Casan joined, Caelum joined, silug joined, yath joined, allbery_b joined, cj joined, clkao joined, moritz_ joined, ak__ left, ak__ joined, ak__ left, szbalint left, qmole joined 04:38 Gekz_ joined 04:39 Gekz_ left 04:41 lambdabot left 04:42 lambdabot joined 04:45 justatheory left 04:47 Arathorn left 04:54 qmole left, stevan_ left, marmic left, ruz left, moritz_ left, Casan left, pbuetow left, test left, clkao left, cj left, allbery_b left, broquaint left, Gekz left, Caelum left, silug left, awwaiid left, yath left, charsbar left 05:04 sprocket joined, sprocket left, Southen joined 05:07 clkao joined, qmole joined, pbuetow joined, marmic joined, test joined, stevan_ joined, charsbar joined, ruz joined, awwaiid joined, broquaint joined, Casan joined, Caelum joined, silug joined, yath joined, allbery_b joined, cj joined, moritz_ joined 05:11 stevan_ left, marmic left, qmole left, ruz left, moritz_ left, Casan left, pbuetow left, test left, cj left, allbery_b left, broquaint left, Caelum left, silug left, awwaiid left, yath left, charsbar left, clkao left 05:13 charsbar joined, Caelum joined 05:14 awwaiid joined 05:15 broquaint joined, yath joined 05:24 sprocket joined 05:27 clkao joined, qmole joined, pbuetow joined, marmic joined, stevan_ joined, ruz joined, Casan joined, allbery_b joined, cj joined, moritz_ joined 05:28 moritz_ left, silug joined, allbery_b left 05:30 allbery_b joined, ruz left, marmic_ joined, obra left, jjore-m joined, qmole left 05:31 Casan left 05:33 obra_work joined 05:37 fihi09 joined 05:39 marmic left, cj left, pbuetow left 05:42 clkao left 05:43 stevan_ left 05:46 kanru joined 05:51 sprocket left 05:57 lambdabot left, lambdabot joined 05:59 nipotan is now known as nipotaway 06:09 Ashizawa joined 06:12 DarkWolf84 left 06:23 lisppaste3 left 06:26 alc joined 06:30 ispy_ left 06:37 lisppaste3 joined 06:47 Aankhen`` joined 07:10 penk joined 07:12 devogon joined 07:22 [particle] left 07:29 tuxdna joined 07:48 franck___ joined 07:49 moritz_ joined 08:02 BinGOs_ is now known as BinGOs 08:07 penk left 08:19 kanru left 08:24 drrho joined 08:28 elmex joined 08:32 mr_ank joined 08:37 pmurias joined, pmurias left 08:39 Southen_ joined 08:56 mr_ank_ joined 08:59 mr_ank_ left, Southen left 09:01 cognominal_ left 09:09 mr_ank left
pugs_svn r19095 | Darren_Duncan++ | ext/Muldis-DB/ : renamed all ::DBMS Perl packages to ::Machine, and all other 'dbms' named vars etc 09:32
moritz_ the loggin bot has trouble connecting to irc.freenode.net 09:40
no idea what's wron 09:41
g
10:08 alc left 10:19 Psyche^ joined 10:23 penk joined 10:30 djm_ is now known as djm 10:34 Patterner left, Psyche^ is now known as Patterner 10:43 fglock_ joined, fglock_ is now known as fglock 10:52 Grrrr joined 11:00 dalek left 11:02 dalek joined, Ashizawa left, drrho left 11:03 drrho joined 11:04 Juerd left, Juerd joined 11:16 alc joined
pugs_svn r19096 | fglock++ | [kp6-perl5] .map was overwriting $_ 11:32
11:34 Lorn left 11:55 jferrero joined, lichtkind joined 12:01 hanekomu joined 12:04 cognominal_ joined 12:34 cj joined 12:35 Casan joined, ruz joined, Lorn joined 12:37 chris2 joined 12:39 qmole joined, test joined 12:40 masak joined 12:41 clkao joined 12:53 tuxdna left, Aankhen`` left 13:00 MoKu23 joined
MoKu23 hi 13:00
;) 13:01
ōæ½xB0_ōæ½xB0 13:02
boy help me?
araujo no
MoKu23 why? 13:03
araujo because we can't
MoKu23 w la figa e non ci pensate + xD
araujo creo que no entendistes lo que te dije 13:05
elmex speaking russian won't get u far 13:07
13:10 MoKu23 left 13:11 hanekomu left 13:18 penk left 13:32 jhorwitz joined, cmarcelo joined 13:48 AzureBOT_ joined, moritz_ left, Caelum left, charsbar left, Kattana left, pravus left, GeJ left, ting_ left, kane_ left, kolibrie_ left, SamB left, kcwu left, ft left, pasteling left, moritz_ joined, Caelum joined, charsbar joined, Kattana joined, pravus joined, GeJ joined, ting_ joined, kane_ joined, kolibrie_ joined, pasteling joined, ft joined, kcwu joined, SamB joined, Yappo_ joined 14:07 xinming_ joined 14:15 ruoso left 14:17 fglock left, cognominal_ left 14:20 xinming left 14:22 ruoso joined, ebassi joined 14:24 fglock_ joined, fglock_ is now known as fglock 14:27 kyrbe joined, kyrbe left 14:28 elmex left 14:43 iblechbot joined 14:44 cognominal_ joined 14:49 Lorn left, Psyche^ joined 14:51 Schwern joined 14:54 penk joined
fglock i found a workaround for mixing code and regex in perl5 - testing... 14:56
15:01 Patterner left, Psyche^ is now known as Patterner 15:13 cognominal_ left 15:17 drrho left 15:24 rgs is now known as rgstfm, rgstfm is now known as rgs 15:31 pmurias joined
pmurias fglock: what's the workaround? 15:31
15:32 Aankhen`` joined
fglock it's a mix between the current p5rx and PCR, 15:32
kind of an inside-out of p5rx
one sec,
pmurias okay
fglock $ perl -e ' $_="4234"; ( /\G4/g && /\G2/g ); print pos(),"\n"; '
add regex to code, instead of add code to regex 15:33
15:33 zakame_ joined
fglock it's just a bit slower 15:33
pmurias fglock: not nessesary much slower 15:34
fglock but most important, it shouldn't segfault
i'm working on an implementation 15:35
pmurias fglock: once it's working in should be possible to have it join fragments not containing perl5 code
fglock sure
15:40 ahmadz joined, ahmadz left
fglock there are several possible optimizations - i just want it to work for now 15:41
15:50 neuromu joined 15:51 hareldvd joined
hareldvd Does env variable such as LC_LANG influences regexps? cos on egrep it does. 15:52
wolverian perldoc perllocale 16:01
if you mean perl 5
as for perl 6, I don't remember that in the spec. 16:02
16:03 TJCRI joined 16:09 barney joined 16:16 Psyche^ joined
pugs_svn r19097 | fglock++ | [kp6-perl5rx] new perl5rx emitter, passes t/kp6/grammar/01-simple-or-token.t 16:17
r19097 | fglock++ | - old perl5rx emitter saved to Emit::Perl5RegexPure
TimToady at the standard unicode level, "graphs"Āø locales are completely ignored. 16:22
locales are evil 16:23
wolverian and useful :)
TimToady but if you ask for language dependent character processing, you can ask it to pay attention to a locale
wolverian what I hate is when an app decodes the input _file_ according to locale
that makes absolutely no sense 16:24
TimToady locales are a classic case of misplaced type information
wolverian hm, yeah.
TimToady and p6 is trying to clear up all the misplaced data
pugs_svn r19098 | fglock++ | [kp6-perl5rx] t/kp6/grammar/02-non-capturing-group.t passes 16:25
fglock yet another regex engine rewrite :P 16:26
wolverian I'm so tired I started thinking about attaching locale info to the monitor
"my monitor is en_US.UTF-8"
16:27 blindfish_ joined
pmurias wolverian: why does decoding the input _file_ according to locase does not make sense? 16:27
wolverian pmurias, what does the file have to do with the locale?
16:28 Patterner left, Psyche^ is now known as Patterner
pmurias wolverian: locale as far as i understand is the information about the local environment which files are part of 16:31
i myself only care about the charset part of the locale 16:32
wolverian the locale doesn't really have anything to do with files. maybe you just downloaded the file from elsewhere. 16:33
I think larry meant this problem. the metadata isn't attached to the data.
allbery_b actually I would say the locale does have to do with files. the problem is the ==wolverian locale should be part of each frile's metadata 16:34
notpart of the "globa" environment
wolverian right
pugs_svn r19099 | fglock++ | [kp6-perl5rx] t/kp6/grammar/03-ident-token-from-grammar.t passes
pmurias wolverian: i think the understanding is that you convert all the files you store on your hard drive 16:35
wolverian no 16:36
are you perhaps thinking of filenames?
16:37 ether0 left
allbery_b his theory is that any time you obtain a file from somewhere it is converted to your format 16:38
the problem here is shared files: what if person A's format is ISO8859/1 and person B's is UTF16?
so the file really needs to be tagged 16:39
pmurias allbery_b: i belive ISO8859/1 should be obsoleted 16:42
allbery_b *shrug* substitue UTF8 then. (WIndows uses UTF16, Unix prefers UTF8, so that is not necessarily a trumped-up example.) 16:43
that said, older files may well still be ISO8859/1
and still older ones may be plain ASCII 16:44
(yes, some of us *do* have files that old hanging around; shuld we really have to recode them every few years to keep up with current notions?) 16:45
pmurias allbery_b: i agree with you that they should be marked with metadata 16:47
16:48 turrepurre joined
pmurias that would make the recoding much easier ;) 16:48
allbery_b if I keep tem for archival and don't touch them that often, recoding only when needed is better. and it still doesn't address the question of files thatmay be accessed by different users with different environment settings 16:49
16:55 [particle] joined 16:56 jjore-m left 17:02 mattz left, masak left, mattz joined 17:06 dlocaus joined 17:10 drbean left 17:11 drbean joined, Jedai left 17:14 justatheory joined 17:17 Khisanth left 17:20 Jedai joined 17:21 Jedai left
pmurias fglock: shouldn't it be /gc instead of /g? 17:23
17:23 Jedai joined, Jedai left
fglock what is /c ? 17:24
pmurias it's the continue modifier, the pos dosn't get reset on a failed match 17:25
17:26 jjore-m joined
pmurias s/reset/zeroed/ 17:27
djm where are those documented? it doesn't seem to be in perlre (what's /e?)
fglock i think it is not needed, because the program needs to store pos() in order to control backtracking anyway 17:28
pmurias /\G1/g && (/\G2/g || /\G3/g)? 17:29
is /\G(1[23]|3)/g instead of /1[23]/g 17:30
fglock see Rule::Or - but i may be wrong 17:31
17:35 cognominal_ joined
fglock the old p5rx algorithm can't be directly mapped to the new one 17:35
the local+backtrack trick doesn't work 17:36
17:37 Jedai joined 17:38 Jedai left 17:40 Jedai joined, dlocaus left
pmurias fglock: why dosn't the save pos and restore it if Or fails trick work? 17:42
fglock: i think it needs to be /gc for &&
17:42 Jedai left
fglock it works, the problem is it needs to reset the $GLOBAL::_M structure too 17:43
17:43 jjore-m left
fglock i think you don't need it for &&, because if it fails it ... failed 17:44
pmurias right
fglock but i'm not thinking clearly after 3 days struggling perl5 bugs :P 17:45
17:45 Jedai joined
fglock i think we need some simple && and || tests 17:46
17:46 cognominal_ left
fglock i mean, regex tests 17:50
pmurias i got it
fglock get some coffee && food & 17:51
17:52 jjore-m joined 17:54 Jedai left
pmurias fglock: kp6 dosn't support || and && (but | and & do what they should) 17:55
& 18:01
18:01 cognominal_ joined 18:02 Jedai joined 18:06 franck___ left 18:15 TJCRI left 18:19 dlocaus joined
pugs_svn r19100 | dlo++ | [kp6] Altered the files so that perltidy is not required 18:21
dlocaus well, harddrive is still in the shop... but I've got another one going! I'm back!
18:22 baest left, baest_ joined 18:24 baest_ is now known as baest 18:29 jferrero left
pugs_svn r19101 | fglock++ | [kp6-perl5rx] implemented some rollbacks 18:42
fglock dlocaus: :)
dlocaus fglock: in the Makefile
how does mp6.pl know which files to compile and which ones not too? 18:43
pugs_svn r19102 | pmurias++ | [kp6] simple or test
fglock the make utility looks at the file dates
dlocaus fglock: but I did a forcerecompile
compiled/perl5-kp6-mp6/lib/%.pm: src/%.pm
$(PERL) script/mp6.pl -o $@ $<
that makeline seams to be indicating compile -everything- in src/%.pm into compiled... 18:44
but only some files are compiled.
why isn't anything in KindaPerl6::Runtime::* compiled by mp6?
sorry, src/KindaPerl6/Runtime/*.pm
pmurias other rules take precendence 18:45
dlocaus pmurias: ah, so if another "rule" had worked on the file, then it is skipped? 18:46
so in effect the last rule is the "default" rule for all files that had not been touched? (for this makefile)
pmurias yes 18:47
dlocaus ah, ok, now this makes more scense :), ty 18:48
18:51 ebassi left
dlocaus fglock: I found this in the FAQ.pod, is it obsolete now? 18:55
=item Bootstrapping mp6-perl5: (FGLOCK: Where is this?)
This script rebuilds the lib5 directory. It creates a directory named lib5-new:
perl util/build-perl5.sh
mv lib5 lib5-old
mv lib5-new lib5
pmurias pos($_pos) is a bug it should be pos($_) = $_pos;
dlocaus and, is perl kp6-perl5.pl now known as script/kp6
fglock this is in v6-MiniPerl6/util
dlocaus ah, ok 18:56
fglock pmurias: one sec, I'll commit what I have here 18:57
dlocaus fglock: (when you get a chance) 18:58
The 'kp6-perl5.pl' script is one of the possible compiler 'workflows' that can be built with kp6.
perl kp6-perl5.pl < source.pm > dest.pm
this kp6-perl5.pl is now known as the perl5 build from Makefile.pl? And the script is script/kp6 -Bperl5 in effect right?
pugs_svn r19103 | fglock++ | [kp6-perl5rx] more fixes
dlocaus (that was from the FAQ.pod too)
fglock yes, script/kp6 -Bperl5 is the old kp6-perl5 18:59
dlocaus ok, ty
pugs_svn r19104 | fglock++ | [kp6-perl5rx] fixed pos() usage - pmurias++ 19:02
r19105 | dlo++ | [kp6] Updated the documentation. Please review the changeset. 19:03
19:05 TJCRI joined
pugs_svn r19106 | fglock++ | [kp6-perl5rx] fixed extra } 19:10
r19107 | dlo++ | [kp6] Added comment explaining the mp6.pl part of the Makefile.PL 19:13
dlocaus is this file supposed to be commited? 19:14
compiled/perl5-kp6-mp6/lib/KindaPerl6/Visitor/Emit/Perl5RegexPure.pm
it was "made" on my machine, but not part of the repository
19:15 ebassi joined, ebassi left
fglock dlocaus: it has bugs - I'll move it away 19:16
dlocaus oh, ok.
pugs_svn r19108 | dlo++ | [kp6] perltidy'd these files 19:19
r19109 | fglock++ | [kp6] move Emit::Perl5RegexPure away, because it segfaults Perl 5 19:21
19:29 alc left 19:32 princeofdark joined, princeofdark left 19:33 chris2 left 19:34 jisom joined
fglock & 19:42
19:43 ruoso left 19:45 TJCRI left 19:50 [particle] left 19:53 snearch joined 20:00 fglock left 20:02 fglock_ joined, fglock_ is now known as fglock 20:08 TJCRI joined 20:09 luqui joined
pugs_svn r19110 | dlo++ | [kp6] perltidy'd these files 20:10
20:22 fglock left 20:26 Daveman joined 20:34 syle joined
dlocaus in "class Var" it has the attribute $.namespace, when I debug the compiled version it appears to say that $.namespace is an array. but when I invoke $.namespace.elems == 0, it claims it is not an array 20:36
$.namespace.elems converts to perl5: $self->{namespace}->elems() 20:37
but $self->{namespace} is an unblessed reference
ergo: if ( ( $self->{namespace}->elems() == 0 ) )
that fails
pmurias: ping?
@seen pmurias 20:38
lambdabot pmurias is in #perl6. I last heard pmurias speak 1h 42m 43s ago.
dlocaus moritz_: ping?
pugs_svn r19111 | dlo++ | [kp6] a little bit of work, getting subroutines to emit in perl6 20:42
20:53 snearch left
pmurias dlocaus: ping 20:54
dlocaus pmurias: pong
pmurias: did you read what I wrote above your initial ping inquriy? 20:55
about "class Var"
pmurias it looks like namespace is undef if not specified 20:56
dlocaus but when I quired it via the debugger it was an empty array
20:57 barney left
pmurias dlocaus: mp6 stores arrays as unblessed array references 20:58
dlocaus humm ok 20:59
pmurias mp6 is buggy 21:00
dlocaus oh argh!
:) 21:01
pmurias dlocaus: on of the points of the bootstrap is to no longer use mp6 21:04
dlocaus this bootstraping is giving me a headache.
21:05 jisom left
dlocaus If we use mp6 to compile perl6 code to provide libraries for kp6, and then we no longer use mp6, who will compile the perl6 code to provide libraries for kp6? 21:05
pmurias dlocaus: we don't use mp6 is such capability as far as i know 21:06
have you found any such files?
dlocaus Well, yes. When you "make forcerecompile", the first 10 or so files, are files compiled by mp6 to produce the AST and visitor code 21:07
and the Grammar code. 21:08
pmurias they will be compiled by kp6
dlocaus is thinking 21:09
pmurias you will have to have a compiled version of kp6 to compile the source code
meppl good night
pmurias meppl: good night 21:10
dlocaus but once you can get a "good" version of kp6 going, then you can compile the parser files that mp6 used to compile, and then remove mp6? 21:11
meppl ;)
pmurias dlocaus: exactly 21:12
dlocaus ah ok.
what happens when you find there is a flaw in the kp6 parser code?
21:12 BinGOs_ joined
pmurias there are lots now 21:13
dlocaus humm, ok 21:14
pmurias you change the kp6 source code and compile it with the last working version
dlocaus ok, I'll update the FAQ
pmurias dlocaus: you are talking about it in the context of the future when it's bootstaped, or right now? 21:15
* asking
dlocaus well, this seams to be the problem where in that old problem, what happens if someone puts a "backdoor" in the compiler, thus when the compiler compiles any other code (including another compiler) it would put the "backdoor" in the next "compiler" 21:16
21:22 ilogger2_ joined
pugs_svn r19112 | dlo++ | [kp6] documented the bootstrapping process better. 21:23
r19113 | dlo++ | [kp6] documentation clean up, removed idiom. 21:26
21:29 buu joined, wolverian joined, sunnavy joined 21:30 TimToady joined, Maddingue joined 21:31 hareldvd joined 21:33 thoughtpolice joined
pmurias b 21:33
21:38 Psyche^ joined 21:39 ilogger2 joined
pugs_svn r19114 | pmurias++ | [kp6] minor clarification 21:39
21:43 ajs joined 21:44 araujo joined, stef_ joined, bsb joined 21:45 penk joined 21:46 nipotaway joined
pugs_svn r19115 | pmurias++ | [kp6-faq] described status of v6-Onion, small changes 21:56
dlocaus pmurias: ping? 21:57
dev.pugscode.org/browser/v6/v6-Kind...ot.pm#L303 21:58
dev.pugscode.org/browser/v6/v6-Kind...ot.pm#L799
I was hunting down an odd report by perl::tidy complaining of duplicate subroutine names in the Parrot.pm package. 22:02
In "class Var" method name "name", and "invocant", "positional" in "class Sig"; are produced twice
when compiled by mp6.pl.
the first time is the accessor (standard accessor), but the second declarations of the subroutine force it to be read-only.
I removed the subroutines and all the test cases worked as normal. Should those R/O accessors be removed?
pmurias: ping?
moritz_: ping? 22:03
pmurias dlocaus: pong 22:08
dlocaus pmurias: hey, can you check out the above comment?
pmurias doing it
dlocaus: you can remove it 22:10
dlocaus ok, ty
pmurias does Emit::Parrot actually work?
dlocaus I don't know. 22:11
I was hunting down an odd report when doing a forcerecompile
pasteling "dlocaus" at 63.192.210.11 pasted "odd perltidy report" (8 lines, 900B) at sial.org/pbot/29110
pmurias i think it's unsupported
dlocaus pmurias: I've pasted it above.
pmurias: well, it may be unsupported now, but it will have to be supported sometime! ;) 22:12
pmurias dlocaus: i think going through PAST instead of directly emitting pir is the way to go
dlocaus PAST?
ah, I see 22:13
neat
I'm not that far along yet... in the parrot world, I'd still be a bird cage cleaner :) 22:14
22:16 dlocaus joined, hanekomu joined
pugs_svn r19116 | dlo++ | [kp6] Perl::Tidy was producing an error message stating that 22:19
r19116 | dlo++ |
r19116 | dlo++ | /usr/bin/perl script/mp6.pl -o compiled/perl5-kp6-mp6/lib/KindaPerl6/Visitor/Emit/Parrot.pm
r19116 | dlo++ | src/KindaPerl6/Visitor/Emit/Parrot.pm
r19116 | dlo++ | 126: already saw definition of 'sub name' in package 'Var' at line 124
r19116 | dlo++ | 197: already saw definition of 'sub invocant' in package 'Sig' at line 193
r19116 | dlo++ | 198: already saw definition of 'sub positional' in package 'Sig' at line 194
r19116 | dlo++ | 22:20
r19116 | dlo++ | While, this message appears to be from perl, or even mp6.pl it is really produced by Perl::Tidy.
r19116 | dlo++ | MP6 produces (as per spec) accessors for attributes in "class Var" and "class Sig"
r19116 | dlo++ | however, those classes later produces read only accessors.
r19116 | dlo++ |
r19116 | dlo++ | pmurias said they could be removed:
r19116 | dlo++ |
r19116 | dlo++ | irclog.perlgeek.de/perl6/2007-12-07#i_158855
lambdabot Title: IRC log for #perl6, 2007-12-07
pugs_svn r19116 | dlo++ |
r19116 | dlo++ | make forcerecompile; make test; -> all tests pass
22:32 rgs joined 22:44 IllvilJa joined 22:47 Shillo joined
pugs_svn r19117 | dlo++ | [kp6] I have added a line of code to strip the spaces at the begining of every line. 22:54
r19117 | dlo++ |
r19117 | dlo++ | By removing the spaces from begining of every line, I have reduced the amount of time it takes to parse a file.
r19117 | dlo++ |
r19117 | dlo++ | On a 26k file compiled by mp6.pl, this reduces compilation time by 3 seconds. I believe overall this would reduce
r19117 | dlo++ | total compilation time by 1 minute.
r19117 | dlo++ |
r19117 | dlo++ | Since, all code is parsed by perltidy after being "compiled" there are no net changes to any of the files.
r19117 | dlo++ |
r19117 | dlo++ | make forcerecompile; make test => passes all tests.
r19117 | dlo++ | svn noted no changes in the compiled/* directory too!
r19117 | dlo++ |
r19117 | dlo++ | dlocaus++ (sorry, could not resist) 22:55
23:24 jql joined 23:49 Khisanth joined 23:57 Shillo left
pugs_svn r19118 | dlo++ | [kp6] I have written in code to allow people to quickly turn on/off the use 23:58
r19118 | dlo++ | of perltidy by setting the environmental variable PERLTIDY to /dev/null, instead
r19118 | dlo++ | of ???/util/perltidyrc. This reduces compile time by approximately 20%.
r19118 | dlo++ |
r19118 | dlo++ | #!/bin/tcsh
r19118 | dlo++ | setenv PERLTIDY /dev/null
r19118 | dlo++ | unsetenv PERLTIDY
r19118 | dlo++ |
r19118 | dlo++ | I have doubts about this feature as I am worried that someone will commit these
r19118 | dlo++ | files to the respository. However, volunteer time is -the most- valuable
r19118 | dlo++ | time and should not be wasted.
r19118 | dlo++ |
r19118 | dlo++ | A warning will be issued at compile time requesting that the user not commit
r19118 | dlo++ | these files to the respository.
r19118 | dlo++ |
r19118 | dlo++ | dlocaus@ #perl6 irc.freenode.net