github.com/moarvm/moarvm | IRC logs at colabti.org/irclogger/irclogger_logs/moarvm Set by AlexDaniel on 12 June 2018. |
|||
01:52
sena_kun joined
01:54
Altai-man_ left
03:52
Altai-man_ joined
03:54
sena_kun left
05:10
vrurg left
05:11
vrurg joined
05:16
vrurg left
05:44
vrurg joined,
vrurg left,
vrurg joined
05:53
sena_kun joined
05:54
Altai-man_ left
|
|||
nwc10 | good *, #moarvm | 06:14 | |
07:30
zakharyas joined
07:51
Altai-man_ joined
07:54
sena_kun left
08:53
sena_kun joined
08:56
Altai-man_ left
|
|||
lizmat | nwc10 o/ | 09:03 | |
nwc10 | \o | ||
jnthn | o/ | 09:31 | |
09:51
Altai-man_ joined
09:54
sena_kun left
|
|||
nine | o| | 10:21 | |
10:41
patrickb joined
11:08
robertle left
11:21
zakharyas left
11:47
bingos is now known as BinGOs
11:52
sena_kun joined
11:54
Altai-man_ left
12:03
vrurg left
12:04
vrurg joined
12:09
vrurg left
12:12
vrurg joined
12:49
zakharyas joined
13:24
MasterDuke left
13:27
Geth_ left,
leont_ left,
nebuchadnezzar left
13:28
Geth_ joined,
leont_ joined,
nebuchadnezzar joined
13:41
patrickb25 joined
13:43
patrickb left
13:49
sena_kun left
|
|||
lizmat | and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2020/07/13/2020-28-bridges-7/ | 14:09 | |
14:13
sena_kun joined
15:27
patrickb25 left
15:31
squashable6 left
15:32
patrickb joined
15:33
squashable6 joined
15:49
sena_kun left
16:35
sena_kun joined
17:20
zakharyas left
|
|||
patrickb | timotimo: WRT github.com/Raku/App-Rakubrew/issues/17 | 17:39 | |
timotimo: Can you have a look at this change: github.com/Raku/nqp/pull/645 | 17:44 | ||
It relies on $NQP_HOME to be set in the context (not sure what context that actually is). The variable is currently only set in rakudo though: github.com/rakudo/rakudo/blob/mast...in.nqp#L51 | 17:45 | ||
Would this PR actually work when running rakudo? | 17:47 | ||
I suspect it won't as it's a different HLL. | 17:52 | ||
17:53
sena_kun left
18:06
sena_kun joined
18:35
sena_kun left
18:50
sena_kun joined
18:59
zakharyas joined
19:04
sena_kun left
19:05
sena_kun joined
19:11
sena_kun left
19:28
MasterDuke joined
19:32
sena_kun joined
|
|||
timotimo | patrickb: do you happen to know what other place calculates the path? does it happen in the C launcher or something? | 20:28 | |
since the template path stuff happens after the raku code runs, we can put path calculation in raku code as well | |||
and the hll at a given place in the code is statically based on what compiles it; that piece of code is compiled by nqp so it'll have nqp set as the hll | |||
we probably also have ops to get symbols from another hll by its name | 20:29 | ||
patrickb | In rakudo the C runner does some ground work to determine the executable path (and calculates the home dirs, but only for internal use). Then the src/main.nqp and src/rakudo-debug.nqp files determine the home dirs and set up those hll symbols. | 20:30 | |
20:30
sena_kun left
|
|||
patrickb | The NQP C runner does the same. | 20:30 | |
The NQP src/NQP/Compiler.nqp does not set up the HLL symbol though (I added that in one of the above PRs) | 20:31 | ||
The thing that worries me a bit in my PRs is that code in NQP relies on the NQP_HOME HLL symbol, which needs to be set up in rakudos src/main.nqp. | 20:33 | ||
I also set it up in NQPs src/NQP/Compiler.nqp, but that is never called when running Rakudo. | |||
20:49
sena_kun joined
20:54
zakharyas left
21:04
sena_kun left
21:19
sena_kun joined
21:31
patrickz joined
|
|||
timotimo | right, rakudo's compiler derives from HLL::Compiler, not NQP::Compiler | 21:36 | |
patrickb | So I could put the logic into HLL::Compiler and leave it out in rakudo? That would clean things up a bit! | 22:04 | |
But where would I put it there? Sounds a bit out of place to put it into BUILD or some such... | 22:07 | ||
22:18
patrickb left
22:19
patrickz left
|
|||
timotimo | i mean, it could just go in a method i guess? | 22:21 | |
23:09
sena_kun left
23:35
sivoais left
23:36
sivoais joined
23:42
leont_ left
|