Camelia, the Perl 6 bug

IRC log for #parrot, 2012-06-04

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:26 kjs joined #parrot
00:29 lucian_ joined #parrot
00:34 whiteknight joined #parrot
00:59 dalek m1: e766c53 | kjs++ | src/ (2 files):
00:59 dalek m1: fix types of arrays.
00:59 dalek m1: review: https://github.com/parrot/m1/commit/e766c532e6
01:03 dalek m1: cf985f6 | kjs++ | t/string.m1:
01:03 dalek m1: add a new nice string test file.
01:03 dalek m1: review: https://github.com/parrot/m1/commit/cf985f65dd
01:11 dalek m1: adeefee | kjs++ | src/gencode.c:
01:11 dalek m1: various improvements; fix if statement.
01:11 dalek m1: review: https://github.com/parrot/m1/commit/adeefeee2d
01:14 woosley joined #parrot
01:21 justin joined #parrot
01:22 justin joined #parrot
01:22 justin joined #parrot
01:35 kid51 joined #parrot
02:20 crab2313 joined #parrot
02:24 scrottie8 joined #parrot
02:24 scrottie8 Coke, you suck.
02:25 benabik WTF?
02:26 * sorear blinks
02:29 * sri prefers pepsi too
02:35 dalek nqp/qrpa: fad75ad | pmichaud++ | src/pmc/qrpa.pmc:
02:35 dalek nqp/qrpa: QRPA: Update comment in QRPA.set_integer_native to be a little more accurate.
02:35 dalek nqp/qrpa: review: https://github.com/perl6/nqp/commit/fad75add1a
03:34 crab2313 joined #parrot
03:53 dalek rakudo/map: 6941eb1 | pmichaud++ | src/core/List.pm:
03:53 dalek rakudo/map: Temporarily revert the use of qlist in this branch until I make
03:53 dalek rakudo/map: sure it plays okay with the serializer.  This puts 1..BIGNUM lists
03:53 dalek rakudo/map: back to their horribly slow state, but future commits will definitely
03:53 dalek rakudo/map: get us the performance back.
03:53 dalek rakudo/map: review: https://github.com/rakudo/rakudo/commit/6941eb1028
03:53 dalek rakudo/map: 916c59a | pmichaud++ | src/core/ (2 files):
03:53 dalek rakudo/map: Remove (basically unused) :$sink option to .reify(); sinks will be
03:53 dalek rakudo/map: refactored slightly differently.
03:53 dalek rakudo/map: review: https://github.com/rakudo/rakudo/commit/916c59ad84
04:24 myhrlin joined #parrot
05:24 myhrlin left #parrot
06:05 dalek m1: b84315f | jimmy++ | Makefile:
06:05 dalek m1: improved Makefile a bit.
06:05 dalek m1: review: https://github.com/parrot/m1/commit/b84315f1ff
06:29 fperrad joined #parrot
06:34 dalek rakudo/nom: d351efc | moritz++ | src/core/ (2 files):
06:34 dalek rakudo/nom: typed exception for Set coercion
06:34 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/d351efc62e
06:34 aloha (parrot/parrot) Issues opened : 779 (Silence failing auto::va_ptr probes) by rurban : https://github.com/parrot/parrot/issues/779
06:57 brrt joined #parrot
07:01 dalek rakudo/nom: cad7b6c | moritz++ | src/core/ (2 files):
07:01 dalek rakudo/nom: another typed exception for DateTime
07:01 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/cad7b6c29c
07:09 aloha (parrot/parrot) Issues opened : 780 (This contains a test to prove that Parrot_api_get_compiler is unreliable) by bdw : https://github.com/parrot/parrot/issues/780
08:20 crab2313 joined #parrot
08:55 kjs joined #parrot
10:08 crab2313 joined #parrot
10:43 dalek m1: 52faf9a | kjs++ | / (4 files):
10:43 dalek m1: few cleanups.
10:43 dalek m1: review: https://github.com/parrot/m1/commit/52faf9a39a
10:48 JimmyZ joined #parrot
11:42 brrt1 joined #parrot
11:46 eternaleye_ joined #parrot
11:46 perlite joined #parrot
12:29 kjs JimmyZ: thanks for your contributions to M1!
12:29 kjs JimmyZ++
12:30 JimmyZ kjs: hopes you will like the new script :P
12:30 kjs it's great yes
12:31 bluescreen joined #parrot
12:31 kjs JimmyZ: is it possible to silence all output from the assembler as well, so we can have "make test" output only "ok..1" "ok..2" etc. ?
12:35 PacoAir joined #parrot
12:36 Coke weird. that is the only instance of that user "Coke, you suck." in the logs.
12:37 Coke If anyone knows what I did to upset him, please let me know.
12:37 PacoAir joined #parrot
12:37 kjs Coke: :-) you expected more?
12:37 dalek m1: 8442914 | jimmy++ | run_m1.sh:
12:37 dalek m1: silence all output from the assembler
12:37 dalek m1: review: https://github.com/parrot/m1/commit/8442914ca8
12:38 Coke ah. this looks likely: http://www.youtube.com/user/​scrottie?gl=CO&hl=es-419
12:38 Coke since there's a reference to .pl and kthakore.
12:40 Coke also https://twitter.com/#!/scrottie
12:48 KonkeyDong joined #parrot
12:50 KonkeyDong can someone explain the difference between $/ and ~$/ in the following code?
12:50 KonkeyDong method identifier($/) { make PAST::Var.new( :name(~$/), :scope('package'), :node($/) ); }
12:50 KonkeyDong I understand that $/ is the match object for the regex
12:50 KonkeyDong but what does the tilde do in ~$/ ?
12:51 KonkeyDong (google isn't helping)
12:54 JimmyZ KonkeyDong: http://perlcabal.org/syn/S03.html
12:55 JimmyZ KonkeyDong: see http://perlcabal.org/syn/S03.h​tml#Symbolic_unary_precedence
12:55 KonkeyDong oh ok
12:56 KonkeyDong so :name is a string and :node is a match object yes?
12:58 JimmyZ KonkeyDong: yes, see https://github.com/perl6/nqp/​blob/toqast/src/QAST/Var.nqp
12:58 KonkeyDong thanks
12:59 JimmyZ KonkeyDong: know that there is a trait 'is'
13:00 JimmyZ maybe it's not trait, just inherit
13:04 KonkeyDong I am reading docs/pct/past_building_blocks.pod and it says that :node is for annotating the source file. What's up with that? Typo?
13:04 KonkeyDong quote: " Sets this node's "source" and "pos" attributes. "
13:04 KonkeyDong "These indicate which part of the source code generated this node."
13:06 JimmyZ KonkeyDong: I don't know, you may want ask it in #perl6
13:06 KonkeyDong ok
13:06 KonkeyDong thanks for your help
13:06 KonkeyDong bye
13:07 KonkeyDong left #parrot
13:08 Psyche^ joined #parrot
13:17 kjs joined #parrot
13:31 * JimmyZ doesn't know how to fix Segfault in m0 :(
13:31 kjs JimmyZ: I commented out the free() calls
13:32 kjs try that, worked form e.
13:32 kjs for me*
13:32 JimmyZ kjs: or add a exit op to every m0 file end
13:32 kjs does that help?
13:32 kjs can do...
13:33 kjs but i thought it wasnt necessary
13:33 JimmyZ kjs: yes. exit 0 means exit immediately.
13:34 kjs ok, but if there's an issue in M0, it should be fixed, not hidden ;-)
13:34 JimmyZ kjs: yes, it wasn't neccessary, but avoids m0 segfault :P
13:34 kjs JimmyZ: there's one more thing I'd like to add to the build process
13:34 kjs sometimes I'm making small chagnes to the m1.y parser spec
13:35 JimmyZ kjs: aye.
13:35 JimmyZ kjs: I meant +1
13:35 kjs but it's really easy to oversee if that introduced shift/reduce or reduce/reduce conflicts
13:35 kjs so, i'd like to stop the build process immediately once that happens
13:36 JimmyZ kjs: +1.
13:36 kjs not sure if that's possible; is it possible to redirect the output of bison to a file and see if it contains the word "conflict"?
13:36 kjs s/oversee/overlook*
13:37 JimmyZ I don't know. and seems I can't find a way to use 'bison -o'
13:38 kjs can you redirect its stdout or stderr?
13:39 JimmyZ I didn't try that
13:39 kjs i'm not sure if that message comes on stderr or stdout
13:39 kjs but if it's overlooked for too long, and too many changes are made, it's really painful to recover from it.
13:41 JimmyZ maybe whitenight++ knows about it
13:42 kjs is it possible to do that in the shell script?
13:42 Coke change the thing that compiles it to scrape the output and die if it finds it? (no way to force bison to die on that?)
13:43 Coke --warnings=error
13:44 Coke (that way you can just keep using make as expected.
13:46 kjs ah found it
13:47 kjs %expect 0
13:47 kjs (conflicts)
13:47 kjs in the bison spec
13:47 dalek m1: 4be5473 | kjs++ | / (2 files):
13:47 dalek m1: ensure that any conflicts in the .y file result in errors. update todo.
13:47 dalek m1: review: https://github.com/parrot/m1/commit/4be5473d07
13:53 whiteknight joined #parrot
13:57 crab2313 How to use m1's test suit? Should I put it into a specific directory?
13:57 kjs crab2313: make test
13:57 kjs if you have an M1 file, just store it in the t file
13:57 kjs the script will pick it up.
13:57 kjs it's overdue a refactoring. Need to clean it up a bit, and test for specific features
13:58 kjs but for now it gives me a quick indication whether I broke something signficiantly while i'm editing.
13:58 kjs you can run individual files with the ./run_m1.sh script (thanks jimmy++)
13:59 crab2313 I mean, m0 and m0_assembler.pl
13:59 kjs oh sorry, don't know about that. I've just moved those files into my working M1 directory and use them there.
14:04 jashwanth joined #parrot
14:04 isBEKaml joined #parrot
14:04 isBEKaml ~.~
14:05 jashwanth joined #parrot
14:06 jashwanth whiteknight:Hello
14:06 whiteknight hello jashwanth
14:07 jashwanth Done with exams now
14:07 whiteknight awesome! How did you do?
14:08 jashwanth not that great but good
14:08 whiteknight that's good
14:09 isBEKaml I just updated clang/llvm to 3.1 and it still throws SIGILL when I try running config/auto/va_ptr/test_c.in. Looks like rurban++ reported the same issue in #779.
14:09 whiteknight isBEKaml: when did this start appearing? I don't remember it ever being an issue before
14:09 whiteknight can be bisect it and find a cause?
14:09 crab2313 kjs: It works. Thank you.
14:10 jashwanth whiteknight:now I am confused where do I start from
14:10 isBEKaml If anyone can reproduce this on a 32 bit x86 machine, maybe I can try contacting llvm folks.
14:10 isBEKaml whiteknight: I'm not at all sure. When I came across it, I had just thought of using clang for compiling instead of gcc.
14:11 isBEKaml compiling *parrot*
14:11 whiteknight I use clang as my only compiler and use it on several linux platforms. I've never seen this issue
14:11 whiteknight but I haven't built master in about two weeks, so I'm wondering if we can bisect
14:11 isBEKaml whiteknight: 32 bit? I'm not sure config changed at all.
14:11 whiteknight I'm on 64-bit most of the time
14:12 isBEKaml from what not_gerd says, the issue was fixed for PPC and 64 bit machines.
14:13 isBEKaml Here's another bit of info to pinpoint the cause - it works when I try emit-llvm and use it to generate the executable.
14:16 dalek parrot/m0: 739fa60 | jimmy++ | src/m0/c/m0_ (2 files):
14:16 dalek parrot/m0: implement print_n op
14:16 dalek parrot/m0: review: https://github.com/parrot/parrot/commit/739fa609a0
14:29 dalek m1: 5202866 | jimmy++ | / (3 files):
14:29 dalek m1: add small fixs
14:29 dalek m1: review: https://github.com/parrot/m1/commit/5202866658
14:33 isBEKaml whiteknight: https://gist.github.com/2868739
14:33 isBEKaml whiteknight: I had gisted something similar a couple of days ago. That showed the difference in generated assembly code between clang and gcc.
14:34 whiteknight ok
14:36 jsut joined #parrot
14:45 isBEKaml https://gist.github.com/2853291 #the difference in assembly code.
14:46 dalek m1: 27611c9 | jimmy++ | / (3 files):
14:46 dalek m1: a little refactor to Makefile
14:46 dalek m1: review: https://github.com/parrot/m1/commit/27611c9833
14:46 JimmyZ joined #parrot
15:08 dmalcolm joined #parrot
15:33 brrt1 whiteknight, you here?
15:33 whiteknight yessir
15:34 brrt1 well, i fixed up compiling winxed as you might have seen
15:35 brrt1 so starting from /now/ you can actually run applications
15:35 brrt1 as long as they do something simple
15:35 whiteknight okay, that's great progress!
15:35 brrt1 what i wanted to know was
15:36 brrt1 i want to pass a (pointer to) the contents of a string to ap_rwrite via nci
15:36 brrt1 thing is, this string does not have to be null-terminated, and as far as encoding is concerned, i can worry about that
15:36 brrt1 so afaik, i could do with a raw pointer to a string
15:36 brrt1 (as in, the internal pointer)
15:36 whiteknight so basically you need a pointer to the raw buffer underlying the STRING, and the length of it?
15:37 brrt1 yes, that would do extremely well
15:37 whiteknight Long ago there was a 't' character for nci that did this, but that was removed for a variety of reasons
15:37 brrt1 but i don't know if it s guarranteed or should be guaranteed that the raw buffer is contiguous
15:38 whiteknight okay
15:38 brrt1 if it was, it'd save me copying
15:39 brrt1 rest of the week, i'm planning to spend on getting a non-hacky building and testing system
15:40 whiteknight to take the old 't' element from NCI signatures there was an NCI::Utils  library added to do the conversion.
15:40 whiteknight https://github.com/parrot/parrot/blob/mas​ter/runtime/parrot/library/NCI/Utils.pir
15:42 whiteknight you probably want the call_with_cstring function
15:42 brrt1 i'll see
15:44 not_gerd joined #parrot
15:44 benabik ~~
15:45 not_gerd isBEKaml: did you try to compile the va_ptr test on -O0?
15:45 alester joined #parrot
15:45 * benabik wants gcc to recognize -Ono
15:45 isBEKaml not_gerd: no. I tried it with -O3
15:47 isBEKaml benabik: gcc is probably smirking at clang now.. ;)
15:48 benabik isBEKaml: Howso?
15:48 isBEKaml benabik: well, for this particular issue in question, it works fine when compiling with gcc, but not with clang.
15:48 brrt1 ok, so as far as I see it, I can use nci-utils to load a function, call it with a string, and have it work
15:48 brrt1 fun
15:49 benabik isBEKaml: Oh.  I hadn't paid attention to the actual issue under discussion.  I just though -Ono was amusing.
15:50 isBEKaml not_gerd: -O0 failed with the same error. Can you look over the two gists I pasted above, if anything's off?
15:50 isBEKaml (backscroll)
15:51 not_gerd isBEKaml: I saw it in the logs, but didn't see anything obvious
15:51 isBEKaml benabik: that would be amusing when I'm compiling C++ templates on. :)
15:51 not_gerd I also can't reproduce on clang 3.0/Cygwin and clang 3.1/MinGW-w64
15:53 whiteknight does this issue only appear when optimizing?
15:53 isBEKaml whiteknight: no, from the configure script, it doesn't even optimize.
15:54 whiteknight ok
15:54 rurban joined #parrot
15:56 isBEKaml not_gerd: well, we just have to wait until we hear from someone with 32bit x86 machine. rurban apparently hit this issue enough to send a pull request.
15:57 rurban you mean pull request #779?
15:57 isBEKaml rurban: \o/
15:57 isBEKaml rurban: can you say what was the error you got when running auto::va_ptr?
15:58 rurban A page full of ADDRESS_SANITIZER debug traces
15:59 isBEKaml boo, I don't have address sanitizer on. :(
16:00 rurban Maybe only capture it when ccflags contains -faddresss-sanitizer
16:00 isBEKaml rurban: maybe I didn't compile it into llvm/clang.
16:00 rurban Since 3.1 only
16:01 rurban I use always the latest version from llvm svn
16:01 isBEKaml yes, this is 3.1
16:02 brrt1 left #parrot
16:22 Coke isBEKaml, not_gerd: I have a 32bit x86 machine. need me to run something?
16:25 not_gerd Coke: clang -o test -DVA_TYPE_STACK -x c test_c.in && ./test
16:25 not_gerd in config/auto/va_ptr
16:26 rurban There might be some stderr noise which could conflict with /^ok/. Maybe /^ok/m is better
16:27 not_gerd rurban: the noise should only be present on x86 in case of -DVA_TYPE_REGISTER
16:28 rurban register was clean for me, only stack failed
16:28 not_gerd 32-bit or 64-bit architecture?
16:28 rurban 64bit
16:29 rurban but I can test 32 also
16:29 rurban I just need to setup my smokers to do parrrot again
16:31 not_gerd rurban: that's expected behaviour
16:31 NotFound joined #parrot
16:31 not_gerd x86 uses a simple pointer as va_list, whereas it's more complex on x86-64 (and PPC32)
16:32 Coke not_gerd: ENOCLANG
16:32 Coke (This is win7.)
16:33 NotFound whiteknight: getting a pointer to the string content is easier with ByteBuffer
16:33 not_gerd rurban: if you're interested, check out getVAListDeclaration() in lib/Basic/Targets.cpp from the Clang source tree ;)
16:33 whiteknight ah yes, that might be true
16:33 not_gerd Coke: :(
16:42 crab2313 joined #parrot
16:49 dalek m1: 0b104c9 | kjs++ | src/ (4 files):
16:49 dalek m1: a few fixes to parsing/lexing usertypes. fix a comment. fix some layout.
16:49 dalek m1: review: https://github.com/parrot/m1/commit/0b104c90c4
16:54 dalek m1: a79f51a | kjs++ | src/gencode.c:
16:54 dalek m1: implement gencode for booleans.
16:54 dalek m1: review: https://github.com/parrot/m1/commit/a79f51a8d0
17:01 jashwanth why is slavorg inactive
17:03 Coke opbots, names?
17:08 dalek m1: f0e7ac5 | kjs++ | src/gencode.c:
17:08 dalek m1: reorder expr in switch alphabetically. easier to know if something's missing.
17:08 dalek m1: review: https://github.com/parrot/m1/commit/f0e7ac5692
17:10 Coke looks like there is no slavorg connected. was there not another opbot?
17:10 Coke also, shouldn't we have our bots like p6eval and ttbot locked down a bit more?
17:12 moritz Coke: what do you mean by "locked down"?
17:15 Coke moritz: no clue. let me ask a different question: why nopaste" show
17:15 Coke bah.
17:15 Coke * why "+nopaste", but "ttbot"
17:15 Coke ?
17:16 moritz Coke: we just use the 'voice' flag to show that it's a bot; but at the current channel setting there's no real difference
17:17 moritz Coke: you can say /voice dalek p6eval ttbot
17:17 moritz Coke: or you can op me, and I'll do it :-)
17:18 NotFound That discrimination against bots should end someday. All users are connected equal, humans and bots.
17:18 moritz the internet: a place where "humanist" can be a swear word :-)
17:21 NotFound whiteknight: io_cleanup1: ASSERT_ARGS uses shouldn't have a semicolon at end
17:23 NotFound whiteknight: src/io/api.c io_setup vtables and src/io/buffer.c io_buffer_find_string_marker
17:23 whiteknight thanks
17:23 whiteknight I haven't run any codetests yet
17:24 NotFound whiteknight: I've not commited fixes myself because I'm having different result in different machines
17:24 whiteknight you're welcome to commit any fixes you think are good
17:24 NotFound whiteknight: other one: UNUSED shouldn't be placed before declarations.
17:25 NotFound (did I said some time that I hate convoluted C macros?)
17:25 whiteknight I forget sometimes because PARROT_ASSERT is so weird
17:25 whiteknight it goes before declarations and doesn't have a semicolon
17:25 NotFound src/io/pipe.c io_pipe_seek
17:26 whiteknight I haven't implemented any seek, peek or tell operations yet
17:26 whiteknight so those all are going to change
17:26 NotFound src/io/socket.c io_socket_seek
17:27 NotFound whiteknight: then use if (a == a) throw instead of UNUSED(a)
17:29 NotFound whiteknight: didn't clang have an option to force old C strictness?
17:31 whiteknight I have no idea
17:31 NotFound Maybe the time has come to drop that requirement and use a not vintage C. If you want to use Visual Studio, compile as C++. Even Microsoft people says that!
17:33 NotFound Propably even vintage hobbyist Z80 C compilers accept more modern C that that.
17:40 lucian_ joined #parrot
18:00 PacoAir joined #parrot
18:04 dalek parrot: cd78d9b | rurban++ | config/auto/va_ptr.pm:
18:04 dalek parrot: Silence failing auto::va_ptr probes
18:04 dalek parrot:
18:04 dalek parrot: clang -faddress-sanitizer prints a log to stderr on the failing
18:04 dalek parrot: stack test. Use cc_run_capture instead.
18:04 dalek parrot: review: https://github.com/parrot/parrot/commit/cd78d9b34d
18:04 dalek parrot: a640473 | dukeleto++ | config/auto/va_ptr.pm:
18:04 dalek parrot: Merge pull request #779 from rurban/master
18:04 dalek parrot:
18:04 dalek parrot: Silence failing auto::va_ptr probes
18:04 dalek parrot: review: https://github.com/parrot/parrot/commit/a640473014
18:06 brrt joined #parrot
18:08 aloha (parrot/parrot) Issues closed : 779 (Silence failing auto::va_ptr probes) by rurban : https://github.com/parrot/parrot/issues/779
18:30 kjs joined #parrot
18:48 not_gerd left #parrot
18:48 dalek parrot/m0: 863e308 | kjs++ | src/m0/c/m0_ops.c:
18:48 dalek parrot/m0: fix print_n op. stole details from add_n op.
18:48 dalek parrot/m0: review: https://github.com/parrot/parrot/commit/863e30884e
18:50 cotto that's a bit more accurate
18:50 rurban Could someone reopen issue 765? interp->exit_handler_list = NULL is still not safe
18:52 benabik Reopened.
18:53 aloha (parrot/parrot) Issues reopened : 765 (With --leak-test at the final interp->exit_handler_list = NULL; interp is already freed ) by rurban : https://github.com/parrot/parrot/issues/765
18:53 benabik It was odd.  The page said "Closed", but the history was patch, closed, reopened, comment.
18:54 rurban I'm adding a patch for that
18:55 benabik rurban++
18:55 rurban But Whiteknight should reconsider the already freed interp somewhen
18:58 aloha (parrot/parrot) Issues opened : 781 (Mark --leak-test to be skipped with AddressSanitizer) by rurban : https://github.com/parrot/parrot/issues/781
18:59 rurban benabik++ thanks.
19:08 dalek m1: 80e6f91 | kjs++ | src/ (7 files):
19:08 dalek m1: add "char" type. Not sure if we want this but seems useful when reimplementing M1's lexer in M1. This commit also demonstrates which chnages would have to be made for adding a built-in type.
19:08 dalek m1: review: https://github.com/parrot/m1/commit/80e6f913be
19:16 kjs cotto: hi there. would you be able to write some documentation of what is involved in calling a chunk, and returning from it? Basically, a document describing the various steps involved (setting args, receiving return values, setting up a new call frame, doing the invocation, doing the returning from a function, and setting return values). Once that's available I would have a much easier time implementing M1's function calls. Once /that's/ done, then
19:16 kjs 90% there I think (for what I've got in mind now).
19:17 cotto some parts of that have yet to be figured out, namely dealing with arguments and return values
19:18 kjs ok, those things can be ignored for now then. I think updating or changing an existing implementation would not be a big problem.
19:25 brrt joined #parrot
19:34 zby_home joined #parrot
19:52 brrt joined #parrot
20:02 kjs_ joined #parrot
20:10 perlite joined #parrot
20:13 kjs_ joined #parrot
20:19 kjs_ joined #parrot
20:54 kjs joined #parrot
20:56 brrt joined #parrot
21:04 estrabd joined #parrot
21:06 bluescreen joined #parrot
21:23 kurahaupo joined #parrot
21:38 dalek m1: 49bf2dd | kjs++ | caller.m1:
21:38 dalek m1: add translated version of poke_caller test of M0. This is to get an understanding what's happening. This will not run though.
21:38 dalek m1: review: https://github.com/parrot/m1/commit/49bf2dd81b
21:54 rurban Why does install_files.pl have to copy symlinks as symlinks?
21:58 rurban Forget it. Found a workaround
22:08 dalek parrot: 7bf8f07 | alvis++ | docs/compiler_faq.pod:
22:08 dalek parrot: Removed url to 'http://www.parrotblog.org/2008​/03/targeting-parrot-vm.html' and replaced it with 'http://parrot.github.com/html/examples/langu​ages/squaak/doc/tutorial_episode_1.pod.html'. I noticed this last week, but forgot about it 'til dukeleto++'s post to parrot-dev.
22:08 dalek parrot: review: https://github.com/parrot/parrot/commit/7bf8f07931
22:18 whiteknight joined #parrot
22:22 dalek m1: de044cc | kjs++ | src/gencode.c:
22:22 dalek m1: code generation for function calls part 1 of many probably. That's a lot of instructions for a fun call.
22:22 dalek m1: review: https://github.com/parrot/m1/commit/de044cccb6
22:23 whiteknight good afternoon, #parrot
22:29 rurban Hi whiteknight: I reopened the --leak-test issue as interp can be already freed in the new function GH #765
22:30 whiteknight rurban: okay, thanks
22:30 rurban I suggest to ignore it
22:30 rurban see my patch in GH #781
22:31 whiteknight ok
22:31 rurban Or maybe you can really fix it, marking interp as being already freed somehow.
22:32 rurban e.g. by writing deadbeef into the ptr and comparing it before setting it to NULL
22:34 dalek m1: c7548f1 | kjs++ | src/gencode.c:
22:34 dalek m1: code for returning from chunks. should not always be generated. figure out a way to do this.
22:34 rurban Newer libc have a env MALLOC_POISON feature which does about the same as address sanitizer with its use-after-free detection
22:34 dalek m1: review: https://github.com/parrot/m1/commit/c7548f101f
22:38 whiteknight rurban: That sounds reasonable. I'll look at it
22:47 dalek m1: 31ac4b2 | kjs++ | src/gencode.c:
22:47 dalek m1: put in more instructions that need to be generated. fix generation of a parent cf reg.
22:47 dalek m1: review: https://github.com/parrot/m1/commit/31ac4b2d65
22:53 rurban_mobile joined #parrot
23:01 dalek m1: 4b0ddde | kjs++ | / (4 files):
23:01 dalek m1: generated pretty much all instructions from poke_caller example. no luck yet. (segfault)
23:01 dalek m1: review: https://github.com/parrot/m1/commit/4b0ddde00e
23:06 dalek m1: b575423 | kjs++ | / (4 files):
23:06 dalek m1: delete generated files that were accidentaly commited. and move a test file to t/
23:06 dalek m1: review: https://github.com/parrot/m1/commit/b5754234c5
23:13 dalek m1: 98934a0 | kjs++ | src/gencode.c:
23:13 dalek m1: a few more lines to generate. Function calls need serious debugging. (takers welcome ;-)
23:13 dalek m1: review: https://github.com/parrot/m1/commit/98934a095b
23:27 * kjs thinks he has chunk calls figured out
23:28 kjs that warrants another half an hour hacking :-)
23:40 dalek m1: de327cd | kjs++ | src/gencode.c:
23:40 dalek m1: function calls almost done. However, not sure if this will work. called function needs to have different return sequence of instructions for each caller, not to whomever called it. (also cleaned up layout a bit of generated instr)
23:40 dalek m1: review: https://github.com/parrot/m1/commit/de327cdb58

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

Parrot | source cross referenced