Camelia, the Perl 6 bug

IRC log for #parrot, 2008-09-03

Parrot | source cross referenced

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:06 cotto_work joined #parrot
00:12 davidfetter joined #parrot
00:22 bacek joined #parrot
00:37 bacek joined #parrot
00:40 kid51 joined #parrot
00:41 kid51 joined #parrot
00:42 kid51 joined #parrot
00:42 kid51 joined #parrot
00:43 kid51 joined #parrot
00:45 AndyA joined #parrot
00:57 Zaba joined #parrot
01:01 megamic joined #parrot
02:08 teknomunk_ joined #parrot
02:13 Ademan joined #parrot
04:30 Zaba_ joined #parrot
04:33 tetragon joined #parrot
05:18 Psyche^ joined #parrot
06:02 zostay joined #parrot
06:12 Ademan joined #parrot
06:32 uniejo joined #parrot
06:44 mapott joined #parrot
07:02 dmknopp joined #parrot
07:02 Ademan joined #parrot
07:03 Zaba joined #parrot
07:34 iblechbot joined #parrot
07:34 viklund joined #parrot
07:41 dalek r30718 | chromatic++ | trunk:
07:41 dalek : [dotnet] Migrated ops and PMC to new exception style (Reini Urban, RT #58176).
07:41 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30718
07:49 dalek r30719 | chromatic++ | trunk:
07:49 dalek : [config] Generate an installable parrot_config fakecutable (Reini Urban, RT
07:49 dalek : #58354, with thanks to Gerd Pokorra for reporting).
07:49 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30719
07:53 dalek r30720 | chromatic++ | trunk:
07:53 dalek : [ports] Updated specfile to reflect installable parrot_config fakecutable (Gerd
07:53 dalek : Pokorra, RT #58354).
07:53 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30720
08:24 clunker3 joined #parrot
08:28 masak joined #parrot
08:42 AndyA joined #parrot
08:52 dalek r30721 | kjs++ | trunk:
08:52 dalek : [pirc/new] MAJOR UPDATES to allow all PIR keywords as identifiers.
08:52 dalek : * grammar is probably not as complete as before, but this will be fixed soon.
08:52 dalek : * semantic actions must be fixed; just parsing now.
08:52 dalek : * constant folding and instruction selection is mostly removed at this point, but will be restored shortly
08:52 dalek : * some compilation warnings, which will also be fixed shortly.
08:52 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30721
08:59 kj joined #parrot
08:59 cosimo joined #parrot
09:03 kjs_ joined #parrot
09:06 kjs_ left #parrot
09:06 kjs_ joined #parrot
09:13 pako joined #parrot
09:15 dalek r30722 | allison++ | pdd27mmd:
09:15 dalek : [pdd27mmd] Fix wrong vtable function description.
09:15 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30722
09:48 bacek left #parrot
09:56 cosimo joined #parrot
10:31 Zaba_ joined #parrot
10:44 mapott left #parrot
11:19 * cognominal tries to grasp the relationship between parrot interpreters, task and threads.
11:21 cognominal hope pdd25 will help him
11:52 masak joined #parrot
12:22 dalek r30723 | smash++ | trunk:
12:22 dalek : [ports/debian]: updates from last build
12:22 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30723
12:23 tetragon joined #parrot
12:26 dalek r30724 | allison++ | pdd27mmd:
12:26 dalek : [pdd27mmd] Shift 'mod' and 'cmod' over to real opcodes, eliminate 'cmodulus'
12:26 dalek : vtable functions.
12:26 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30724
12:29 iblechbot joined #parrot
13:30 gryphon joined #parrot
13:43 eee|busy joined #parrot
13:57 Zaba joined #parrot
14:07 AndyA joined #parrot
14:31 masak is there a Rakudo day planned for this week?
15:13 Andy joined #parrot
15:16 dalek r30725 | allison++ | trunk:
15:16 dalek : [cage] Note deprecation of 'cmodulus' vtable functions.
15:16 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30725
15:20 gmansi joined #parrot
15:20 moritz_ joined #parrot
15:22 dalek r30726 | allison++ | pdd27mmd:
15:22 dalek : [pdd27mmd] Remove implementations of deprecated 'cmodulus' vtable function.
15:22 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30726
16:32 ilbot2 joined #parrot
16:32 Topic for #parrotis now http://www.parrotcode.org | Last Release: 0.7.0 "Severe Macaw"
16:33 moritz joined #parrot
16:34 cotto_work Parrot VM: PANIC: ippt is an unknown signature type.
16:35 NotFound cotto_work: need my last commit and configure
16:35 Tene I'm apparently incompetent with make.
16:35 particle make competent
16:35 particle Sorry, i don't know how to make 'competent'.
16:36 nopaste "tene" at 166.70.38.237 pasted "tene's makefile fail" (23 lines) at http://nopaste.snit.ch/13934
16:36 Tene I patch cardinal's makefile like that, and run 'make test.pir', and it says 'Nothing to be done for `test.pir'.'
16:37 particle does test.pir exist?
16:37 NotFound Tene: --output=test.pir ?
16:37 Tene test.pir does not exist.
16:37 cotto_work NotFound++
16:37 NotFound Ah, is cardinal, output, sorry.
16:37 particle try make -n test.pir
16:37 Tene particle: same response
16:37 cotto_work it's like MSPaint v.01 for Parrot
16:38 particle tene: did you make Makefile?
16:38 NotFound cotto_work: v.01 VHS
16:38 Tene Oh, Make is sensitive to tab vs. space.
16:38 particle hee, yep
16:38 NotFound (not even Beta)
16:38 Tene That's awesome.
16:38 cotto_work Tene: very
16:38 particle i think python stole that from make ;)
16:39 cotto_work it doesn't exit cleanly and it loses my artwork when I switch between virtual desktops, but that's pretty awesome
16:39 NotFound cotto_work: press any key to exit
16:39 particle can anybody say LOGO?
16:39 Theory joined #parrot
16:40 cotto_work ok.  I was using the WM's close button
16:40 NotFound cotto_work: too much for a first test
16:41 cotto_work I shouldn't really be pointing out bugs, as it's just a demo
16:41 dalek r30728 | tene++ | trunk:
16:41 dalek : [cardinal]
16:41 dalek : * Set :load on the main sub of each file for precompiled modules to work.
16:42 dalek : * Precompile test.rb
16:42 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30728
16:43 Tene NotFound: I get a segfault
16:44 NotFound Tene: can you trace it?
16:45 nopaste "tene" at 166.70.38.237 pasted "nci xlib test backtrace" (22 lines) at http://nopaste.snit.ch/13935
16:45 Tene NotFound: dies as soon as there's any mouse activity in the window
16:46 NotFound Tene: What architecture?
16:46 purl architecture is great and all, but what I don't want to do is make it work right in every damn browser in all the right ways
16:46 Tene NotFound: x86_64
16:47 NotFound Tene: sorry, the event ManagedStructure is hand coded for x86_32
16:47 Tene ah
16:47 Tene nm, then
16:50 NotFound Can I add it to examples/nci/ ?
16:51 kj joined #parrot
16:55 cotto_work NotFound, can you make it fail gracefully on non-x86 archs?
16:57 NotFound cotto_work: don't know how to detect unsigned long and pointer sizes from pir
17:01 Zaba joined #parrot
17:03 particle NotFound: use Parrot/Config.pasm
17:11 dalek r30729 | moritz++ | trunk:
17:11 dalek : [rakudo] add traits test to spectest_regression
17:11 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30729
17:11 cognominal joined #parrot
17:15 NotFound intsize, longsize and ptrsize ?
17:23 particle or platform, or whatever you think is best
17:26 nopaste "NotFound" at 213.96.228.50 pasted "nci xlib test - 2" (686 lines) at http://nopaste.snit.ch/13936
17:26 NotFound Tene: can you test it now?
17:30 Tene Sure.
17:31 Tene NotFound: it doesn't crash, but it doesn't do anything else either.
17:31 Tene When the mouse cursor is down and I drag, it prints numbers to stdout
17:31 NotFound Tene: Does not close when pressing a key?
17:32 Tene Oh, yes, it does close
17:33 NotFound Tene: please do this: grep "typedef .* Time" /usr/include/X11/*
17:35 dalek r30730 | chromatic++ | pdd27mmd:
17:35 dalek : [PMC] Changed the second occurrence of get_number to set_number_native, fixing
17:36 dalek : a compilation warning.
17:36 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30730
17:37 Tene /usr/include/X11/X.h:typedef unsigned long Time;
17:37 Tene /usr/include/X11/X.h:typedef CARD32 Time;
17:39 dalek r30731 | moritz++ | trunk:
17:39 dalek : [rakudo] one more test for spectest_regression
17:39 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30731
17:43 nopaste "NotFound" at 213.96.228.50 pasted "nci xlib test - 3" (691 lines) at http://nopaste.snit.ch/13937
17:44 NotFound Tene: again, please.
17:45 Tene Still acts the same.  Numbers on stdout when click+drag, and close on keypress.
17:45 NotFound Tene: move the pointer close to upper left and tell me the numbers
17:46 NotFound The las two numbers
17:47 NotFound What is the size of int int x86-64?
17:47 Tene 6: 386547056697 0 0 208638299
17:47 Tene 6: 390842023993 0 0 208638695
17:48 particle NotFound: would it help if tene pasted his Parrot::Config?
17:49 NotFound Sure
17:49 Tene lib/Parrot/Config.pm ?
17:50 particle yep
17:50 nopaste "tene" at 166.70.38.237 pasted "Parrot::Config" (46 lines) at http://nopaste.snit.ch/13938
17:50 particle oops, i mean Parrot::Config::Generated of course :(
17:50 particle i long ago forgot about that switch
17:50 nopaste "tene" at 166.70.38.237 pasted "Parrot::Config::Generated" (1525 lines) at http://nopaste.snit.ch/13939
18:10 peepsalot joined #parrot
18:21 nopaste "NotFound" at 213.96.228.50 pasted "nci xlib test - 4" (699 lines) at http://nopaste.snit.ch/13940
18:22 NotFound Another try
18:23 Tene Same behavior as before.
18:23 Tene What's it supposed to do?
18:23 NotFound Tene: draw points when button down and moving
18:23 Tene ah
18:25 NotFound Mmmm... forgot the 'Bool' type
18:25 NotFound please do this: grep "typedef .* Bool" /usr/include/X11/*
18:27 Tene /usr/include/X11/Xdefs.h:typedef int Bool;
18:29 cotto_work particle: ping
18:29 particle pong
18:33 rurban_away joined #parrot
18:52 nopaste "NotFound" at 213.96.228.50 pasted "nci xlib test - 5" (699 lines) at http://nopaste.snit.ch/13942
18:52 NotFound Last attempt
18:55 rurban I've added more cygwin070patches to parrot-porters. Anybody knows about my cla status?
18:56 particle rurban: chromatic generally checks the po box, best to contact him
18:57 rurban he was here yesterday. hmm.
18:57 NotFound rurban: Did you have the cygwin xserver?
18:57 rurban I do have. Do want the xlib nci to be tested?
18:58 NotFound rurban: please do.
18:58 rurban I suppose it should be in runtime/parrot/library/xlib.pir, right?
18:59 NotFound rurban: is just a test program, not a library yet.
18:59 dalek r30732 | moritz++ | cygwin070patches:
18:59 dalek : [config] more Makefile hacking
18:59 dalek : * fix a perlcritic test for Compiler.pm
18:59 dalek : * add DESTDIR to languages make install and test-installable
18:59 dalek : * fix forth and tcl build/installed seperation and fixed pbc destination paths
18:59 dalek : * make builds the default targets, all builds all.
18:59 dalek : * fix wrong #ELSEIF to #ELSIF in language makefiles
18:59 dalek : Patch courtesy by Reini Urban, rurban++
18:59 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30732
19:00 rurban moritz++ thanks!
19:00 rdice joined #parrot
19:03 rurban NotFound: it said: Init xlib
19:03 rurban No xlib
19:03 rurban I'll have to check if I have it.
19:04 NotFound rurban: xlib = loadlib "libX11" --> This works in cygwin or needs some change?
19:05 rurban loadlib 'libX11' should work
19:08 rurban nope: it's cygX11-6 on cygwin
19:08 rurban Init xlib
19:08 rurban Init xlib Display
19:08 rurban Parrot VM: PANIC: pppiiiiiii is an unknown signature type.
19:08 rurban CAN_BUILD_CALL_FRAMES is disabled, add the signature to src/call_list.txt!
19:08 purl i already had it that way, rurban.
19:08 rurban simple error, I'll add it
19:09 Zaba_ joined #parrot
19:09 NotFound rurban: requires r30727 at least
19:15 mj41 joined #parrot
19:18 rurban NotMuch: But this sig is still not in call_list/misc.in
19:19 NotFound rurban: I added it to trunk in r30727
19:19 rurban cygX11-6 is for the current x11-org package, but this name changes with every major update
19:19 particle you need to reconfigure, too
19:20 rurban just doing, need time...
19:20 NotFound rurban: this is a quick test, later a stable way to find the lib may be added.
19:20 rurban Ths only one which comes close is: i    ppiiiiiiii
19:22 NotFound rurban: at the end of the file must a be a section: # Testing xlib
19:25 rurban OK, now I get a simple segfault
19:27 NotFound Nice
19:27 rurban I've looked in the wrong branch. The sig is there. xlogo and xclock works fine.
19:30 rurban sorry: it works fine. Hello DisplayName: ""
19:31 nopaste "rurban" at 84.169.232.81 pasted "xlib.pir on cygwin" (7 lines) at http://nopaste.snit.ch/13944
19:32 rurban And with DISPLAY set it even paints a window with title "Hello, parrot"
19:32 NotFound rurban: good!
19:33 rurban Just the close button causes an XIO fatal
19:33 rurban fatal IO error 11
19:33 NotFound rurban: move the mouse with a button pressed, and see if it draws dots.
19:33 rurban It does
19:33 NotFound Close button does not work, press any key to close.
19:33 rurban Ok, this is fine
19:34 NotFound Good, thanks.
19:34 rurban Now I have to find out why opengl does not work with X11 on cygwin.
19:35 rurban freeglut needs DISPLAY set at Configure. OK
19:35 rurban MSVC also? I have not set thi up yet.
19:36 dalek r30733 | julianalbo++ | trunk:
19:36 dalek : add examples/nci/xlib.pir
19:36 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30733
19:37 moritz NotFound: that thing opens a white window with no contents for me - is that how it should be?
19:38 NotFound moritz: with "Hello, parrot" in the title bar.
19:38 rurban yes, just draw with the left mouse
19:38 moritz ah, yes
19:39 moritz cool ;)
19:40 NotFound Not very eye candy, but is a good test of nci capabilities.
19:40 moritz indeed ;)
19:40 moritz now somebody please write a connector to mysql or pg ;)
19:41 rurban should we really add such libs via plain pir, or better with nqp or such?
19:41 rurban pq is already there
19:41 gryphon joined #parrot
19:42 rurban qt, gtk2, xlib, win32api and such
19:42 moritz is it? where?
19:42 rurban library/posg
19:42 NotFound rurban: don't know, this is my first attempt with nci, don't even know if it's usable from HLLs.
19:43 rurban library/postgres.pbc
19:44 rurban library/Pg.pir
19:45 rurban and so on.
19:46 rurban mysql is missing though. This should be done via nci
19:46 rurban ncigen probably
19:47 * moritz doesn't mind which open source database is available
19:47 NotFound A parrot DBI will be a good thing.
19:47 moritz if I could use one of them through Rakudo that would rock
19:49 rurban better write that in a HLL
19:50 rurban perl6 e.g. those pbc's are installed for sure and available for every other HLL
19:50 NotFound By the way, I think parrot links with too much libraries, will be better to dinamically load anything not required by the core.
19:50 moritz if HLL interoprability works
19:50 rurban ++
19:50 rurban pg and opengl esp.
19:50 NotFound Even readline
19:50 rurban hmm, readline is needed by the utils
19:51 NotFound rurban: I disagree, is nive to have it available, but not a requirement.
19:51 NotFound s/nive/nice
19:51 rurban it's just a pbc, not in the shared lib.
19:52 * japhb rezzes for a moment
19:52 NotFound ldd parrot -->  ...... libreadline.so.5 ....
19:53 rurban okay. but this is a basic requirement for almost every such binary
19:53 japhb NotFound: last I heard from the DBI maintainer, the plan is to try to get Parrot able to use JDBC drivers, and build DBI 2 on top of that.
19:54 NotFound Not a bad idea.
19:55 NotFound This will allow, for example, talk to Oracle without a Oracle client.
19:55 particle yep, timbo wants to use the jdbc api
19:55 moritz basically because it is documented ;)
19:55 moritz and tested
19:55 moritz and established
19:55 particle and everywhere
19:55 japhb His argument was that the JDBC drivers have a very well defined surface (unlike Perl 5 DBDs), and they are where the vendors put their most stability effort.
19:56 rurban but we can read .net bytecode, but not the java bytecode yet.
19:56 rurban so shouldn't we try such .NET lib instead?
19:56 * japhb shrugs
19:56 moritz do we need to run the bytecode to be able to use their API?
19:57 rurban technically its about the same.
19:57 particle no
19:57 japhb I'd bet dollars to donuts that JDBC APIs are WAY more stable than anything for .NET.  Microsoft seems to have a fetish for changing DB APIs
19:57 rurban agreed
19:58 rurban If we could read / convert the java vm bytecode (as dotnet) we could simply use the jdbc.
20:00 NotFound Some comment about the xlib.pir code? Is my first pir program of some size, and don't know, for example, if I'm using the globals in recommended ways.
20:01 Tene NotFound: should it work with 64 yet?
20:02 NotFound Tene: I think not, nothing change from your last test, and I've runned out of ideas.
20:02 Tene Oh, right.
20:03 Tene I'm a bit distracted today.  I forgot about our several tests.
20:03 NotFound Somenone wants to donate a x86-64 machine to test in? ;)
20:03 Tene Want to ssh to my laptop?
20:04 NotFound Tene: I can try
20:05 Tene If you want me to, I can set it up.
20:06 NotFound Too late for me today, we can talk about that tomorrow, if no one is interested.
20:06 Tene Okay.
20:07 NotFound I've already reach today much more result than expected :)
20:07 Tene Yes, it's very nice.
20:15 rurban anyone knows why Jonathan didn't try to convert the JVM also?
20:15 particle he did dotnet for a school project
20:15 Tene Man, the ruby grammar is pretty crazy.
20:16 particle so, ENOTUITS|ENOCREDITS
20:16 rurban because they are very similar. And there are a lot of java libs out there which we could just use.
20:17 pmichaud particle: phone?
20:17 purl hmmm... phone is 1/4".
20:17 particle dotnet bytecode translator is far from complete
20:17 rurban and we can even convert them from a stack machine to a register machine
20:17 particle oops
20:19 Tene I'm trying to get it to give reasonably useful parse errors right now.
20:23 Tene Right now if there's a parse failure, the error is reported as occurring quite a bit earlier
20:24 moritz not enough sequence points?
20:25 Tene sequence points?
20:25 purl sequence points are at the ? and the :
20:25 moritz Tene: stuff that prevents backtracking
20:25 Tene I'm really not sure.
20:26 Tene I don't have a good handle on when PGE backtracks.
20:27 pmichaud if using rule and token, then it doesn't backtrack
20:28 Tene That's what I thought.
20:28 pmichaud at least not in the normal sense of backtracking
20:29 pmichaud but moritz said is essentially correct -- you probably need more sequence points in the grammar
20:34 Tene The problem when trying to track down the issues is that it unwinds all the way back before failing, so I have trouble seeing what it was trying to parse.
20:34 dalek r30734 | tene++ | trunk:
20:34 dalek : [cardinal]
20:34 dalek : * Parse fail more appropriately in some cases
20:34 dalek : * Update hash/hash.t to use test.rb
20:34 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30734
20:37 Ademan joined #parrot
20:59 pmichaud Tene: yes, that's why you need the sequence points, to stop the unwinding somewhere more helpful
20:59 Tene What's the syntax?
20:59 purl hmmm... the syntax is a nightmare
20:59 pmichaud I'll give an example... just a sec
20:59 Tene Aw.  purl is discouraging.
21:00 pmichaud languages/perl6/src/parser/grammar.pg:147
21:00 Tene Ah, so just what I did in my last commit.
21:01 pmichaud yes, although that looks a little funny to me.
21:01 Tene Does PGE do Perl 5 regexes?
21:01 pmichaud it does, but P6Grammar does not.
21:01 Tene Ah.
21:01 Anandeep joined #parrot
21:02 pmichaud but yes, what you did in your last patch is the general idea
21:03 pmichaud once you've successfully parsed something, add a sequence point that says "if we backtrack here, the error occurred after this point because everything up-to-now was okay."
21:03 peepsalot joined #parrot
21:03 dalek r30735 | julianalbo++ | trunk:
21:03 dalek : use XDrawLine in example xlib.pir
21:03 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30735
21:04 pmichaud I'm looking for a good way to embed PIR into Perl 6 subs... any ideas?
21:04 Tene eval :lang<pir> ?
21:04 rurban .include ??
21:04 purl hmmm... .include is like if you'd just copy and pasted the code from the other file where the .include is.
21:04 moritz pmichaud: q:pir{...} ?
21:04 pmichaud eval is a runtime operation, so that's not really it.
21:05 pmichaud moritz: you mean as a term in void context?
21:05 moritz pmichaud: if it returns nothing, yes
21:05 pmichaud conceivably the PIR could return something.
21:05 Tene pmichaud: do you know quickly if src/parser/quote_expression.pir supports parsing p5regex?
21:06 pmichaud Tene: it does not.
21:06 Tene Okay.
21:06 pmichaud but I guess if the PIR could return something, that'd be just the way it is.
21:06 Tene For now cardinal only gets P6 rules, then.
21:06 pmichaud so, q:pir might actually work out.  hrm.
21:07 cotto_work is the perl6 phone meeting still in progress?
21:07 pmichaud no
21:07 pmichaud typically they last at most 60 minutes
21:07 cotto_work good to know
21:09 toddr joined #parrot
21:10 toddr left #parrot
21:13 dalek r30736 | tene++ | trunk:
21:13 dalek : [cardinal]
21:13 dalek : * Slightly more appropriate requirements for rebuilding test.pir
21:13 dalek : * Regex support
21:13 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30736
21:15 dalek r30737 | tene++ | trunk:
21:15 dalek : MANIFEST and metadata fixes for recent cardinal files.
21:15 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30737
21:20 chromatic joined #parrot
21:20 chromatic In Rakudo, .exists doesn't exist on Hash yet?
21:20 rurban hi chromatic: do you know about my cla?
21:21 chromatic I didn't see it the other day; I'll check again tomorrow.
21:21 rurban thanks.
21:22 moritz chromatic: I think it does
21:23 chromatic I see a multi for it, but November's CGI.pm has a comment:
21:23 chromatic (Hash.:exists not
21:23 chromatic # implemented yet)
21:23 moritz uhm.
21:23 moritz you're right
21:24 moritz at least the "normal" form %hash.exists('item') could be implemented, I think
21:24 dalek r30738 | allison++ | pdd27mmd:
21:24 dalek : [pdd27mmd] Shifting 'pow', 'bor', 'band', and 'bxor' over to regular opcodes.
21:24 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30738
21:24 chromatic I can define a method in Hash.pir; is that all?
21:25 moritz yes
21:25 moritz (at least for a start)
21:25 chromatic and then run t/spec/S29-hash/exists.t ?
21:26 moritz I think that also tests 'exsits %hash{"item"}', which isn't specced anymore
21:26 chromatic It looks like it needs fudging anyway.
21:26 moritz oh, and it uses list assignment and hash slices
21:26 moritz which both aren't implemented
21:27 moritz or in other words, at the moment it's useless to us :(
21:27 chromatic I figured, but I've spent a lot more time fixing bugs in C than Rakduo.
21:27 chromatic I can't even spell Rakudo, apparently!
21:27 moritz I can add a few basic tests that are easier to work with
21:29 chromatic I'll make a basic sanity test file for now, but I won't check it in.
21:29 chromatic (also there's a typo in the word "existance")
21:31 moritz I'll fix that too, thanks
21:32 moritz updated the test.
21:32 nopaste "chromatic" at 63.105.17.30 pasted "exists method for Perl6Hash" (16 lines) at http://nopaste.snit.ch/13949
21:33 chromatic Seems like that's all it takes.
21:33 toddr joined #parrot
21:33 toddr left #parrot
21:33 moritz chromatic: go right ahead and commit it, I'll make the tests runnable
21:33 chromatic I can't seem to find the %params.:exists{$key} syntax that November wants, but %params.exists{$key} seems to work
21:34 moritz that .:exists syntax is still being discussed
21:34 chromatic This ought to help them slightly though.
21:34 dalek r30739 | chromatic++ | trunk:
21:34 dalek : [Rakudo] Added .exists method for Hash.
21:34 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30739
21:39 pmichaud I think we could get .:exists to work without too much difficulty
21:40 pmichaud the biggest "problem" is that STD.pm has substantially refactored since we wrote that part of rakudo
21:40 chromatic I just couldn't imagine writing many programs without .exist.
21:41 moritz chromatic_away: well, there's only one program in Perl 6 yet that runs on Rakudo...
21:41 moritz (or maybe two)
21:44 dalek r30740 | moritz++ | trunk:
21:44 dalek : [rakudo] added S29-hash/exists.t to spectest_regression, chromatic++
21:44 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30740
21:52 cotto_work particle, ping
22:00 dalek r30741 | julianalbo++ | trunk:
22:00 dalek : add some keyboard handling to example xlib.pir
22:00 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30741
22:00 dalek r30742 | tene++ | trunk:
22:00 dalek : [cardinal]
22:00 dalek : * Few more sequence points
22:00 dalek : * Parse next,break,redo, but throw a more-specific error
22:00 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30742
22:01 chromatic_away moritz: also, the irclog HTML has a typo in "suggetions" in the footer.
22:07 grim_fandango joined #parrot
22:07 slightlyoff joined #parrot
22:10 idemal joined #parrot
22:12 dalek r30743 | allison++ | pdd27mmd:
22:12 dalek : [pdd27mmd] Shift 'bors', 'bands', and 'bxors' to real opcodes.
22:13 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30743
22:15 dalek r30744 | julianalbo++ | trunk:
22:16 dalek : disable some debugging output in examples xlib.pir
22:16 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=30744
22:50 cotto_work moritz, the URL for 'imprint' is also incorrect
22:57 tetragon joined #parrot
23:08 s1n chromatic: you around?
23:08 chromatic Yes.
23:10 s1n i replied to RT#56712
23:10 chromatic Thanks!
23:10 s1n if you don't have access to a 64bit system, i can do the debugging for you if you can help me understand some of that code
23:11 s1n i'm getting some strange memory problems with parrot from time to time but i've never been sure if it was just rakudo or parrot, i can work through those too if you want my help
23:11 chromatic I don't have access.  Did you see the GC problem debugging guidelines on the Wiki?
23:11 s1n uhh no, link?
23:12 s1n i don't really know how to read that C code for the PMC stuff and i do have experience with C heh
23:12 chromatic http://perlbuzz.com/project-hum/2007/11/ho​w-to-debug-memory-problems-in-parrot.html
23:13 chromatic http://www.perlfoundation.org/p​arrot/index.cgi?fixing_gc_bugs
23:14 s1n hmm ok, lots to read
23:14 s1n i'll give this a try
23:15 chromatic The last one is the best.
23:15 s1n to the point, im going out for a run, i'll read it when i get back

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

Parrot | source cross referenced