github.com/moarvm/moarvm | IRC logs at irclog.perlgeek.de/moarvm/today
Set by moderator on 3 August 2013.
00:57 benabik joined 00:59 FROGGS_ joined 01:10 crab2313 joined 01:22 ggoebel joined 01:32 colomon joined 01:44 Util joined, timotimo joined 01:46 tadzik joined 01:58 FROGGS__ joined 04:54 birdwindupbird joined 05:25 FROGGS joined 05:49 Alpha64 left 05:52 FROGGS joined 06:39 FROGGS joined 09:10 crab2313 joined 11:50 crab2313 joined 11:59 colomon joined 12:44 itz joined
timotimo just from looking at nqp-moar-cc.nqp i can't seem to figure out how to make it return an error value from MAIN when moarvm segfaulted :| 13:26
and i don't see where the moarvm binary gets started, so i'm not sure how i could even grep the output for "core dumped" or something
FROGGS timotimo: it would be faster anyway if you precompile the test code and run it via: ./moarvm test.moarvm 13:27
timotimo i'm not going to make a massive thange to the perl5 parts of the benchmark framework, thank you very much :| 13:28
what's the perl5 operator for "match against this regex"? =~ or ~=? 13:29
FROGGS =~
and !~ for negation
timotimo thank you
FROGGS :o) 13:30
timotimo yeah, what do i know about perl5. 13:39
apparently "if $err =~ /core\\ dumped/ { warn "segfault"; return undef; }" is a syntax error?
and apparently suddenly a bunchton of variables need an explicit package name or something 13:40
aaaah
if needs parens
that was a hard to decipher error message >_>
JimmyZ perl6 doesn't need
timotimo i know. this is perl5 though :) 13:41
but my regex doesn't seem to match what i want it to match, so ... :| 13:44
FROGGS $ perl -E '$err = "... core dumped ..."; if ($err =~ /core dumped/) { warn "segfault" }' 13:53
segfault at -e line 1.
13:53 Alpha64 joined 16:17 FROGGS joined 16:57 colomon joined 17:19 FROGGS joined 18:04 crab2313 joined 19:02 Alpha64_ joined 19:22 crab2313 joined 19:48 Alpha64__ joined 20:23 Alpha64 joined 20:48 ggoebel joined 21:15 jlaire joined 23:31 FROGGS joined 23:42 Alpha64 joined