Perl 6 language and compiler development | Logs at colabti.org/irclogger/irclogger_log/perl6-dev | For toolchain/installation stuff see #perl6-toolchain | For MoarVM see #moarvm Set by Zoffix on 27 July 2018. |
|||||||||||||||||||||||||||||||||||||||
00:02
lizmat joined,
p6bannerbot sets mode: +v lizmat
00:14
MasterDuke joined,
p6bannerbot sets mode: +v MasterDuke,
MasterDuke left,
MasterDuke joined,
herbert.freenode.net sets mode: +v MasterDuke,
p6bannerbot sets mode: +v MasterDuke
01:37
lizmat left
01:44
cognominal-p6 left
02:12
ZofBot left
02:16
CIAvash left
02:17
AlexDaniel` left,
ilmari_ left,
tyil[m] left
02:46
tyil[m] joined,
p6bannerbot sets mode: +v tyil[m],
CIAvash joined,
p6bannerbot sets mode: +v CIAvash
02:50
AlexDaniel` joined,
p6bannerbot sets mode: +v AlexDaniel`
02:51
ilmari_ joined,
p6bannerbot sets mode: +v ilmari_
03:07
ufobat_ joined
03:08
p6bannerbot sets mode: +v ufobat_
03:11
ufobat left
03:38
ilmari_ left
03:39
CIAvash left,
AlexDaniel` left,
tyil[m] left
03:41
[Tux] left
04:28
AlexDaniel` joined,
p6bannerbot sets mode: +v AlexDaniel`
04:30
ilmari_ joined,
p6bannerbot sets mode: +v ilmari_
04:33
tyil[m] joined,
p6bannerbot sets mode: +v tyil[m]
04:36
CIAvash joined,
p6bannerbot sets mode: +v CIAvash
04:40
cognominal-p6 joined
04:41
p6bannerbot sets mode: +v cognominal-p6
05:09
cognominal-p6 left
06:01
[Tux] joined,
hankache joined
06:02
p6bannerbot sets mode: +v [Tux],
p6bannerbot sets mode: +v hankache
06:18
[Tux] left
07:21
Kaiepi left
07:36
[Tux] joined,
p6bannerbot sets mode: +v [Tux]
07:38
Kaiepi joined
07:39
p6bannerbot sets mode: +v Kaiepi
07:43
AlexDaniel left
07:45
Kaiepi left
07:46
Kaiepi joined,
p6bannerbot sets mode: +v Kaiepi
07:49
hankache left
|
|||||||||||||||||||||||||||||||||||||||
nine | .tell pmurias pluggable keyword! Yes that was the way I thought of at some conference but subsequently forgot | 07:53 | |||||||||||||||||||||||||||||||||||||
yoleaux | nine: I'll pass your message to pmurias. | ||||||||||||||||||||||||||||||||||||||
08:05
cognominal-p6 joined
08:06
p6bannerbot sets mode: +v cognominal-p6
08:14
cognominal-p6 left,
cognominal-p6 joined
08:15
p6bannerbot sets mode: +v cognominal-p6
08:27
Kaiepi left,
Kaiepi joined
08:28
p6bannerbot sets mode: +v Kaiepi
08:36
dct joined,
p6bannerbot sets mode: +v dct
08:48
dct left
08:57
MasterDuke left
|
|||||||||||||||||||||||||||||||||||||||
nine | .tell cygx I think there's nothing preventing us from having r/w access to foreign lexicals. It already works for package globals and both languages provide sufficient means to intercept variable access. The real trick may be to enumerate lexicals available in a scope. | 09:02 | |||||||||||||||||||||||||||||||||||||
yoleaux | nine: I'll pass your message to cygx. | ||||||||||||||||||||||||||||||||||||||
09:08
lizmat joined,
p6bannerbot sets mode: +v lizmat
09:45
cygx joined
09:46
p6bannerbot sets mode: +v cygx
|
|||||||||||||||||||||||||||||||||||||||
cygx | o/ | 09:47 | |||||||||||||||||||||||||||||||||||||
yoleaux | 09:02Z <nine> cygx: I think there's nothing preventing us from having r/w access to foreign lexicals. It already works for package globals and both languages provide sufficient means to intercept variable access. The real trick may be to enumerate lexicals available in a scope. | ||||||||||||||||||||||||||||||||||||||
cygx | nine: that's why my 'minimal viable product' mockup came with explicit declaration sof lexicals you want to access | ||||||||||||||||||||||||||||||||||||||
also, couldn't we just parse a subset of Perl5 on the perl6-side (quoting constructs and counting curlies, basically) to find the end of the block? | 09:48 | ||||||||||||||||||||||||||||||||||||||
nine | That would get you far, but you'd run into lovely traps like $" | 09:58 | |||||||||||||||||||||||||||||||||||||
Also there's regexes which make it a whole lot more complicated | |||||||||||||||||||||||||||||||||||||||
But the pluggable keyword method pmurias suggested should get us all the way there. I've come up with the same idea during some conference talk and his successful experiment is a good indicator that the idea is sound | 09:59 | ||||||||||||||||||||||||||||||||||||||
cygx | still, the minimalist approach could make a nice advent post - though I'm not sure I'll find the time | 10:11 | |||||||||||||||||||||||||||||||||||||
the last time I tried anything like this (unbusting FROGGS's v5 after the GLR), I failed miserably ;) | |||||||||||||||||||||||||||||||||||||||
Kaiepi | can anyone rec some books on java i could use to better learn the language? | 10:26 | |||||||||||||||||||||||||||||||||||||
atm i only know syntax and what i can forage from documentation | |||||||||||||||||||||||||||||||||||||||
10:28
cognominal-p6 left
10:46
pmurias joined,
p6bannerbot sets mode: +v pmurias
|
|||||||||||||||||||||||||||||||||||||||
pmurias | Kaiepi: have you seen: docs.oracle.com/javase/tutorial/java/index.html | 10:46 | |||||||||||||||||||||||||||||||||||||
yoleaux | 07:53Z <nine> pmurias: pluggable keyword! Yes that was the way I thought of at some conference but subsequently forgot | ||||||||||||||||||||||||||||||||||||||
pmurias | Kaiepi: that's what I used to learn Java for nqp-truffle | 10:47 | |||||||||||||||||||||||||||||||||||||
Kaiepi | nope, but i'll take a look at it | 10:49 | |||||||||||||||||||||||||||||||||||||
thanks | |||||||||||||||||||||||||||||||||||||||
10:55
cygx left
|
|||||||||||||||||||||||||||||||||||||||
pmurias | I had the 'Thinking in Java' book years ago but the official docs are better (the book is super long and the docs are up to date) | 10:56 | |||||||||||||||||||||||||||||||||||||
11:08
ilmari left
|
|||||||||||||||||||||||||||||||||||||||
pmurias can't wait to get back to the truffle backend | 11:09 | ||||||||||||||||||||||||||||||||||||||
|Tux| |
|
11:26 | |||||||||||||||||||||||||||||||||||||
11:27
pmurias left
|
|||||||||||||||||||||||||||||||||||||||
11:38
pmurias joined,
p6bannerbot sets mode: +v pmurias
11:42
AlexDaniel joined,
p6bannerbot sets mode: +v AlexDaniel
12:13
pmurias left
12:40
pmurias joined,
p6bannerbot sets mode: +v pmurias
12:42
cognominal-p6 joined,
lucasb joined,
p6bannerbot sets mode: +v cognominal-p6
12:43
p6bannerbot sets mode: +v lucasb
12:55
pmurias left
12:59
pmurias joined,
p6bannerbot sets mode: +v pmurias
13:04
cognominal-p6 left,
cognominal-p6 joined
13:05
p6bannerbot sets mode: +v cognominal-p6
13:07
TimToady left
13:08
pmurias left
13:09
TimToady joined
13:10
p6bannerbot sets mode: +v TimToady
13:18
pmurias joined,
p6bannerbot sets mode: +v pmurias
13:24
pmurias left
13:40
pmurias joined,
p6bannerbot sets mode: +v pmurias
13:42
leont joined,
p6bannerbot sets mode: +v leont
13:47
lucasb left
13:55
lizmat left
13:57
pmurias left
13:58
pmurias joined,
p6bannerbot sets mode: +v pmurias
14:00
pmurias left
14:03
pmurias joined,
p6bannerbot sets mode: +v pmurias
|
|||||||||||||||||||||||||||||||||||||||
Kaiepi | i think i'll need to end up having each vm support different socket options since the jvm supports the fewest and is missing some important ones like SO_TIMEOUT | 14:06 | |||||||||||||||||||||||||||||||||||||
14:06
pmurias left
14:08
pmurias joined,
p6bannerbot sets mode: +v pmurias
|
|||||||||||||||||||||||||||||||||||||||
gfldex | m: my @words = ('aa'..'zz').pick(100); my $p = start my @a = @words.grep({/g/ && /l/}); await $p; say @a; | 14:23 | |||||||||||||||||||||||||||||||||||||
camelia | [] | ||||||||||||||||||||||||||||||||||||||
gfldex | m: my @words = ('aa'..'zz').pick(100); my $p = start my @a = @words.hyper.grep({/g/ && /l/}); await $p; say @a; | ||||||||||||||||||||||||||||||||||||||
camelia | An operation first awaited: in block <unit> at <tmp> line 1 Died with the exception: A worker in a parallel iteration (hyper or race) initiated here: in code at <tmp> line 1 Died at: Invocant of method 'matchā¦ |
||||||||||||||||||||||||||||||||||||||
gfldex | I don't quite understand the error message. | ||||||||||||||||||||||||||||||||||||||
timotimo | are they sharing $/ perhaps? | ||||||||||||||||||||||||||||||||||||||
gfldex | that could be, because I got a script that segfaults | 14:24 | |||||||||||||||||||||||||||||||||||||
timotimo | i bet it will work just fine if you use .contains("g" & "l") | ||||||||||||||||||||||||||||||||||||||
gfldex | "No such method 'ends-with' for invocant of type 'Mu'" | 14:29 | |||||||||||||||||||||||||||||||||||||
timotimo: ^^^ wrong guess :) | 14:30 | ||||||||||||||||||||||||||||||||||||||
timotimo | that's rather not so good :) | ||||||||||||||||||||||||||||||||||||||
does it get better if you do it without "start"? | 14:31 | ||||||||||||||||||||||||||||||||||||||
gfldex | I think there where less elements in the array then hyper was trying to pull. | 14:32 | |||||||||||||||||||||||||||||||||||||
timotimo | ah, right, you could change the batch number for that purpose | 14:33 | |||||||||||||||||||||||||||||||||||||
14:53
cognominal-p6 left,
cognominal-p6 joined
14:54
p6bannerbot sets mode: +v cognominal-p6
15:04
pmurias left
15:07
fake_space_whale joined
15:08
pmurias joined,
p6bannerbot sets mode: +v pmurias,
p6bannerbot sets mode: +v fake_space_whale,
pmurias left
15:12
pmurias joined,
p6bannerbot sets mode: +v pmurias
15:15
pmurias left
15:18
pmurias joined,
p6bannerbot sets mode: +v pmurias,
benjikun joined
15:19
p6bannerbot sets mode: +v benjikun
15:24
dogbert11 joined
15:25
p6bannerbot sets mode: +v dogbert11
15:27
dogbert17 left
15:59
cognominal-p6 left
16:02
pmurias left
16:03
pmurias joined,
p6bannerbot sets mode: +v pmurias
16:05
cognominal-p6 joined
16:06
p6bannerbot sets mode: +v cognominal-p6
16:14
cognominal-p6 left,
cognominal-p6 joined
16:15
p6bannerbot sets mode: +v cognominal-p6
16:27
pmurias left
16:33
pmurias joined,
p6bannerbot sets mode: +v pmurias
16:41
pmurias left,
pmurias joined,
p6bannerbot sets mode: +v pmurias
16:50
pmurias left
16:51
robertle left
16:55
pmurias joined,
p6bannerbot sets mode: +v pmurias
17:07
lizmat joined,
p6bannerbot sets mode: +v lizmat
17:27
brrt joined,
p6bannerbot sets mode: +v brrt
17:43
[TuxCM] joined,
p6bannerbot sets mode: +v [TuxCM]
17:51
ExtraCrispy joined,
p6bannerbot sets mode: +v ExtraCrispy
|
|||||||||||||||||||||||||||||||||||||||
Kaiepi | how do i debug an error like "Bytecode validation error at offset 820, instruction 122:" when adding new ops? | 18:15 | |||||||||||||||||||||||||||||||||||||
18:25
[TuxCM] left
|
|||||||||||||||||||||||||||||||||||||||
timotimo | how did you add the op, and did you recompile rakudo completely (i.e. including the extops) after changing moarvm? | 18:29 | |||||||||||||||||||||||||||||||||||||
now webpack is building all the shit in my node_modules | 18:31 | ||||||||||||||||||||||||||||||||||||||
disregarding my exclude: /node_modules/, | |||||||||||||||||||||||||||||||||||||||
that was in the wrong chat, but it's still relevant | 18:33 | ||||||||||||||||||||||||||||||||||||||
18:34
pmurias left
18:35
pmurias joined,
p6bannerbot sets mode: +v pmurias
|
|||||||||||||||||||||||||||||||||||||||
Kaiepi | i added the ops to the oplist in moar, ran tools/update_ops, rebuilt moar, went to nqp, and added the ops to src/vm/moar/QAST/QASTOperationsMAST.nqp | 18:35 | |||||||||||||||||||||||||||||||||||||
but when i run make m-bootstrap-files this happens timotimo | |||||||||||||||||||||||||||||||||||||||
oh and added them to interp.c | 18:38 | ||||||||||||||||||||||||||||||||||||||
timotimo | but you're not yet using the ops inside of nqp, right? | 18:42 | |||||||||||||||||||||||||||||||||||||
Kaiepi | not yet, no | 18:43 | |||||||||||||||||||||||||||||||||||||
timotimo | then everything should work, hm. | 18:44 | |||||||||||||||||||||||||||||||||||||
does the validator not say anything more than that? | |||||||||||||||||||||||||||||||||||||||
oh, and where in the oplist did you add the new op? | |||||||||||||||||||||||||||||||||||||||
Kaiepi | right before the spesh ops | 18:45 | |||||||||||||||||||||||||||||||||||||
wdym by the validator? | |||||||||||||||||||||||||||||||||||||||
timotimo | "Bytecode validation error at offset 820, instruction | 18:46 | |||||||||||||||||||||||||||||||||||||
122:" | |||||||||||||||||||||||||||||||||||||||
Kaiepi | oh | 18:50 | |||||||||||||||||||||||||||||||||||||
on my last try it gave me this hastebin.com/ejuxiwilof.coffeescript | 18:51 | ||||||||||||||||||||||||||||||||||||||
timotimo | hum | 18:52 | |||||||||||||||||||||||||||||||||||||
don't know what that's about :| | |||||||||||||||||||||||||||||||||||||||
Kaiepi | oh, turns out i just needed to clean out the installation i had before trying to install it | 18:59 | |||||||||||||||||||||||||||||||||||||
thanks for the help though | |||||||||||||||||||||||||||||||||||||||
timotimo | phew | 19:03 | |||||||||||||||||||||||||||||||||||||
damn. | |||||||||||||||||||||||||||||||||||||||
19:16
brrt` joined,
p6bannerbot sets mode: +v brrt`
19:17
brrt left
19:26
ExtraCrispy left
19:30
robertle joined
19:31
p6bannerbot sets mode: +v robertle
19:38
pmurias left
19:39
pmurias joined,
p6bannerbot sets mode: +v pmurias
19:40
patrickb joined
19:41
p6bannerbot sets mode: +v patrickb,
pmurias left
19:44
pmurias joined,
p6bannerbot sets mode: +v pmurias
20:08
brrt`` joined,
ufobat_ left
20:09
p6bannerbot sets mode: +v brrt``
20:10
brrt` left
20:12
brrt`` is now known as brrt
20:27
[TuxCM] joined
20:28
p6bannerbot sets mode: +v [TuxCM]
20:36
pmurias left
20:37
pmurias joined,
p6bannerbot sets mode: +v pmurias
20:47
[TuxCM] left
20:50
pmurias left
21:11
pmurias joined,
p6bannerbot sets mode: +v pmurias,
robertle left
21:21
brrt left
21:22
lizmat left
21:25
pmurias left
21:32
pmurias joined,
p6bannerbot sets mode: +v pmurias
21:33
patrickb left
21:50
dct joined,
p6bannerbot sets mode: +v dct
21:57
pmurias left
|