Parrot 1.1.0 Released | parrot.org/ | 332 RTs left
Set by moderator on 21 April 2009.
dalek rrot: r38358 | bacek++ | branches/pmc_pct/compilers/pmc/src (2 files):
Handle METHODs in body_part
00:00
00:09 AndyA joined 00:27 eternaleye joined
bacek Does IMCC support heredocs? 00:27
Found it 00:29
bacek just realised that I can implement PMC::* classes in NQP... 00:55
00:57 HG` joined
Coke Infinoid: (deprecation guide) - see "Deprecation" on the wiki. 01:12
Coke: see later in backscroll where pmichaud mentions this.
02:06 amoc joined
dalek rrot: r38359 | bacek++ | branches/pmc_pct/compilers/pmc/t (3 files):
Factor out common test function into common.pir
02:10
rrot: r38360 | bacek++ | branches/pmc_pct (2 files):
Inherit PMC::Compiler from PCT::HLLCompiler
02:13
rrot: r38361 | bacek++ | branches/pmc_pct/compilers/nqp/src (2 files):
[nqp] Add handling of self
bacek purl: msg pmichaud I added "self" to NQP in pmc_pct branch at r38361. Is it kosher? 02:16
purl Message for pmichaud stored.
dalek rrot: r38362 | bacek++ | branches/pmc_pct (5 files):
Use NQP for implementing PMC::Compiler. First step.
02:26
02:26 s1n joined 02:35 janus joined 02:37 petdance joined
kid51 Infinoid: ping 02:50
02:59 tetragon_ joined
dalek rrot: r38363 | jkeenan++ | trunk/src/interp:
Set svn:ignore property on src/interp/ directory to ignore *.str files created during build.
03:00
03:01 Eevee joined
bacek ok. Now I know how not to write PMC compiler in PCT... 04:14
bacek throwing away 6 hours of work.
05:01 szabgab joined 05:12 Theory joined 05:28 Eevee joined 05:40 Eevee joined
cotto bacek, do you have a general plan for writing the rest of the pmc compiler, or do you still need to experiment more? 06:03
dalek rrot: r38364 | allison++ | trunk/tools/dev/mk_language_shell.pl:
[tools] Make it possible to run the language shell generator outside the

language under "languages/..." in Parrot's build directory, since that's not the common case anymore.
06:05 Ademan joined
dalek rrot: r38365 | allison++ | trunk (2 files):
[tools] Install the language shell generator.
06:13
07:47 iblechbot joined 07:55 flh joined 07:56 eternaleye joined 08:13 eternaleye joined 08:38 masak joined 09:01 fperrad joined 09:14 fperrad_ joined
bacek cotto: I'm still experimenting with PCT and NQP. 09:15
There are way too many files involved in compiling single PMC... 09:16
09:17 HG` joined 09:20 HG`` joined 10:06 amoc joined
dalek rrot: r38366 | bacek++ | branches/pmc_pct/compilers/pmc/t/03-past.t:
Stub for testing PAST
10:43
rrot: r38367 | bacek++ | branches/pmc_pct/compilers/pmc/DOTPLAN.pod:
Add implementation plan.
bacek purl: msg cotto trac.parrot.org/parrot/changeset/38367/ - my current plan for implementing PMC compiler 10:44
purl Message for cotto stored.
bacek purl: msg cotto suggestions and patches are welcome :)
purl Message for cotto stored.
bacek afk # 10:45
10:45 HG` joined 11:26 rdice joined 11:48 amoc joined 11:56 cognominal joined 12:22 iblechbot joined
LylePerl When I find typos in the parrot docs, do I submit that as a normal parrot bug/patch? 12:47
moritz LylePerl: yes
12:47 PacoLinux joined
LylePerl to parrotbug at parrotcode.org 12:48
moritz no 12:49
to trac
trac?
purl somebody said trac was a web-based software project management and bug/issue tracking system emphasizing ease of use and low ceremony. It provides an interface to the Subversion revision control systems, integrated Wiki and convenient report facilities. projects.edgewall.com/trac/ or Python, SQLite and ClearSilver or killing killtrac or a bug-tracking tool or at trac.parrot.org/parrot/ or slow or REALLY slow
moritz newticket?
purl i think newticket is trac.parrot.org/parrot/newticket
moritz that's the URL
you need to get an account first
12:52 iblechbot joined
LylePerl maybe the page: rt.perl.org/perl6/ should be updated with that... 12:53
dalek rrot: r38368 | fperrad++ | trunk/t/codingstd/copyright.t:
[codingstd] add check for PIR files
12:54
Infinoid Yes, it should, I think that address will create a ticket in the old RT system we're trying to migrate off of 12:55
LylePerl Is there a special way to do patch files? Like the git ones for Rakudo?
Infinoid "svn diff > whatever.patch" 12:56
LylePerl Thanks
Infinoid: did you get the msg I left?
dalek rrot: r38369 | fperrad++ | trunk (151 files):
[codingstd] add missing Copyright
12:57
Infinoid I did, thanks. I'm just not sure why it works for me and not for you 12:58
LylePerl What version of strawberry you on?
Infinoid 5.10.0 (not sure of the strawberry rev) 12:59
LylePerl Hmm, I've no idea either :( 13:00
Infinoid although, I just looked at your log again and noticed that you're talking about rakudo realclean, not parrot realclean
LylePerl Yes, the parrot realclean works, it's the Rakudo one that doesn't
Infinoid I guess I've been misunderstanding you. I had been testing the parrot realclean
LylePerl :) 13:01
Infinoid tests perl6 13:02
13:03 kid51 joined
Infinoid kid51: pong 13:03
kid51 Hi. I was trying to reach you last night, but it turned out that I had read a commit log incorrectly and actually needed to speak with someone else. 13:04
dalek rrot: r38370 | jkeenan++ | branches/auto_format_refactor:
Creating branch to work on TT 563.
Infinoid ah, about the src/interp metadata I suppose
kid51 Yes. I eventually figured out what needed to be done myself.
Infinoid Cool. Happy Sunday.
kid51 A Sunday which here, at least, will *not* be cool ... it's supposed to go up to 90. 13:05
Infinoid wow. supposed to get up to a nice and toasty 49F here
LylePerl: Do you think it could be a problem with escaping backslashes in win32 paths? 13:06
LylePerl: (it works fine on linux) 13:07
LylePerl Infinoid: I'm not sure. I've been catching up with £work£ since I submitted that bug. 13:08
Infinoid Ah. I'll see what I can figure out here
LylePerl Just writing some 'learn parrot' stuff for a new site, then I'll poke about with it some more 13:09
Infinoid will spend some time ogling Makefiles, but I bet this is just path escaping 13:10
LylePerl It's all done in that perl 5 module isn't it? I guess the problem is in there... 13:11
Infinoid Since parrot works and rakudo works, I think it must be that we're passing the wrong thing to it. 13:12
Uh, rakudo *doesn't* work, I mean. 13:13
Maybe we should add some smarts to the generation of the $(CLEANUPS) list. Anyway, I should have more answers later this morning
LylePerl Ahhh 13:28
I think it might be more obvious
The ones that aren't working look like src\\pmc\\*.dump 13:29
If that's treated like a regexp the * is being escaped 13:30
So the solution would be to switch the paths (maybe) or use \\\\
dalek rrot: r38371 | jkeenan++ | branches/auto_format_refactor (4 files):
Move two internal methods for determining min/max macros to auto::sizes.
13:32
Infinoid parrot uses the same path syntax and works fine 13:34
when I cutpaste the rm_f line from rakudo's realclean output and run it directly from a command prompt, that works fine too 13:35
If it's an escaping or wildcard issue, it isn't visible in the Makefile output.
(And I'm fairly sure it won't be treated as a regexp)
But at least I can reproduce it here 13:36
LylePerl It is escaping. Parrot uses \\\\* and Rakudo is using \\* 13:42
Infinoid really? I don't see that in the Makefile or in the make output. 13:43
LylePerl yep, adding the extra \\ to the makefile fixes it :)
Infinoid see the CONFIGURE_GENERATED_FILES in parrot's Makefile, for example
LylePerl It's in the makefile, for example line 2814 13:44
t\\src\\\\*.manifest
all of test-clean :
Infinoid Yeah, that's cute. It's inconsistent though, GEN_PASM_INCLUDES doesn't have it 13:45
realclean deletes CONFIGURE_GENERATED_FILES which contains GEN_PASM_INCLUDES 13:46
LylePerl It's only when the \\ proceeds a *
Infinoid hmm
LylePerl test-clean : shows it best 13:47
Infinoid You're right, I've added those to the rakudo CLEANUPS variable and now it works
I'm not really sure why, but I suppose that isn't the end of the world. 13:48
LylePerl :)
I'll update the ticket, but I've no idea how to write a patch for the make file... 13:49
Infinoid it'd be patching whatever generates that makefile
I'm working on that part.
LylePerl saying that, maybe I do
$maketext =~ s{\\\\\\*}{\\\\\\\\*}g; 13:50
Infinoid yeah, but I think the second clause needs 5, not 4 13:51
LylePerl Yeah that did it. Sorry, I only just realized the makefile was made by the perl 5 configure - doh 13:52
Infinoid might work either way.
LylePerl Yahoo! I submit the patch then :
Infinoid LylePerl++ 13:53
dalek rrot: r38372 | jkeenan++ | trunk (6 files):
Merge auto_format_refactor branch into trunk. Move intval/floatval min/max code to auto::sizes.
13:54
LylePerl Thanks again Infinoid, your guideance patience is appreciated as always
I'd been poking around in the perl module for ages if you hadn't pointed me onto the makefile
Infinoid Heh. That's simple pragmatism; making changes to ExtUtils::Command is a lot harder than making changes to rakudo 13:55
and LylePerl++ for persisting 13:56
LylePerl Infinoid++
dalek rrot: r38373 | jkeenan++ | branches/auto_format_refactor:
Branch has been merged into trunk and is no longer needed at HEAD.
13:57
purl i already had it that way, dalek.
14:08 tetragon joined
dalek rrot: r38374 | Infinoid++ | trunk/tools/dev/create_language.pl:
[tools] RT #65006 fallout: Rakudo required a Configure.pl fix to escape wildcards on win32.
14:12
Infinoid What's the relation between create_language.pl and mk_language_shell.pl? Neither seems to call the other. 14:13
and they both appear to be receiving maintenance, judging from the log 14:14
dalek rrot: r38375 | fperrad++ | trunk (2 files):
[codingstd] add missing Copyright
14:19
14:27 tokuhirom___ joined
cotto messages erae 14:43
LylePerl Just trying to get my terminology right... 14:48
In PIR, if you have say "env = new 'Env'" 14:49
What is 'Env', a package? Module? Class?
Also, if you have ".include 'sysinfo.pasm'", would this mean using the sysinfo package/module/class...? 14:50
cotto LylePerl, you should say new ['Env'] 14:52
Env is the name of the PMC type.
LylePerl cotto: Oops, your right :)
So that line would be using the Env PMC... 14:53
cotto In PIR, .include is just a macro to include the contents of a file.
afk 14:54
LylePerl So it's just a module?
14:56 eternaleye joined 15:10 jan joined
masak LylePerl: yes, but without the namespace encapsulation, IIRC. 15:17
LylePerl hi masak 15:18
masak LylePerl: think of it more like a textual operation, literally putting the text of the included file in the middle of the including one.
LylePerl: hi :)
jonathan yes, .include literally does what it says. Act as if you'd textually written the stuff in the other file at that point. 15:20
['Env' is the name of a PMC 15:21
er, ['Env']
dalek rrot: r38376 | pmichaud++ | trunk/tools/dev/create_language.pl:
create_language.pl: Fix problem in t/harness (TT #580, NotFound++)
jonathan source in src/pmc/env.pmc
LylePerl hmmm I'm getting "error:imcc:No such file or directory" when I try to include it. Guess there must be a parrot lib ENV I'm missing... 15:22
Infinoid .include is for pasm, PMCs are built in at the C level 15:27
jonathan Why are you tyring to do a .include?
Infinoid so if you're looking for an equivalent for "use", you don't need one for this particular feature.
LylePerl Trying ".include 'sysinfo.pasm'" to read the system information 15:28
Just trying to figure out what sysinfo.t is doing different to get it working than if I just trying it with parrot on the cmd 15:29
15:30 flh joined 15:33 gaurav joined
Infinoid what's your pir look like? 15:35
after running sysinfo.t, t/op/sysinfo_2.pir will be a good example 15:36
LylePerl that's the one I'm trying to run
Infinoid that fails for you?
LylePerl from cmd, if I do "parrot t/op/sysinfo_2.pir" 15:37
I get that error
But it works if I run perl sysinfo.t
Infinoid you might need to use backslashes 15:38
LylePerl oops, sorry, I did
The parrot script is running just not finding the include...
Infinoid on winxp/mingw, I just did: "parrot t/op/sysinfo_2.pir" 15:40
it output "4"
LylePerl what's your ENV?
Infinoid I don't remember how to dump that from a dos prompt.
LylePerl ahh 15:41
yes that works for me, sorry
I was running it from the actual folder
cd t\\op
Infinoid oh, "set" works. Nothing parrot-specific in my ENV
ah.
LylePerl parrot sysinfo_2.pir
So what do I need to be able to run the script without my CWD being parrot/ 15:42
Is there a parrot version of PERL6LIB?
Infinoid if you were on unix, I'd say "make install" 15:44
I don't know where that would end up for win32 though.
LylePerl It's going into c:\\parrot 15:45
Infinoid you can also use the nice binaries provided by fperrad++, I guess 15:46
(parrotwin32.wiki.sourceforge.net/) 15:47
LylePerl still getting that error
Doesn't look like make install set any extra ENV
Infinoid it doesn't on unix, either. I think the path "/usr/lib/parrot/<versionnumber>" is assumed on our side of the pond 15:48
LylePerl surly there is some kind of @INC for .include?
Infinoid .include is handled by the function "include_file" in compilers/imcc/imcc.l. It doesn't look very smart 15:50
it calls Parrot_locate_runtime_file() to resolve the path, but I can't seem to find where that is implemented.
ah, src/library.c 15:52
LylePerl feels his hair get blown back 15:53
The c files are a bit over my head at the moment
Hard enough learning parrot and Perl 6 15:54
Although I have to admit I quite like parrot...
Infinoid check out PARROT_RUNTIME in docs.parrot.org/parrot/latest/html/...g.pod.html 15:56
shorten Infinoid's url is at xrl.us/beqfxo
Infinoid msg Coke is docs.parrot.org updated for 1.1?
purl Message for coke stored.
Infinoid pmichaud: ping 16:04
16:05 kid51 joined
LylePerl that fixed it thanks :) 16:10
16:17 davidfetter joined
LylePerl Stupid question: how do i get purl to tell me my messages? 16:41
Infinoid /msg purl messages
messages help? 16:42
purl To leave a message, say in channel or privmsg purl "msg <nickname> MESSAGE FOR J00". To read your messages, privmsg purl "messages". To erase your messages, privmsg purl "messages erase". or Delivery Not Guaranteed!
LylePerl ahhh, It's just your messages from the other day. I read them in the log anyway 16:43
Infinoid ok. she will keep bugging you until you erase them 16:44
LylePerl privmsg purl messages erase 16:45
second time lucky :) 16:46
Infinoid IRC has been around since forever. the RFC is dated 1993. and yet it hasn't gotten any easier since :) 16:47
LylePerl Still very new to me. Only learned /me the other day. Quite fun though
Infinoid it's a very useful tool 16:50
speaking of which... looks like bacek has gotten socket support into rakudo, guess it's time to start using rakudo more 16:51
LylePerl I got into this to learn Rakudo/Perl 6, but so far I've ended up learning more parrot lol 16:52
Infinoid yeah, parrot's pretty huge :) 16:53
17:11 bsdz joined 18:14 rdice joined 18:53 Eevee joined 19:11 viklund joined 19:26 seyedx joined 19:35 msmatsko joined 20:00 HG` joined 20:07 eternaleye joined 20:09 dalek joined 20:26 HG` joined 20:35 seyedx joined 20:56 eternaleye_ joined 21:12 eternaleye joined 21:34 braceta joined 22:11 ilbot2 joined
moderator Parrot 1.1.0 Released | parrot.org/ | 332 RTs left
22:40 Limbic_Region joined 23:04 contingencyplan joined 23:32 tetragon joined