github.com/moarvm/moarvm | IRC logs at colabti.org/irclogger/irclogger_logs/moarvm Set by AlexDaniel on 12 June 2018. |
|||
01:56
MasterDuke left,
MasterDuke joined
01:57
MasterDuke left,
MasterDuke joined
|
|||
timotimo | chars requires a concrete string, but got null | 02:01 | |
at gen/moar/stage2/QAST.nqp:5526 (/home/timo/perl6/install/share/nqp/lib/QAST.moarvm:serialize_sc) | |||
from gen/moar/stage2/QAST.nqp:5533 (/home/timo/perl6/install/share/nqp/lib/QAST.moarvm:deserialization_code) | |||
from gen/moar/stage2/QAST.nqp:5473 (/home/timo/perl6/install/share/nqp/lib/QAST.moarvm:compile_node) | |||
well, this is certainly fun! | |||
MasterDuke | unrelated to your enum hacking? | 02:03 | |
timotimo | no, very related indeed | ||
MasterDuke | whoops | 02:04 | |
btw, do you know anything about the js backend? | |||
timotimo | barely. i've built it once or twice | ||
MasterDuke | the nqp-js-cross binary is always created? | 02:05 | |
timotimo | don't know | ||
MasterDuke | k | 02:06 | |
timotimo | i mean it might not | 02:07 | |
sounds like that's the initial thing that lets you generate js code by running nqp on moar | |||
MasterDuke | i'm in a clean nqp, built with --backends=moar,js | ||
make install dies with `Unhandled exception: While looking for 'nqp.moarvm': no such file or directory` | 02:08 | ||
timotimo | no clue what's wrong there | 02:09 | |
i can run the code directly, but when i "use" the module it asplodes | 02:13 | ||
MasterDuke | doing anything crazy in it? | 02:14 | |
.ask pmurias i'm trying to build (nqp|rakudo)-js, but `perl Configure.pl --prefix=/home/dan/Source/perl6/install/ --backends=moar,js && make -j6 install` dies in the `make -j6 install` with `Unhandled exception: While looking for 'nqp.moarvm': no such file or directory`. any suggestions? | 02:20 | ||
yoleaux | MasterDuke: I'll pass your message to pmurias. | ||
timotimo | well, i'm evaling some code that's supposed to add methods to a bunch of classes | 02:35 | |
what i would really want to do is make it a macro :) | 02:38 | ||
so that it just makes a value at compile time | |||
MasterDuke | there is currently experimental support for some macro functionality, correct? | 02:41 | |
timotimo | aye | ||
it hasn't changed in a long long time :) | |||
but i think it could very well be good enough | 02:42 | ||
unfortunately, i want it to be a method on the enum, methods and macros don't mix | |||
so it'd have to be a sub or operator instead | |||
m: macro postcircumfix:<[| |]>($pre, $post) { say "blep"; }; Bool[| True, False |] | 02:43 | ||
camelia | ===SORRY!=== Error while compiling <tmp> Use of macros is experimental; please 'use experimental :macros' at <tmp>:1 ------> macro⏏ postcircumfix:<[| |]>($pre, $post) { sa |
||
timotimo | m: use experimental :macros; macro postcircumfix:<[| |]>($pre, $post) { say "blep"; }; Bool[| True, False |] | ||
camelia | ===SORRY!=== Error while compiling <tmp> Missing required term after infix at <tmp>:1 ------> t) { say "blep"; }; Bool[| True, False |⏏] expecting any of: prefix term |
||
timotimo | it don't like my braces :( | ||
*shrug*, i'll go to bed and redo it tomorrow :) | |||
MasterDuke | later... | 02:44 | |
04:12
vendethiel- joined
04:21
vendethiel- left
05:45
robertle left
07:46
domidumont joined
08:25
zakharyas joined
12:37
zakharyas left
13:01
AlexDaniel left
13:53
lucasb joined
14:47
zakharyas joined
16:26
domidumont left
17:13
robertle joined
18:18
AlexDaniel joined
18:35
zakharyas left
18:38
zakharyas joined
19:02
lucasb left
19:42
zakharyas left
20:26
AlexDaniel left
21:09
Ven`` joined
21:14
dogbert17 joined
23:19
Ven`` left
|