www.parrotcode.org/ | Last release: 0.7.1 "Manu Aloha"
Set by moderator on 17 September 2008.
00:09 AndyA joined 00:12 pjcj joined 00:25 bacek joined 00:31 bacek_ joined
cotto_home it's an interesting exercise to try to write blindingly obvious code 00:34
dalek r31243 | Whiteknight++ | trunk: 01:16
: [Book] Added some more information about protofunctions. Also some stub sections on NQP syntax, Match objects, Inline PIR, and PAST nodes.
diff: www.parrotvm.org/svn/parrot/revision?rev=31243
r31244 | Whiteknight++ | trunk: 01:32
: [Book] small update and expansion of the first section of the PASM chapter, trying to show why knowing PASM is still relevant.
diff: www.parrotvm.org/svn/parrot/revision?rev=31244
r31245 | Whiteknight++ | trunk: 01:37
: [Book] Add a new 9th chapter stub on HLLs and interoperation (possibly precompiled libraries too). move the reference to chapter 10.
diff: www.parrotvm.org/svn/parrot/revision?rev=31245
01:41 kid51 joined
Tene ENOPURL :( 01:59
Whiteknight ENEEDCOOKIES 02:02
Tene I have cookies. 02:03
You have purl?
Whiteknight ENOTRADE :)
no, I dont know where purl went. somebody mentioned feather was struggling tonight 02:04
Tene polyglotbot: hi
perl6: say $purl 02:05
polyglotbot OUTPUT[Scope not found for PAST::Var '$purl'␤current instr.: 'parrot;PCT::HLLCompiler;panic' pc 156 (src/PCT/HLLCompiler.pir:103)␤called from Sub 'parrot;PAST::Compiler;post_children' pc 1743 (src/PAST/Compiler.pir:367)␤called from Sub 'parrot;PAST::Compiler;call' pc 3158
..(src/PAST/Compiler.pir:839)␤called from Sub 'parrot;PAST::Compiler;post_ch...
s1n pmichaud: ping 02:16
dalek r31246 | Whiteknight++ | trunk: 02:22
: [Book] Write a little bit about HLLs and interoperation.
diff: www.parrotvm.org/svn/parrot/revision?rev=31246
Whiteknight and that that, I'm off to bed. Goodnight 02:23
02:24 Ontolog joined
dalek r31247 | tene++ | trunk: 02:57
: [cardinal]
: Allow access to subs in a single level of namespace.
diff: www.parrotvm.org/svn/parrot/revision?rev=31247
Tene NotFound: try now. 03:02
03:40 Theory joined
dalek r31248 | tene++ | trunk: 03:44
: [cardinal]
: Set :load and :init on modules.
diff: www.parrotvm.org/svn/parrot/revision?rev=31248
03:47 Ontolog joined 03:50 isop joined
Tene Hmm... still doesn't work... 03:51
04:04 apeiron joined
Tene Oh, right, case-sensitive stuff. 04:08
Hah! xlibtest.rb! 04:44
Now who are you calling lame?
dalek r31249 | tene++ | trunk:
: [cardinal]
: * Fix parsing of calling functions in a namespace.
: * Fix && and ||
: * Add xlibtest.rb
diff: www.parrotvm.org/svn/parrot/revision?rev=31249
04:46 cjfields joined 04:54 tetragon joined
cjfields Ontolog: (in case you read the backlog) .match still has a few problems (still returning Str, see RT#57094; will likely require some work with PGE). I also agree with pmichaud, .'ACCEPTS' should be defined in terms of .match (this has come up previously I think). 05:02
05:03 purl joined 05:04 purl joined 05:07 purl joined 05:09 Theory joined 05:15 Ademan joined 05:34 johbar joined
johbar hi 05:35
Tene hi 05:43
cotto_home hai
05:52 contingencyplan joined 06:03 uniejo joined 07:05 cognominal joined 07:13 iblechbot joined
nopaste "Ontolog" at 59.37.36.178 pasted "Moved Str.split(Str) to any-str.pir" (82 lines) at nopaste.snit.ch/14117 07:18
dalek r31250 | moritz++ | trunk: 07:35
: [rakudo] move Str.split(Str) to any-str.pir, Ontolog++
: Now Str.split(/regex/) works because the method is no longer masked.
: I still don't understand why it fails with :multi(_,'String') though
diff: www.parrotvm.org/svn/parrot/revision?rev=31250
r31251 | cotto++ | trunk: 07:44
: [imcc] rewrite the "too many args" test to generate params
: This is much kinder to text editors and easier to modify.
diff: www.parrotvm.org/svn/parrot/revision?rev=31251
07:46 cotto_work joined
cotto_home now nobody's impressed by my small hadron collider 07:56
dalek r31252 | cotto++ | trunk:
: [imcc] my attempt at making this code blindingly obvious
: also avoid a Shlemiel the Painter algorithm, which speeds up PIR subs with lots
: of args without meaningfully slowing down the average case
diff: www.parrotvm.org/svn/parrot/revision?rev=31252
08:34 Ademan joined
dalek r31253 | kjs++ | trunk: 08:36
: [pirc/new] simplify code and calculate branch offsets
: + refactoring of some data structures, removing a layer of indirection
: + each instruction now has an offset within a sub; branches to sub-)local labels are now calculated.
: + small refinement in the parser to do this cleanly.
diff: www.parrotvm.org/svn/parrot/revision?rev=31253
r31254 | cotto++ | trunk: 08:51
: [imcc] "correct" is also a laudable goal
diff: www.parrotvm.org/svn/parrot/revision?rev=31254
isop pmichaud: ping 09:03
09:16 Ontolog joined 09:35 cotto_home joined 09:41 masak joined 10:18 bacek_ joined 10:48 kid51 joined 10:56 Whiteknight joined 11:01 Ontolog joined 11:02 Debolaz joined
dalek r31255 | moritz++ | trunk: 11:05
: updated MANIFEST
diff: www.parrotvm.org/svn/parrot/revision?rev=31255
isop moritz: could you maybe take a look at my patches for pynie? 11:07
moritz isop: URL? 11:09
isop moritz: bugs.launchpad.net/pynie/+bugs
dalek r31256 | moritz++ | trunk: 11:14
: [pynie] various fixes by isop++
: * fixes not_test to use the correct 'not' pirop signature
: * fixes to previous patches:
: #271874 - mark the test for **= as todo
: #271889 - also mention launchpad in MAINTAINER
: * add tests for and/not/or
diff: www.parrotvm.org/svn/parrot/revision?rev=31256
r31257 | moritz++ | trunk:
: [cage] fix svn meta data
diff: www.parrotvm.org/svn/parrot/revision?rev=31257
r31258 | moritz++ | trunk: 11:19
: [pynie] build system fixes by isop++
: * splits the make for pynie.pbc to depend on gen_grammar.pir and gen_actions.pir, so that they don't have to get rebuilt every time
: * adds funcs.pir to the dependencies in the makefile
: * .include's funcs.pir in pynie.pir
diff: www.parrotvm.org/svn/parrot/revision?rev=31258
cognominal are METHODs in pmcs what the docs call PCCMETHODs? 11:20
dalek r31259 | moritz++ | trunk: 11:26
: [pynie] fix infix and and or ops, patch courtesy by isop++
diff: www.parrotvm.org/svn/parrot/revision?rev=31259
r31260 | moritz++ | trunk: 11:31
: [pynie] simple try/except implementation by isop++
: implements a try/except block where the except block accepts no params, and some tests for try/except/raise/assert
diff: www.parrotvm.org/svn/parrot/revision?rev=31260
isop moritz: it seems you missed t/00-parrot/11-boolop.t in the first one 11:33
(new file)
moritz isop: will commit now
isop moritz: :)
dalek r31261 | moritz++ | trunk: 11:34
: [cage] make codetest happier
diff: www.parrotvm.org/svn/parrot/revision?rev=31261
moritz it's just a freakin' effort to add files, because you have to regen MANIFEST and change svn props and all
isop: I have to do other things now... if I forget to apply the remaining patch(es?), feel free to bug me again 11:36
isop ok thanks
dalek r31262 | moritz++ | trunk:
: [pynie] add a test file that I previously forgot, isop++
diff: www.parrotvm.org/svn/parrot/revision?rev=31262
12:07 kj joined 12:08 ruoso joined 12:14 iblechbot joined
isop how do I recycle the result of an inline PAST::Op? 12:29
I mean reuse without actually running the op again 12:30
pmichaud there's not a really good way to do it yet, but it will be done with PAST::Var(:scope('register')) 12:32
basically, $result := PAST::Var( :scope('register'), :viviself( $past ) ); 12:34
and then $result can be re-used within the same blcok
*block
isop will that work now? 12:35
pmichaud not entirely
what does work now is to do
PAST::Var( :name('somename'), :scope('register'), :viviself($past) );
and then whenever you want to refer to that register again, simply create a new PAST::Var( :name('somename'), :scope('register') ) node (with no viviself) 12:36
at least I think that works
I need to check on it a bit 12:37
12:39 isop joined
isop pmichaud: back. will that work now? 12:40
pmichaud isop: I don't completely know.
isop ok
pmichaud there's some work to be done in the parrot compiler tools to make that work
(the first example)
the second one might work, but might not
:scope('register') is still a bit new.
in the past when we've needed to re-use a result we've just created a temporary lexical to hold the result in, and re-used that. 12:41
(but I didn't like doing that, which is one reason why we've created :scope('register') 12:44
isop hrm 12:47
it seems you can get a syntax error from nested scopes in pynie
12:48 Zaba joined
dalek r31263 | pmichaud++ | trunk: 12:49
: [rakudo]: spectest-progress.csv update: 166 files, 3399 passing tests
diff: www.parrotvm.org/svn/parrot/revision?rev=31263
isop like this: rafb.net/p/TAGWBQ75.html 12:50
pmichaud perhaps... I haven't played with pynie in almost a year and several other people have been patching it (and one of those may have broken nested scopes) 12:51
isop how do I debug it?
pmichaud I'd start by doing --target=parse to check the parse tree 12:54
isop that throws a syntax error exception, too
pmichaud but it must have something to do with the INDENT and DEDENT not working properly
isop ok
kj isop: you can also use print/say to check out what code is executed 12:55
12:55 dmknopp left
pmichaud I'm also curious if it's just 'if' that has the problem or if it's there for other nested structures 12:55
isop pmichaud: I got it after trying to make a test with try and for
pmichaud: so i guess it's for any structure
pmichaud yes, that points to a DEDENT or INDENT problem then
moritz isop: in the next pynie patch please add yourself to CREDITS (in the mail parrot dir) 12:57
isop ok 12:58
dalek r31264 | moritz++ | trunk: 13:01
: [pynie] implement attributeref and method calls, patch courtesy by isop++
diff: www.parrotvm.org/svn/parrot/revision?rev=31264
pmichaud isop: are you interested in getting a commit bit to work on pynie?
isop pmichaud: not yet, but I probably will be :) 13:02
pmichaud okay.
currently committers to the parrot repo have to submit a "contributor license agreement" (cla) in order to get a commit bit
so if you're interested, we might want to work on that :-) 13:03
either that or pynie could perhaps move to its own repo (that could then have its own requirements)
isop pmichaud: I'd probably prefer the latter 13:28
13:33 ruoso joined
NotFound Tene: I'm pleased to see cardinal is now able to use Xlib :) 14:00
But It has a problem parsing the comments at first lines of xlibtest.rb 14:01
Syntax error at line 4, near "# current "
14:02 gryphon joined 14:05 Lorn joined
pmichaud RT #59064 should be easy for someone to do. :-) 14:06
Ontolog .namespace['ns'] is in effect until the next .namespace? 14:07
moritz yes
RT-- # mangling whitespaces in the web interface
Ontolog using Patrick R. Michaud's suggestion I moved that split function to any-str.pir and it seems to compile and i'm running spectest_regression now 14:12
if its all good i'll send a patch
moritz great 14:13
isop pmichaud: I think I've figured out what's wrong 14:14
pmichaud: with the nested scopes
the inner if_stmt's 'suite' matches up to the newline after the block
but if_stmt (which is a rule, not a token) matches the additional 2 spaces, too 14:15
so it's like there's no indent there
pmichaud checking. 14:18
which 2 additional spaces? 14:20
isop after the newline after the inner block
pmichaud except that the <ws> rule is redefined to not match newlines 14:21
isop if_stmt should be ignoring them and they should be matched by indent_same instead
14:22 jhorwitz joined
pmichaud but yes, you're correct that it's grabbing the two extra spaces. 14:23
oh, wait, perhaps not. 14:24
okay, I think that's indeed the problem. 14:25
nopaste "Ontolog" at 116.25.156.143 pasted "Could not find non-existent sub split" (93 lines) at nopaste.snit.ch/14121 14:27
Ontolog pmichaud: what is the biff? you can see the definition of split, why is it 'non-existent' ?? 14:28
pmichaud isop: part of the issue is that <suite> is eating the newline 14:29
so, perhaps we need to make sure that <ws> doesn't match whitespace at the beginning of a line.
try changing the ws token to be 14:30
token ws { ^^ || \\h* [ '#' \\N* ]? }
Ontolog: looking 14:31
Ontolog the test I ran is: say split(/\\d+/, "ab1cd12ef123gh").perl; 14:32
pmichaud oh, my fault.
.namespace [] instead of .namespace ['']
Ontolog k, there is a difference?? 14:33
pmichaud yes. .namespace [] is the global namespace, while .namespace [''] is the namespace named "" within that namespace
or something like that.
14:34 gryphon joined
Ontolog i see, so an absence of a value there is special, and '' is the namespace called empty string 14:35
pmichaud correct.
particle ayep. confusing? 14:38
we used to support .namespace
isop|afk pmichaud: that breaks... syntax_error on line 1 now
particle but that's been deprecated iirc
omg there's a cat on isop's keyboard while he's away! 14:39
pmichaud try
token ws { ^^ <.fail> || \\h* [ '#' \\N* ]? } 14:40
isop|afk particle: a smart one 14:42
purl a smart one is the girl at the counter who is going to community college
particle purl, forget a smart one 14:43
purl particle: I forgot smart one
14:43 isop|afk joined 15:11 pmichaud joined 15:12 hercynium joined 15:19 Theory joined 15:47 peepsalot joined
dalek r31265 | moritz++ | trunk: 15:55
: [rakudo] move split() as a function to any-str.pir, Ontolog++
: Patch courtesy by Chris Davaz
diff: www.parrotvm.org/svn/parrot/revision?rev=31265
pmichaud moritz++ ## quickly applying patches 15:56
16:17 iblechbot joined
cognominal rt.perl.org/rt3/Ticket/Display.html?id=57776 # an apparently innocent patch seems to trigger a memory bug 16:25
NotFound cognominal: i think is not a memory bug, is a symptom of lack of checking and stat abuse. 16:27
cognominal I am investigating 16:28
I don't know the IO code 16:29
NotFound Several parrot functions use stat to check if can open a file, and then open it without further checkeing.
cognominal well, the original problem is that there was not even a stat done before opening a file 16:30
NotFound And it must no do. The correct and simple way of knowing if a file can be opened is to open it and check the result. 16:31
cognominal well, when the file is a directory, it opens without error but bad errors happen after 16:32
NotFound You can do a stat after and using the handle, not the file name.
cognominal indeed, that would be least costly 16:33
thx, I will modify my patch
I still don't understand the crash though 16:35
NotFound cognominal: The original of the ticket, or the patched?
cognominal the patched 16:36
I don't see a problem with my patch except bein suboptimal 16:37
NotFound cognominal: I think is one of the many places when the fact that empty strings can have no buffer assigned is no taken into account. 16:38
jonathan Also, if you stat something, then open it under the assumptions of the result from the stat, rather than stating the handle you have after getting it, I guess there is the possibility of a race condition.
cognominal indeed
NotFound And the argument is not marked as maybe null but can be null. 16:39
I vote for completely drop the __attribute__nonnull__ nonsense. 16:40
Or not race. You can have permissions to open the file but not to read his attributes. 16:41
dalek r31266 | allison++ | pdd27mmd: 16:46
: [pdd27mmd] Shift scalar PMC's 'floor_divide' over to a multi, so it doesn't
: mask the default multiple dispatch.
diff: www.parrotvm.org/svn/parrot/revision?rev=31266
cognominal I realize I don't do enough C programming 16:47
NotFound cognominal: sorry, I was too rude 16:48
cognominal you were not :)
I am honored to rub elbows with greater programmers 16:49
NotFound Anyway these are posix thingies, not C language ones. 16:50
cognominal I realize that parrot is not 64 bits clean 17:04
NotFound cognominal: yes, there are several unresolved tickets about 64 bit plaforms. 17:05
cognominal anyway my mac is 32 bits...
my linux box is 64 bits but I think my mandrive is 32 bits 17:06
NotFound I don't have any 64 machine at hand, except a Commodore-64 emulator ;) 17:07
cognominal :)
i don't use much my linux box. I got stuck on mac lock-in. 17:08
NotFound I use Linux almost exclusively from some time ago. 17:12
cognominal one thing nice about leopard is dtrace... if only I knew how to use it. 17:13
17:13 mberends joined
NotFound I use Windows just to watch TV with a TDT USB card in my portable :D 17:13
Too lazy to search for an adequete linux driver. 17:14
dalek r31267 | julianalbo++ | trunk: 17:22
: add more functions to Xlib example module and NCI signatures needed
diff: www.parrotvm.org/svn/parrot/revision?rev=31267
cognominal does Perl 6 handles context? The next problem with slurp is that it returns only one line in array context 17:30
jomathan? 17:33
jonathan?
purl i guess jonathan is mailto:jnthn@jnthn.net or trying to put together a grant application.
jonathan cognominal: hi
we don't have a way to do wantarray style stuff yet, no 17:34
cognominal ok
jonathan so yes, slurp behaviour will be wrong for arrays at the moment. :-(
cognominal anyway, if ma patch is otherwise correct, that one more test that passes on slurp.t 17:35
s/ma/my/
pmichaud we don't need wantarray for slurp 17:40
cognominal but that's what slurp.t tests 17:41
pmichaud or, at least, we *shouldn't* need wantarray for slurp :-|
cognominal my @slurped_lines = slurp "README";
ok +@slurped_lines > 50, "more than 50 lines in README file ?";
ha, you mean setting explictely the context? 17:42
pmichaud I'm simply saying that most places where wantarray is used in P5 isn't necessary in P6.
and slurp is (or should be) one of them
in this case, the result of slurp is evaluated in list context, so slurp knows to return a list. 17:43
because of its .list method, most likely.
cognominal but is there a way for slurp to know the context used when it is called?
pmichaud yes, but my point is that it doesn't need to know that.
or, stated differently, there's one method when it's used in list context, and a different method when it's used in item context 17:44
gotta run for a bit -- bbl
dalek r31268 | coke++ | trunk: 17:47
: [tcl] escape test descriptions so TODO works on tests with # in their desc.
: code.google.com/p/partcl/issues/detail?id=61
diff: www.parrotvm.org/svn/parrot/revision?rev=31268
cognominal that's probably what the contextualizer_name handle in actions.pm 17:51
s/handle/handles/
bbl 17:52
jonathan pmichaud: When you're back, would like to know more on that... :-) 17:58
dalek r31269 | coke++ | trunk:
: [tcl] make test more tolerant of extra env variables by only testing the three we set.
diff: www.parrotvm.org/svn/parrot/revision?rev=31269
18:01 vhold joined
cognominal arf, I should have closed the file :( 18:03
Tene CLAs are sent to chromatic, yes? 18:08
dalek r31270 | coke++ | trunk:
: [tcl] simplify call to code.emit() - remove unused parameter.
: whitespace fixup
diff: www.parrotvm.org/svn/parrot/revision?rev=31270
particle sent to a po box chromatic checks 18:09
Tene Okay. dmknopp is eager to start committing. 18:10
18:17 cjfields joined 18:24 Lorn joined 18:33 Lorn joined
pmichaud back 18:34
NotFound Tene: ping 18:37
Tene NotFound: pong 18:42
NotFound Tene: cardinal fails to parse the comments in xlibtest.rb
Tene are you sure? It worked fine for me last night. 18:43
You're right.
Well, the problem isn't with the comments. 18:44
NotFound I checked several times, and other people also.
Tene It fails later on and unwinds back to the comments and that's where the failure is reported from, I think
... but it runs fine if I remove them? 18:45
Weird.
NotFound Strange, yes.
Well, less than fine, it breaks when drawing a second line, tells something about a Coroutine, 18:46
Tene Huh. 18:47
Okay, I fixed that problem. 18:49
Okay, lemme commit a version with fewer comments and that doesn't fail on later lines. 18:51
18:59 Zaba joined 19:00 Whiteknight joined 19:14 sjansen joined
NotFound Your worse nightmare is coming.... 19:24
PacoLinux :)
dalek r31271 | julianalbo++ | trunk:
: add pirric, a rudimentary old style basic interpreter and an example bas program to examples/pir
diff: www.parrotvm.org/svn/parrot/revision?rev=31271
pmichaud aiiiiieeeeeee!
cotto_work +1 19:27
purl 1
cotto_work no, +1 is <reply>
purl okay, cotto_work.
cotto_work +1 19:28
purl 1
cotto_work meh
19:32 Lorn_ joined
cotto_work NotFound, there's a typo in xlibtest.rb in the command given to run the file. 19:33
also, it doesn't like your comments
Syntax error at line 4, near "# current "
NotFound cotto_work: tene is working on it.
cotto_work ok 19:34
NotFound She wrote it, by the way.
cotto_work you mean Tene? 19:35
dalek r31272 | tene++ | trunk: 19:36
: Fix problems with xlibtest.rb
: NotFound++
diff: www.parrotvm.org/svn/parrot/revision?rev=31272
NotFound Talking about that... 19:38
cotto_work Tene++ 19:39
NotFound <provocation>Is faster than the p6 version</provocation> 19:42
cotto_work tests
Tene What's faster than the p6 version? 19:43
particle the cardinal version is faster probably because the rakudo parser is larger
NotFound Tene: the rb version 19:44
Tene It parses faster? No it doesn't. The cardinal parser is insanely slow.
cotto_work the p6 version wins on my machine
NotFound Redraw lines faster.
Tene Ah.
How do you tell it to redraw lines?
NotFound Hide and show the window
This is the start of an era of benchmarking language wars X-) 19:47
cotto_work interesting 19:49
I hope Parrot doesn't end up being a VM that runs all dynamic languages slowly.
of course, making it run always comes before making it run efficiently 19:50
NotFound Is difficult to evaluate the speed of something tnat does not run, certainly. 19:51
More provocation: Now we have pir, nqp, perl6 and ruby. Who wants to be the next? Python? Lua? Tcl?... 19:53
cotto_work too bad Pipp isn't ready
Tene I was thinking of working on pynie 20:00
But I need to do exceptions first.
20:09 bacek_ joined
particle wonders how long a usb cable can be 20:11
jonathan particle: about 5 meters, I think. 20:13
dalek r31273 | tene++ | trunk:
: [cardinal]
: * Fix parsing of comments
: * Add comments to xlibtest.rb
diff: www.parrotvm.org/svn/parrot/revision?rev=31273
Tene If anyone's looking for something to do, it might be nice to make fakecutables for the other languages. 20:14
particle ok, then i might need another powered hub
NotFound Tene++
Tene I might get around to making one for cardinal sometime.
Maybe we want a bin/ directory in parrot's root for that?
particle is considering the purchase of a save with a usb port for a 2.5" hdd
*safe
Tene particle: interesting idea
purl well, interesting idea is to put two of the bots in the same channel, from different game servers
Tene purl: forget interesting idea 20:15
purl Tene: I forgot interesting idea
jonathan Can you imagine two purl's...
Tene We've had that before, iirc
purl and purl_
purl Tene: sorry...
jonathan ...can you imagine a native English speaker using apostrophes correctly...
particle rakudo: say "purl".WHAT 20:16
polyglotbot OUTPUT[Str␤]
NotFound jonathan: or at least knowing his name, and not saying "single quotes" X-) 20:17
PacoLinux Tene: I make pbc's executables in linux with -- cd /proc/sys/fs/binfmt_misc; echo ':parrot:E::pbc::/home/paco/parrot/parrot:' > register -- ; then I copy the pbc (chmod +x) to somewhere with path, and I can use this language in my machine 20:21
Tene PacoLinux: that's not what I'm talking about.
particle it's useful, but not portable 20:22
PacoLinux yes, not portable, but useful for lazy people :)
NotFound If somenone is looking for an easy task: write an operating system with parrot X-) 20:23
20:28 Whiteknight joined 20:29 cjfields joined
dalek r31274 | particle++ | trunk: 20:30
: [cardinal] add make target for fakecutable
diff: www.parrotvm.org/svn/parrot/revision?rev=31274
particle that's a good template for <your language here> 20:31
what other langs need that?
Tene particle: do we also want a main makefile target, like the one for 'make perl6' in root?
particle i'm not sure. so far, perl6 has been a special case in that it's in the root makefile 20:33
Tene particle: also, lolcode, obviously. ;)
unless I already did that.
Oh, I think I did.
nm
particle: E_BACKWARDS_SLASH 20:34
particle just noticed, thanks
Tene I don't know the issues of slashes and portability.
Does / work on every OS?
NotFound I want a fakexecutable for the whitespace language called " " 20:35
Tene I also need to add the sutff for --target=pir to be executable.
particle configure processes slashies for your os
Tene Ah.
Nice configure. configure++
dalek r31275 | particle++ | trunk: 20:36
: [cardinal] fix slashie typo
diff: www.parrotvm.org/svn/parrot/revision?rev=31275
Infinoid NotFound: great idea 20:37
is triple ' ' the yada operator?
% ./\\ -e ' '
Not implemented yet at -e line 1.
particle ...
rakudo: sub foo() { ... } 20:38
polyglotbot RESULT[{ ... }]
particle rakudo: sub foo() { ... }; foo()
polyglotbot RESULT[undef]
jonathan Yup, ... is done.
??? and !!! aren't, due to parsing issues.
particle shouldn't ... give an error at runtime? 20:39
moritz I NEED HAZ LTM
jonathan No
particle warning?
moritz particle: it should fail()
jonathan not unless you has use fatal
!!! dies, ??? warns.
NotFound Infinoid: will be great to read the troff source for a manual page of that
Infinoid if you can figure out exactly how many backslashes are necessary to get man to read it :) 20:40
dalek r31276 | particle++ | trunk: 20:44
: [lolcode] flesh out fakecutable targets
diff: www.parrotvm.org/svn/parrot/revision?rev=31276
TimToady note that the yada's are listops, not bare terms 20:48
cjfields are ??? and !!! waiting for LTM? 20:49
s/waiting/holding/
particle cjfields: yes 20:50
cjfields k
dalek r31277 | particle++ | trunk: 20:52
: [cardinal] add some cleanups to the makefile
diff: www.parrotvm.org/svn/parrot/revision?rev=31277
bacek_ morning everyone
bacek rakudo: my %sane = hash ("a"=>"b"); say defined %sane.WHAT
polyglotbot OUTPUT[0␤]
bacek bad rakudo... 20:53
jonathan Correct Rakudo.
Proto-objects are not defined.
bacek jonathan: why?
particle protoobjects are undefined objects
jonathan Because they're an empty instance of the object.
dalek r31278 | particle++ | trunk:
: [rakudo] add some cleanups to the makefile
diff: www.parrotvm.org/svn/parrot/revision?rev=31278
bacek ok. So in spectest "is(%sane.WHAT, 'Hash')" should be replaced with "is(~%sane.WHAT, 'Hash')"? 20:54
jonathan Yes, that would seem sensible. 20:55
bacek jonathan: ok.
bacek thinks that many '#rakudo skip' should be replaced with '#rakudo todo' in spectest. 20:58
particle that would be wonderful, if they parse and fail they should be todo
bacek rakudo: my %h; %h<a> = 'foo'; say %h.{a} 20:59
polyglotbot OUTPUT[Statement not terminated properly at line 1, near ".{a}"␤␤current instr.: 'parrot;PGE::Util;die' pc 119 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 25385 (src/gen_grammar.pir:3009)␤called from Sub 'parrot;Perl6::Grammar;statementlist' pc
..24041 (src/gen_grammar.pir:2476)␤called from Su...
particle rakudo: my %h; %h<a> = 'foo'; say %h.{'a'} 21:00
polyglotbot OUTPUT[Statement not terminated properly at line 1, near ".{'a'}"␤␤current instr.: 'parrot;PGE::Util;die' pc 119 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 25385 (src/gen_grammar.pir:3009)␤called from Sub 'parrot;Perl6::Grammar;statementlist'
..pc 24041 (src/gen_grammar.pir:2476)␤called from ...
particle rakudo: my %h; %h<a> = 'foo'; say %h{'a'} 21:01
polyglotbot OUTPUT[foo␤]
particle ok, so .{} isn't working :(
davidfetter hello
purl hi, davidfetter.
davidfetter any word on 1.0.0?
bacek davidfetter: before X-mas 21:02
davidfetter :( 21:03
particle every time i see 1.0.0, i think $$$
Whiteknight ...or maybe slightly after xmas
yeah, because $$$ requires LTM
davidfetter LTM? 21:05
purl i think LTM is longest token matching
bacek rakudo: my $a; eval 'try { die CATCH { $a=1 } }'; say $a 21:08
polyglotbot OUTPUT[␤]
Tene bacek: eval can't access outer lexicals, last I heard.
particle my $a; eval 'try { die CATCH { $a = 1 } }'; say $a
er, oops 21:09
the test should probably use spaces around the =
but tene is right iirc
Tene Also, I don't know if catch blocks are implemented or not. 21:10
regardless, if that works, it sohuldn't need ot be in eval.
rakudo: my $a; try { die; CATCH { $a = 1 } }; say $a
polyglotbot OUTPUT[Statement not terminated properly at line 1, near "{ $a = 1 }"␤␤current instr.: 'parrot;PGE::Util;die' pc 119 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 25385 (src/gen_grammar.pir:3009)␤called from Sub
..'parrot;Perl6::Grammar;statementlist' pc 24041 (src/gen_grammar.pir:2476)␤called f...
Tene So, no.
dalek r31279 | fperrad++ | trunk: 21:11
: [Markdown]
: - rename Markdown:Header to Markdown::Title
: - implement SetextHeading
: - and add tests
diff: www.parrotvm.org/svn/parrot/revision?rev=31279
Tene Is it even called CATCH? 21:12
21:12 cognominal left
jonathan Yes, it's called CATCH. 21:12
21:12 cognominal joined
jonathan But not implemented. 21:12
bacek jonathan: I hoped that "exceptionmagik" branch was for implementing those exceptions... 21:13
Tene No, parrot-level exceptions.
bacek ah, ok 21:14
dalek r31280 | fperrad++ | trunk: 21:15
: [Markdown]
: - add a MAINTAINER file
diff: www.parrotvm.org/svn/parrot/revision?rev=31280
Tene I should delete than branch. I don't need it anymore. 21:16
jonathan bacek: I think there's some PCT refactors to do first, maybe. 21:19
bacek jonathan: may be. But I never touched PCT internals ;) 21:20
jonathan I do it occasionally, but only for easy changes.
bacek Lets treat LTM as "easy change"
jonathan That is PGE anyway. Which I think I've done all of 0 patches to. 21:23
Tene I made a change to PGE! 21:24
I added P6object support to it.
bacek Tene: so, why you didn't implement LTM yet?? ;)
particle pge is a bit scarier than pct
bacek: pmichaud is eating that task for breakfast 21:25
Tene bacek: give me a patch and I'll apply it. ;)
bacek there is many other (my) patches waiting to commit...
jonathan: I didn't readback. Is there is decision about my Test.pm patch? 21:26
nopaste "bacek" at 122.110.47.213 pasted "Avoid unitialized warnings in Test.pm" (52 lines) at nopaste.snit.ch/14127 21:27
bacek I actually fixed spectests to pass with my version of Test.pm :) 21:28
omg... PGE _IS_ scary... 21:31
cotto_work piggy and tiggy
although I'm sure I'll have other names for them if I ever have occasion to work on them 21:32
jonathan bacek: IIRC, someone disagreed with it. 21:34
I forget who...
bacek guess, pm?
moritz and pm 21:36
bacek ouch... both pmichaud and moritz disagreed...
PerlJam bacek: did you do something complicated?
bacek PerlJam: what do you mean? In Test.pm? No. 21:37
moritz: can you write wonderful tool, similar to autounfuge, to convert "skip" to "todo"? 21:38
moritz bacek: autounfudge can do it already
bacek: with the --unskip option (certainly underdocumented) 21:39
dalek r31281 | fperrad++ | trunk:
: [Markdown]
: - implement HorizontalRule
: - and add tests
diff: www.parrotvm.org/svn/parrot/revision?rev=31281
bacek installing TAP::Harness 21:40
cognominal I can't wait pmichaud to explain us the .list method and the .item method 21:42
Tene Are there any examples of documentation on how to use ncigen yet? 21:43
particle Whiteknight: ping 21:44
bacek moritz: requesting --jobs param for autounfudge.pl
;)
moritz bacek: I thought about that too, but I'm not good with concurrency at all
bacek: simplest thing might be to write a Makefile in a temp dir where each test file is a separate target, and then just run make -j $count 21:46
particle or maybe test::tap::parallel can be used 21:47
moritz I don't think it's worth the effort, because you use autounfudge quite differently from "make test" (if you use it at all) 21:48
when you change something in a compiler, you do a "make test" and essentially wait until it's done
when you run autounfudge you can just let it do its work in the background, and come back 15min later and see what it produces 21:49
*produced
nopaste "bacek" at 122.110.47.213 pasted "multithread autounfudge for moritz." (43 lines) at nopaste.snit.ch/14128 21:59
bacek Subject for cleanup. But main idea is clear
moritz bacek: does that take care of continuously writing the patch? 22:00
confound I,I "multithread autounfudge" 22:01
moritz we should rename it to magicunfudge ;) 22:02
bacek moritz: not yet
moritz why does the multi-threaded chicken cross the street?ss the street? ;-)
nopaste "bacek" at 122.110.47.213 pasted "magicungudge with proper locking ;)" (58 lines) at nopaste.snit.ch/14130 22:06
bacek works for me. Found 4 s/skip/todo/ so far ;) 22:08
moritz I'll take a look at it tomorrow, time for bed $here ;)
cotto_work moritz++
bacek g'night 22:09
22:38 Ademan joined 22:59 tetragon joined
particle convert 1USD to AUS 23:27
purl I don't know how to convert 1USD to AUS.
particle grr
convert 1USD to AUD
purl I don't know how to convert 1USD to AUD.
particle :(
1 USD=1.1979 AUD 23:28
23:30 cjfields joined 23:31 kid51 joined
nopaste "bacek" at 122.110.104.181 pasted "Final version of multithreaded unfudge for moritz." (77 lines) at nopaste.snit.ch/14133 23:33
23:34 bacek joined 23:38 AndyA joined, gmansi joined
cotto_work convert 1 USD to AUD 23:49
purl I don't know how to convert 1 USD to AUD.
cotto_work convert 1 C to F
purl 1 Celsius is 33.8 Fahrenheit.
jonathan purl: convert say "OH HAI" to LOLCODE 23:50
purl I don't know how to convert say "OH HAI" to LOLCODE.
bacek rakudo: say 1/0.83
polyglotbot OUTPUT[1.20482␤]
bacek cotto_work: this is USD->AUD ;)
kid51 convert 0 C to F 23:51
purl 0 Celsius is 32 Fahrenheit.