»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, std:, or /msg camelia p6: ... | irclog: irc.perl6.org | UTF-8 is our friend! Set by masak on 12 May 2015. |
|||
00:05
vendethiel left
|
|||
AlexDaniel | hoelzro: rt.perl.org/Public/Bug/Display.html?id=125285 | 00:07 | |
done :) | |||
00:08
larion joined
|
|||
hoelzro | nice! | 00:09 | |
00:15
vendethiel joined
00:18
panchiniak joined
00:26
BenGoldberg joined
00:27
caddar joined
|
|||
dpk | is it possible to implement parsers for Python-style indentation-sensitive recursive syntaxes with Perl 6 rules? | 00:33 | |
without needing an initial tokenization stage or input preprocessing | 00:34 | ||
pure PEGs (and CFGs in general) cannot do this | |||
but looking at Perl 6's possibilities with code assertions and closures it seems it *should* be possible … | |||
00:37
SevenWolf left
00:39
vendethiel left
00:48
FROGGS joined
|
|||
tony-o_ | dpk: you can implement a grammar that surrounds anything indented more than the previous line with { } | 00:56 | |
then in your source all you'd need is use PyPerl; or whatever you call it | 01:13 | ||
01:23
FROGGS left
01:24
FROGGS joined
01:25
adu joined,
aborazmeh joined,
aborazmeh left,
aborazmeh joined
01:26
ShimmerFairy left
01:34
DrForr left
|
|||
rjbs | hoelzro: converted a bunch of code to Buf.push! One weird case, going to try to sort that out now. | 01:40 | |
how up to date is "m:"'s build? | 01:44 | ||
m: my $b = Buf.new; $b.push(1) | 01:45 | ||
camelia | rakudo-moar c2a57e: OUTPUT«Cannot call push(Buf: Int); none of these signatures match: (Any:U \SELF: *@values, *%_) in block <unit> at /tmp/lO1erViuT4:1» | ||
rjbs | Not up to date neough. :-) | ||
Why does this happen? | |||
~$ perl6 -e 'my $b = Buf.new; $b.push(1 xx 1)' | |||
Method 'shift' not found for invocant of class 'Parcel' | |||
I'm guessing because of this in Buf.pm: + nqp::push_i(@splicees, @values.shift) while @values; | 01:46 | ||
01:46
panchiniak left
|
|||
rjbs | This smells like failure: my $b = Buf.new; $b.push( (1 xx 1).list ) | 01:46 | |
01:48
FROGGS left
01:53
Sqirrel left
01:59
kurahaupo joined,
vendethiel joined
02:00
FROGGS joined
02:03
kurahaupo left
02:19
bjz left
|
|||
b2gills | @values is modified but is not marked as being a copy: github.com/rakudo/rakudo/blob/nom/...uf.pm#L282 | 02:19 | |
02:20
bjz joined,
vendethiel left
02:29
ilbelkyr left
02:31
ilbelkyr joined
02:34
rmgk_ joined,
rmgk is now known as Guest82599,
Guest82599 left,
rmgk_ is now known as rmgk
02:38
yqt left
02:43
noganex joined
02:44
tinyblak joined
02:46
noganex_ left
02:47
tinyblak_ left
02:52
adu left
03:02
SevenWolf joined
03:03
BenGoldberg left
|
|||
japhb | .tell hoelzro I think the Tab Completion example in the README.md for github.com/hoelzro/p6-linenoise is incorrect: it uses linenoiseHistoryAdd(), but shouldn't it use linenoiseAddCompletion() instead? | 03:03 | |
yoleaux | japhb: I'll pass your message to hoelzro. | ||
03:07
grondilu left
|
|||
japhb | .tell hoelzro Same issue in the POD at the bottom of lib/Linenoise.pm | 03:09 | |
yoleaux | japhb: I'll pass your message to hoelzro. | ||
03:14
vendethiel joined
|
|||
vendethiel | dpk: yes | 03:25 | |
dpk: that's what I did with github.com/vendethiel/Nephrite.pl/...rammar.pm, based on masak++'s blog post | |||
dpk | hmm, interesting. can it handle arbitrary/mixed indentation styles? e.g. it doesn't force you to use tabs or two or four spaces, and you can use e.g. two spaces at one level and four at another? | 03:29 | |
dpk reads also github.com/masak/text-indented/blo...ndented.pm | 03:30 | ||
vendethiel | it does! | ||
tony-o_ | dpk: you can build it however you want! | ||
vendethiel | but just looking for initial space is easy | ||
tony-o_ | the actions is the harder part but still doable | ||
dpk | strangelyconsistent.org/blog/parsin...ented-text is the post you mean, i assume | 03:31 | |
tadzik | ingy: ^^ this is relevant to your interests | 03:32 | |
dpk | "But there are some indent jumps that we're not allowed to make. Anything that indents more than one step at a time, basically." — this implies that there's a predetermined size to 'steps' | 03:33 | |
vendethiel | in this post, yes. | 03:34 | |
dpk | indeed, that blog post looks like it implements a parser makes you use 4 spaces | ||
vendethiel | but really, $baseIndent ~~ /^(\s+)/; should work to detect it | 03:35 | |
dpk also looks at github.com/arnsholt/snake/ | 03:36 | ||
tadzik | I like.to.think that I follow masak++ blog, but it seems like every day someone posts something cool that I have not read yet :) | ||
Ohh, a cool new post! Wait, 2014? | 03:37 | ||
dpk | hmph, github.com/arnsholt/snake/blob/mas...rammar.nqp tokenizes first (unsurprising, since that's what the Python specification says to do) | ||
github.com/arnsholt/snake/blob/mas...r.nqp#L175 is relevant nonetheless | 03:38 | ||
it's rapidly becoming clear that i don't at all understand how closure state is managed while parsing with grammars | 03:43 | ||
03:45
Sqirrel joined
03:48
ShimmerFairy joined
04:10
tinyblak left
04:24
molaf_ joined
04:27
molaf left
04:35
FROGGS left,
vendethiel left
04:37
FROGGS joined
04:39
tinyblak joined
04:41
AlexDaniel left
04:54
quester joined,
FROGGS left
04:56
FROGGS joined
05:02
xargs joined
05:10
kurahaupo1 joined
05:17
aborazmeh left
05:26
amurf joined
05:31
amurf left,
bjz left
05:32
bjz joined
05:39
bjz left
|
|||
zostay | m: my %h = a => [a => 1], b => [b => 1, b => 2]; %h.perl.say; %h.perl.EVAL; | 05:39 | |
camelia | rakudo-moar c2a57e: OUTPUT«{:a([:a(1)]), :b([:b(1), :b(2)])}<>Type check failed in binding op; expected 'Any' but got 'Mu' in block <unit> at EVAL_0:1 in any <unit-outer> at EVAL_0:1» | ||
05:41
cognominal left,
cognominal joined
|
|||
lizmat | good *, #perl6! | 05:45 | |
m: {:a([:a(1)])} # shorter golf of zostay++ problem | |||
camelia | rakudo-moar c2a57e: OUTPUT«Type check failed in binding op; expected 'Any' but got 'Mu' in block <unit> at /tmp/2Ry1j8d1C3:1» | ||
lizmat | m: {:a([:a(1).])}.perl.say # this *does* work correctly | 05:46 | |
camelia | rakudo-moar c2a57e: OUTPUT«5===SORRY!5=== Error while compiling /tmp/1ERHiVXyz5Unsupported use of . to concatenate strings; in Perl 6 please use ~at /tmp/1ERHiVXyz5:1------> 3{:a([:a(1).]7⏏5)}.perl.say # this *does* work correctl» | ||
lizmat | m: {:a([:a(1),])}.perl.say # oops, I meant comma | ||
camelia | rakudo-moar c2a57e: OUTPUT«{:a([:a(1)])}» | ||
05:47
skids left
|
|||
lizmat | m: [:a(1)] # even shorterer golf | 05:47 | |
camelia | rakudo-moar c2a57e: OUTPUT«Type check failed in binding op; expected 'Any' but got 'Mu' in block <unit> at /tmp/hbNia98HAY:1» | ||
lizmat | zostay: care to rakudobug this ? At least, the .perl output should be fixed to allow roundtripping again | 05:48 | |
05:52
kaare_ joined
05:55
pdcawley left
|
|||
dalek | Heuristic branch merge: pushed 55 commits to rakudo/newio by lizmat | 05:58 | |
06:01
lolisa joined
06:18
kurahaupo1 left
06:20
rindolf joined
|
|||
lizmat | m: [:a] # shorterest golf | 06:28 | |
camelia | rakudo-moar c2a57e: OUTPUT«Type check failed in binding op; expected 'Any' but got 'Mu' in block <unit> at /tmp/9yE6mEqesY:1» | ||
lizmat | m: [:a,].perl.say # works | 06:29 | |
camelia | rakudo-moar c2a57e: OUTPUT«[:a]» | ||
lizmat | breakfast& | 06:31 | |
06:43
mr-foobar left
06:59
Sqirrel left
07:00
Sqirrel joined,
Kachi joined
07:01
Kachi left
07:07
FROGGS left
07:10
rindolf left
07:16
amurf joined
07:18
RabidGravy joined
07:20
FROGGS joined,
amurf left
|
|||
masak | good whatever-the-heck-time-of-day-this-is, #perl6 | 07:32 | |
07:33
mohij joined
|
|||
lizmat | masak o/ | 07:33 | |
masak | m: say [:a,].elems | ||
camelia | rakudo-moar c2a57e: OUTPUT«1» | ||
masak | m: say [:a,][0].WHAT | ||
camelia | rakudo-moar c2a57e: OUTPUT«(Pair)» | ||
masak | I guess `[:a]` should be an array of one Pair, too. | ||
std: [:a] | |||
camelia | std 28329a7: OUTPUT«ok 00:00 135m» | 07:34 | |
masak | oh, 's just rakudo | ||
lizmat | m: [a=> 1].perl.say # that was the intent | ||
camelia | rakudo-moar c2a57e: OUTPUT«[:a(1)]» | ||
lizmat | m: [a=> True].perl.say # closer to the thing | ||
camelia | rakudo-moar c2a57e: OUTPUT«[:a]» | ||
lizmat | m: [a=> True].perl.EVAL # not roundtripping | ||
camelia | rakudo-moar c2a57e: OUTPUT«Type check failed in binding op; expected 'Any' but got 'Mu' in block <unit> at EVAL_0:1 in any <unit-outer> at EVAL_0:1» | ||
lizmat | m: [(:a)].perl.say # does work | 07:35 | |
camelia | rakudo-moar c2a57e: OUTPUT«[:a]» | ||
masak | uhn. | ||
yeah, something is wrong there. | |||
rakudobug filed yet? | 07:36 | ||
lizmat | not afaik | ||
masak submits rakudobug | |||
lizmat | note that the error occurs in from src/gen/m-CORE.setting:23160 (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/./CORE.setting.moarvm:METAOP_REDUCE_LEFT:17) | ||
METAOP_REDUCE_LEFT ??? | |||
07:37
FROGGS left
|
|||
lizmat | afk for a bit& | 07:37 | |
masak | METAOP_REDUCE_LEFT could be because someone did [~] somewhere | 07:38 | |
07:38
darutoko joined
07:40
rindolf joined
07:41
diana_olhovik_ joined
|
|||
RabidGravy | for $*KERNEL on Linux which of "4.0.4-201.fc21.x86_64" or "#1 SMP Thu May 21 15:58:47 UTC 2015" would you say is the version and which the release? | 07:49 | |
currently they are both the latter | |||
masak | lizmat: rt.perl.org/Ticket/Display.html?id=125289 | ||
07:54
gfldex joined
|
|||
RabidGravy | I think the first is closer to what I think of as "version" | 07:56 | |
08:02
diana_olhovik_ left
|
|||
lizmat | afk for some more& | 08:11 | |
masak | gone for the day & | 08:16 | |
08:23
quester left
08:28
jgoff joined
08:32
mohij left,
SevenWolf left
08:34
larion left
08:39
jgoff is now known as DrForr
08:40
mohij joined
08:47
mohij left
08:55
jercos joined
09:04
lizmat_ joined,
lizmat left
09:13
caddar left
09:19
vendethiel joined
|
|||
cognominal | Reading Monitors.pm, I see build => -> | { Lock.new } | 09:22 | |
what the '|' accomplishes here? | |||
in github.com/jnthn/oo-monitors/blob/...ors.pm#L16 | 09:23 | ||
vendethiel | cognominal: signature binding | 09:24 | |
m: sub foo(|c) { say c; }; say foo(1, 2, 3, :a(5)); | 09:25 | ||
camelia | rakudo-moar c2a57e: OUTPUT«\(1, 2, 3, :a(5))True» | ||
vendethiel | m: sub foo(|c) { say c.WHAT.perl; }; say foo(1, 2, 3, :a(5)); | ||
camelia | rakudo-moar c2a57e: OUTPUT«CaptureTrue» | ||
vendethiel | capture*, sorry :) | ||
cognominal | but, in the said example, the pipe char is not in a signature | 09:27 | |
oops, I was confused | 09:29 | ||
so difficult to unlearn that signature are not always within parentheses that in marginal cases like this one, parameterless signature, I don't recognize it. | 09:32 | ||
vendethiel got used to it with Ruby first | |||
cognominal | learning is difficult, unlearning, even harder :( | ||
09:33
AlexDaniel joined
|
|||
cognominal | thx vendethiel++ | 09:33 | |
vendethiel, you once said you don't like OO. But with metaOO, it becomes brilliant | 09:37 | ||
vendethiel | cognominal: I still prefer an AST with an eval function :) | ||
10:04
koo6 joined
10:07
panchiniak joined
10:08
FROGGS joined
10:12
zakharyas joined
10:17
zakharyas left
|
|||
zengargoyle | i'd expect $*KERNEL.release to be '4.0.0-1-amd64' and $*KERNEL.version to be '#1 SMP Debian 4.0.2-1 (2015-05-11)' so that they match up with `uname --kernel-release` and `uname --kernel-version` | 10:22 | |
though they do seem to be sorta backwards namewise... maybe historical? | 10:23 | ||
same on Solaris, release -> x.y, version -> some odd string | 10:25 | ||
10:26
zakharyas joined
|
|||
zengargoyle | funkily enough $*KERNEL.version seems to be munged into oblivion -> v1.SMP.Debian.4.0.2.1.2015.5.11 | 10:26 | |
10:35
zakharyas left
|
|||
RabidGravy | I've just done github.com/rakudo/rakudo/pull/434 to fix it slightly so they are at least different | 10:37 | |
anyway off out for a bit | |||
10:41
pmurias joined
10:42
itz2 joined,
RabidGravy left,
itz2 left
10:43
itz2 joined,
telex left
10:44
telex joined
10:53
amurf joined
10:57
spider-mario joined
10:58
amurf left
11:08
darutoko- joined
11:11
darutoko left
11:23
itz2 left
11:25
yqt joined
11:27
grondilu joined
11:58
Sqirrel left
|
|||
cognominal | Somehow, I think that Perl 6 slogan could be "embrace complexity", being the next conceptual phase after dcomplecting, but go explain that to people that bow to homoiconicty mobile.twitter.com/bodil/status/52...8783072256 | 12:03 | |
12:04
Sqirrel joined
|
|||
DrForr | Debugger::UI::CommandLine triggers an unhandled exception after a fresh build. | 12:17 | |
12:17
rindolf left
12:20
cognominal left
12:22
domidumont joined
12:27
rindolf joined,
domidumont left
12:28
domidumont joined
12:50
aborazmeh joined,
aborazmeh left,
aborazmeh joined
13:14
kaare_ left
13:20
vendethiel left
|
|||
timotimo | blog.printf.net/articles/2015/05/29...ed-github/ - people could like this | 13:20 | |
DrForr | Ah, someone's around again :) Got an interesting inconsistency in library paths/include statements. | 13:21 | |
(well, use statements, not include.) | 13:22 | ||
Let me narrow it down a bit, but running perl6 with multiple -Ilib statements triggers a syntax error in my Readline module that's not present with a single -Ilib argument. | 13:24 | ||
13:27
domidumont left
|
|||
timotimo | uh oh | 13:27 | |
that stuff is a bit new to me, all in all | 13:28 | ||
since changes to it have been so recent | |||
DrForr | Okay, so minefield territory. | ||
It's also a bit awkward because I'm replacing Debugger::UI::CommandLine. | |||
13:31
Akagi201 joined
|
|||
timotimo | "replacing"? :) | 13:36 | |
13:36
aborazmeh left
|
|||
DrForr | Well, replacing the prompt mechanism with Readline so we can get history in the debugger. | 13:38 | |
timotimo | ah | 13:39 | |
i think you can tell perl6-debug-m with a flag what exact UI module it's supposed to look for | 13:40 | ||
13:41
itz joined
|
|||
DrForr | I noticed that it had some CLI parameters, but I think the problem I found is more interesting :) | 13:41 | |
timotimo | probably | 13:42 | |
13:43
itz_ left
|
|||
DrForr | #125290 | 13:45 | |
synbot6 | Link: rt.perl.org/rt3/Public/Bug/Display...?id=125290 | ||
13:46
pecastro left
|
|||
DrForr | Truth be told, I'm not sure whether it's the include paths, the repeated use of NativeCall (shows up in both the Debugger::UI and Readline modules) or just the paths. | 13:47 | |
It just felt like action at a distance, but in a bad way :/ | 13:48 | ||
13:57
Erendis42d joined,
FROGGS left
|
|||
Erendis42d | <3 | 13:57 | |
14:00
Erendis42d left
14:01
koo6 left
14:02
RabidGravy joined
14:03
rindolf left
|
|||
dalek | kudo-star-daily: 14906f6 | coke++ | log/ (2 files): today (automated commit) |
14:08 | |
rl6-roast-data: 1613a57 | coke++ | / (9 files): today (automated commit) |
|||
14:10
raiph joined
14:31
amurf joined,
xfix joined
14:33
llfourn joined
|
|||
dalek | c: 93f4bc1 | paultcochrane++ | lib/Language/variables.pod: Document the $*PROGRAM variable |
14:35 | |
14:36
amurf left
|
|||
ingy | tadzik: thanks | 14:37 | |
14:39
pecastro joined
14:42
vendethiel joined
|
|||
llfourn | hey I was just messing around with opreator overloading -- I was wondering if it's possible to add an infix operator that worked like '.'. Eg $obj->method instead of $obj.method | 14:44 | |
I can do $obj->"method" but ofc I get error without the "" | |||
using a multi sub infix | 14:45 | ||
14:46
skids joined,
raiph left
|
|||
timotimo | right, . is not really an operator, because the RHS isn't a "thing" | 14:51 | |
it's not an expression, that is | |||
so you'll have to build a slang instead of just adding an operator | 14:52 | ||
github.com/FROGGS/p6-Slang-Piersing/ - check this for an example | |||
llfourn | ok thanks! | ||
14:54
kst left,
kst joined,
Zoffix joined
|
|||
timotimo | you're welcome :) | 14:54 | |
llfourn | so slang = hacking the grammar? | ||
timotimo | that's right | 14:55 | |
you're going to have to know a bit about the structure of Perl6::Grammar, unfortunately | |||
llfourn | well I'll give it a shot | 14:56 | |
cheers | |||
timotimo | good luck! :) | 14:57 | |
14:58
itz left
|
|||
[ptc] | moritz++ # nitpicking :-) | 14:58 | |
grondilu thought rakudo was not quite ready for slangs yet. | 14:59 | ||
timotimo | rakudo is quite ready | ||
hoelzro | rjbs: thanks for trying that out; I'll have a look | ||
yoleaux | 03:03Z <japhb> hoelzro: I think the Tab Completion example in the README.md for github.com/hoelzro/p6-linenoise is incorrect: it uses linenoiseHistoryAdd(), but shouldn't it use linenoiseAddCompletion() instead? | ||
03:09Z <japhb> hoelzro: Same issue in the POD at the bottom of lib/Linenoise.pm | |||
grondilu | is there a simple example of a slang somewhere? | ||
timotimo | froggs' v5 has been properly slangified a few months ago and we have a simple SQL slang and Tuxic, which allows [Tux] to adhere to his coding style properly | 15:00 | |
i think Piersing is a very simple slang that might serve as a good example, no? | |||
15:01
itz joined
|
|||
timotimo | um ... wait what | 15:01 | |
grondilu has no idea what Piersing is. | |||
timotimo | allows ? and ! at the end of identifiers | ||
froggs forgot to put "Piersing" back into the code when he copy-pasted it from Tuxic | |||
github.com/FROGGS/p6-Slang-Piersin...a72689c14e | |||
grondilu notices the link above github.com/FROGGS/p6-Slang-Piersing/ | |||
grondilu checks it out | 15:02 | ||
timotimo | github.com/FROGGS/p6-Slang-Piersing/pull/1 :) | ||
grondilu | so nqp code is required, apparently. | 15:03 | |
timotimo | no, just nqp ops | ||
15:03
pecastro left
|
|||
grondilu | well, that qualifies at nqp code in my book | 15:03 | |
timotimo | though "use nqp" kind of sounds like "use the nqp slang" or "this is nqp code" | ||
i respectfully disagree | 15:04 | ||
but then i come at this with a guts-programmer mindset | |||
grondilu | will it always be necessary to invoke nqp ops to define slangs? | ||
moritz | I hope not | ||
grondilu | then that's what I meant when I wrote that I thought rakudo was not quite ready for slangs. | 15:05 | |
moritz | in the past, we've provided a way to avoid nqp:: ops in the MOP by having Perl6::Metamodel::Primitives | ||
maybe we need the same for Perl6::Compiler::Primitives or so | |||
hoelzro | japhb: thanks for pointing that out, fixed! | 15:06 | |
timotimo | i don't remember the primitives thing | 15:08 | |
where can i find that? | |||
15:10
pecastro joined
|
|||
dalek | kudo/nom: ff727fd | hoelzro++ | src/core/Buf.pm: Copy incoming @values for Buf.push Otherwise this doesn't work properly for Parcels |
15:11 | |
ast: 011af40 | hoelzro++ | S03-operators/buf.t: Add a test for pushing Parcels onto Bufs rjbs++ for finding this |
|||
ast: 4806305 | hoelzro++ | S03-operators/buf.t: Fix bad grammar in Buf.push test descriptions |
|||
hoelzro | is jpve still active in the community? Pod::To::Markdown has some opening PRs to address some newer warnings | 15:14 | |
15:14
xargs left
|
|||
moritz | try shooting 'em an email? | 15:16 | |
if there's no reaction, or a negative reaction, we can clone into the perl6-community-modules org | |||
hoelzro | moritz: the PRs should send jpve an email, right? I figure we can clone if they PRs aren't addressed for quite some time | 15:17 | |
maybe another few months | |||
timotimo | the PRs will only send an email if it's not deactivated in the account, or the repository is muted ... can you mute your own repositories? | 15:20 | |
15:20
tinyblak left
|
|||
moritz | hoelzro, timotimo: iirc one can disable email notifications from github altogether | 15:20 | |
hoelzro | ah, good point | ||
timotimo: I think you unwatch it | |||
moritz | and a mail from a human asking about several pull requests is quite a different thing than a few automated mails | 15:21 | |
timotimo | aye | 15:22 | |
on the other hand, mails that are automated, but made to look like they're from a person ... those are aggravating :S | |||
JimmyZ | hoelzro: any reason why not github.com/MoarVM/linenoise? | 15:24 | |
hoelzro | JimmyZ: ignorance of the existence of that repo, mainly =) | 15:25 | |
JimmyZ | hoelzro: which supports windows :) | ||
ha | |||
timotimo | but MoarVM/linenoise is just a fork of the upstream linenoise repository with a tiny amount of patches, if any | 15:28 | |
AFK for a bit | |||
llfourn | can I do something like 'use STD' so I can do STD.parse( 'my $foo = "bar"' ) | 15:30 | |
for STD.p6 | |||
STD.pm6* | 15:31 | ||
im trying to sort of figure out what it calls each of the things so I can make a slang | |||
hoelzro | it's quite difficult to find this guy's e-mail | 15:33 | |
JimmyZ | timotimo: yeah, for supporting windows | 15:34 | |
hoelzro | this is making me wish GH hadn't gotten rid of messaging =/ | ||
15:37
mohij joined
15:47
brrt joined
|
|||
hoelzro | I just came across a segfault when installing JSON::Tiny with rakudo from git; does anyone else see this? | 15:48 | |
15:48
lolisa left
|
|||
DrForr | Yep, just confirmed with 'panda install JSON::Tiny'. | 15:50 | |
15:50
vendethiel left
15:51
caddar joined
15:52
skids left
|
|||
hoelzro | =/ | 15:52 | |
I'm going to dig in, see if this happens with 2015.05 and 2015.04 | 15:53 | ||
ok, doesn't happen with 2015.05 | 15:54 | ||
timotimo | oh | 15:55 | |
... oh god, what have i done ... | |||
llfourn | which perl6 | 15:58 | |
oops ^^ nvm that | |||
16:00
btyler joined
16:03
panchiniak left
|
|||
hoelzro | ok, just reproduced it on 2015.05 =o_O | 16:05 | |
it just didn't happen with rakudobrew'd 2015.05? | 16:06 | ||
this is getting weird | |||
16:07
kaare_ joined
|
|||
AlexDaniel | Hm, I'm wondering: if you can change perl6 syntax so easily, how the hell text editors are supposed to do syntax highlighting and other stuff? | 16:11 | |
llfourn | ==> Successfully installed JSON::Tiny with my rakudobrew 2015.05 | ||
16:12
vendethiel joined
|
|||
timotimo | AlexDaniel: there's always the problem of trust, but the syntax highlighter could use a perl6 grammar and load the slang as well; sounds very flaky, though, doesn't it? | 16:12 | |
llfourn | speaking of loading the perl6 grammar -- can you actually do that atm with rakudo? ie use Perl6::Grammar; Perl6::Grammar.parse(...) | 16:13 | |
I've been trying to figure this out for last 20 mins :) | 16:14 | ||
16:14
araujo left
|
|||
moritz | I don't think it's possible (or easy) | 16:18 | |
github.com/cedric-vincent/kains/bl.../META.info is it normal/correct to not have a 'source-url' or 'repo-url', but rather a 'support'/'url'? | 16:19 | ||
16:20
cognominal joined,
dwarring left
|
|||
timotimo | you can nqp::getcomp('Perl6').parse( ... ) | 16:20 | |
with getcomp you get the Perl6::Compiler object | |||
llfourn | moritz: hmm shame -- i thought my Mu $MAIN-grammar := nqp::atkey(%*LANG, 'MAIN'); make give aceess to it | 16:21 | |
timotimo | hm, it might | ||
llfourn | nqp::getcomp('Perl6').parse( 'my $a = "foo";' ); Cannot call method 'parse' on a null object | 16:22 | |
16:22
kaare__ joined
|
|||
moritz | try it with lower case? | 16:23 | |
llfourn: I don't know to which degree the grammar depends on the actions being there | |||
m: use nqp; nqp::getcomp('perl6').parse( 'my $a = "foo";' ); | |||
camelia | ( no output ) | ||
moritz | m: use nqp; say nqp::getcomp('perl6').parse( 'my $a = "foo";' ); | ||
camelia | rakudo-moar c2a57e: OUTPUT«Method 'gist' not found for invocant of class 'NQPMatch' in block <unit> at /tmp/oRUgM93U_b:1» | ||
16:24
mr-foobar joined
16:25
kaare_ left
|
|||
llfourn | cool thanks. I wonder how easy NQPMatch can be used. | 16:26 | |
16:28
FROGGS joined
|
|||
llfourn | not easily I guess. Ok I'll scratch the parse perl6 with perl6 to figure out what tokens to override to make a slang. | 16:29 | |
for now :) | |||
hoelzro | ok, this is just wacky | 16:36 | |
rakudobuild build moar nom and panda install JSON::Tiny works | 16:37 | ||
tony-o_ | llfourn: what kind of slang? | 16:39 | |
16:40
gfldex left,
pecastro left
|
|||
llfourn | tony-o_: I was simply trying to add -> operator which to start off with was just going to be the same as '.' method call | 16:40 | |
tony-o_ | add that operator to what? | 16:41 | |
or to mean what? | |||
llfourn | like $obj->method as well as $obj.method | ||
tony-o_ | ah!, that should be fun :-) | ||
llfourn | I hope so :) | ||
tony-o_ | there are a couples slangs out there now that can be used as examples | 16:42 | |
slang::tuxic | |||
slang::sql | |||
slang::piersing is out there now too, not sure what the source for that one looks like | 16:43 | ||
llfourn | github.com/FROGGS/p6-Slang-Piersin...iersing.pm | ||
tony-o_ | yea i mean i haven't studied it, i wrote slang-sql, i read slang-tuxic quite a bit | 16:45 | |
llfourn | hmmm thanks | ||
yeah methodop might be the one I need to look at | |||
16:50
brrt left
|
|||
llfourn | wait... maybe I can just do autoload so $obj->meth doesn't give undecl routine and just return string from there | 16:50 | |
rjbs | general #perl6 reminder that you can throw questions at me via email or whatever for github.com/rjbs/QA-LarryWall/ | 16:51 | |
I assume it'll be YouTubed. | |||
16:51
mr-foobar left
16:55
yqt left
16:56
vendethiel left
16:57
Zoffix left
17:00
araujo joined
17:07
itz2 joined
17:10
itz2 left
|
|||
llfourn | well I got the $obj->meth to be valid perl6 -- now I need to make it do something by overriding an action I think | 17:10 | |
dalek | kudo/nom: 57a959f | RabidGravy++ | src/core/Kernel.pm: On Linux use the counterintuitive -r for $*KERNEL.version |
17:13 | |
kudo/nom: 335c1eb | lizmat++ | src/core/Kernel.pm: Merge pull request #434 from jonathanstowe/nom On Linux use the counterintuitive -r for $*KERNEL.version |
|||
17:14
gfldex joined
17:15
colomon left
17:16
Peter_R joined
17:18
colomon joined
17:19
jercos is now known as jercos_,
jercos joined,
vendethiel joined
17:24
jercos_ left
17:25
yqt joined
17:32
tinyblak joined
17:33
FROGGS left
|
|||
lizmat_ | .tell hoelzro Looking at Buf.push(*@a), why isn't that just nqp::push_i(self,$_) for @values ? | 17:34 | |
yoleaux | lizmat_: I'll pass your message to hoelzro. | ||
17:35
itz2 joined
17:40
AlexDaniel left,
AlexDaniel joined
17:44
yqt left
17:48
mohij left
17:54
itz2 left
|
|||
dalek | kudo/nom: e9fa8d9 | lizmat++ | src/core/Buf.pm: Add sanity check for Infinite lists to Buf.push |
18:00 | |
18:01
lizmat_ is now known as lizmat
18:04
vendethiel left
18:06
xfix left
|
|||
[Coke] realizes he can add "&& say done" when doing long build stuff on his mac. | 18:08 | ||
18:09
amurf joined
|
|||
masak | ooh, nice | 18:10 | |
is there something simliar on Linux? | |||
18:11
domidumont joined
18:12
tinyblak left
18:13
amurf left
|
|||
raydiak | sudo apt-get install gnustep-gui-runtime gives you say | 18:13 | |
18:13
itz2 joined
|
|||
raydiak | and most of the rest of gnustep, I'm sure | 18:13 | |
[Coke] | might be worth adding an env var to my shell that will say something in a shell when I get the prompt back. | 18:20 | |
dalek | kudo/nom: f7fb908 | Coke++ | t/spectest.data: Run this already passing test. |
18:21 | |
llfourn | tony-o_: I did it! I got $obj~>method to work the same as $obj.method | 18:22 | |
your SQL one really helped | 18:23 | ||
18:24
vendethiel joined
18:26
mohij joined
18:29
larion joined
18:30
adu joined
|
|||
dalek | ast: b811a84 | Coke++ | S05-match/perl.t: Fudge for rakudo |
18:30 | |
18:31
mr-foobar joined
|
|||
dalek | kudo/nom: 66f6258 | Coke++ | t/spectest.data: run fudged test |
18:31 | |
[Coke] | hoelzro: S26-documentation/block-leading.t isn't being run - there's some failures in there that are tricky to fudge. Can you take a look? | 18:33 | |
(I ping you since it's got your name on it.) | |||
jnthn: hope your weekend is going well! | 18:34 | ||
18:34
molaf_ left
|
|||
[Coke] | is pepe schwarz aroudn? | 18:37 | |
dalek | ast: 3ae1a36 | Coke++ | S19-command-line-options/06-deprecated.t: Per design specs, -E isn't in perl6. We only issue deprecation warnings for things that existed in 6 and are going to be removed. |
18:39 | |
[Coke] | ^^ | ||
dalek | kudo/nom: 6fcbe05 | Coke++ | t/spectest.data: remove reference to non-existant test file |
18:40 | |
timotimo | [Coke]: "Removed file this was in" - this looks like yodaspeak at first glance :D | 18:47 | |
18:47
lizmat left
|
|||
moritz | if the force so strong is in master yoda, why proper English he can't speak? | 18:48 | |
hoelzro | lizmat_: I don't have a good reason, tbh; we can change that | 18:53 | |
yoleaux | 17:34Z <lizmat_> hoelzro: Looking at Buf.push(*@a), why isn't that just nqp::push_i(self,$_) for @values ? | ||
hoelzro | [Coke]: sure, I'll have a look | ||
timotimo | that could give bad performance because of GLR not-there-ness | ||
hoelzro | timotimo: are you talking about lizmat's suggestion? | 18:55 | |
timotimo | yeah | 18:56 | |
18:56
spider-mario left
19:00
adu left
19:01
spider-mario joined
|
|||
hoelzro | this segfault when one installs JSON::Tiny is driving me nuts | 19:02 | |
oh, and of course when I run MoarVM through gdb, there's no problem! | |||
19:03
spider-mario left
|
|||
hoelzro | hmm, it might just be the repeated running of panda install | 19:04 | |
19:07
kaare__ left,
yqt joined
19:08
pecastro joined
19:10
zakharyas joined
19:13
tinyblak joined
19:16
pecastro left,
pecastro joined
19:17
itz2 left
19:18
tinyblak left
|
|||
RabidGravy | for the last week or so panda smoke has segfaulted about 2/3 of the way through | 19:20 | |
I'm just putting it down to one of those things | 19:21 | ||
hoelzro | RabidGravy: really? I'm guessing that's the issue =( | ||
19:22
FROGGS joined
|
|||
RabidGravy | memory probably | 19:22 | |
19:26
andreoss joined
19:29
zakharyas left,
zakharyas joined
19:33
egrep is now known as egrepnix,
egrepnix is now known as egrep
19:43
andreoss left
|
|||
dalek | osystem: 868f429 | (Sterling Hanenkamp)++ | META.list: Add Hash::MultiValue to the Perl 6 ecosystem |
19:44 | |
19:45
bin_005 joined
19:46
domidumont left
19:54
vendethiel left
19:55
vendethiel joined
19:57
kurahaupo1 joined
19:59
bin_005 left
20:22
darutoko- left
20:31
zakharyas left
|
|||
dalek | ast: 89bdd71 | Coke++ | S29-context/evalfile.t: Fudge test, add RT. |
20:34 | |
kudo/nom: 8acfd7f | Coke++ | t/spectest.data: run fudged test |
|||
kudo/nom: 75605a5 | Coke++ | t/spectest.data: Run this test that is passing. not sure why it was skipped for a release. |
20:39 | ||
20:39
koo6 joined
20:40
FROGGS left
20:41
larion left
20:43
vendethiel left
20:49
itz2 joined
|
|||
[Coke] | S05-nonstrings/basic.t is really old and needs cleanup to modern sixperl. | 20:50 | |
dalek | ast: 86ed3a6 | Coke++ | S24-testing/4-version_lt.t: remove old test file from mu. This test function no longer exists. |
20:54 | |
kudo/nom: fffe76c | Coke++ | t/spectest.data: remove ref to nonexistent file |
|||
kudo-star-daily: 87cdeef | coke++ | log/ (2 files): today (automated commit) |
20:55 | ||
rl6-roast-data: fcca801 | coke++ | / (9 files): today (automated commit) |
|||
20:59
lizmat joined
21:03
andreoss joined
21:04
lizmat_ joined
21:06
Possum left
21:08
lizmat left
21:10
lizmat_ is now known as lizmat
21:11
larion joined
21:12
mohij left
21:16
Possum joined
21:28
telex left
|
|||
RabidGravy | boo! | 21:30 | |
21:30
telex joined
|
|||
timotimo | boo? | 21:31 | |
masak | 不! | 21:32 | |
'night, #perl6 | |||
lizmat | 'night masak | 21:33 | |
21:36
bin_005 joined
21:41
itz2 left
21:46
amurf joined
21:47
zakharyas joined
21:51
amurf left,
vendethiel joined
21:54
kurahaupo1 left
22:01
kurahaupo1 joined
|
|||
[Coke] | m: (12 X-3,4,6 X-2,3,6).sort.unique | 22:04 | |
camelia | ( no output ) | ||
[Coke] | m: (12 X-3,4,6 X-2,3,6).sort.unique.say | ||
camelia | rakudo-moar c2a57e: OUTPUT«0 2 3 4 5 6 7» | ||
[Coke] | huh. that got me a parcel error locally. must be old. | ||
22:14
zakharyas left
|
|||
dalek | kudo/nom: 5e006b9 | lizmat++ | src/Perl6/Actions.nqp: Handle $*OS/$*OSVER deprecation at compile time |
22:18 | |
kudo/nom: 27499bb | lizmat++ | src/core/ (4 files): Remove Obsolete class hack Since $*OS / $*OSVER are now handled at compile time, we no longer need the runtime Obsolete class hack. |
|||
22:19
jferrero left,
jferrero joined
|
|||
vendethiel waves | 22:19 | ||
lizmat waves back while wishing everybody good night! | 22:20 | ||
22:22
jferrero left,
mattp__ joined,
jferrero joined
22:25
jferrero left,
jferrero joined
22:26
jferrero left
22:28
jferrero joined
22:32
AlexDaniel left
22:45
kurahaupo1 left
22:48
TimToady left
22:49
pmurias left
22:50
TimToady joined
22:51
bin_005 left
22:54
bin_005 joined
22:57
panchiniak joined
22:59
panchiniak left
23:01
zeleiadi joined
23:09
larion left
23:16
zeleiadi left
23:20
RabidGravy left
|
|||
flussence | Re: the thing masak said about 7h ago - most Linux desktop distros give you a notify-send command, not exactly the same mechanism as say but gets you similar results. | 23:29 | |
23:35
koo6 left
23:42
andreoss left
23:46
gfldex left
|