FAQ

Search Discussions

92 discussions - 269 posts

  • The following program: my $x = 1; my $y = 2; $x == 1 or $y = 42; print"x='$x' y='$y'\n"; prints x='1' y='2' in perl5, but prints x='1' y='42' in pugs. (I'm having a go at rewriting a small p5 script ...
    Andrew SavigeAndrew Savige
    Mar 15, 2005 at 4:16 am
    Mar 17, 2005 at 9:47 am
  • Gang, My proposal is for an extensible version of POD. Basically what XML is to HTML/SGML, this will be for POD. This is a very very very rough draft. I am submitting it in hopes of getting some ...
    Stevan LittleStevan Little
    Mar 15, 2005 at 1:55 am
    Mar 16, 2005 at 10:58 pm
  • It looks like the current pugs array interpolation doesn't quite match the description in S02. S02 says that container references automatically dereference to the appropriate (white space separated) ...
    Garrett RooneyGarrett Rooney
    Mar 5, 2005 at 4:22 pm
    Mar 7, 2005 at 8:27 am
  • I think it would be really nice for failed, todo, and skipped tests to log their $expected and $got values, with any $desc or $context information to a log file (probably test.log). I also think it ...
    Nathan GrayNathan Gray
    Mar 15, 2005 at 11:46 am
    Mar 17, 2005 at 1:27 pm
  • Currently Pugs numifies hexadecimal and octal strings as if they are literals; that means "0x123" and "0o456" all work as expected. Is that an acceptable treatment? What about "Inf" and "NaN" in ...
    Autrijus TangAutrijus Tang
    Mar 15, 2005 at 3:09 pm
    Mar 20, 2005 at 10:14 am
  • # cat h3.p6 my $label = 'abc'; print("$label: is this new indirect object call business?\n"); # perl -w h3.p6 abc: is this new indirect object call business? # pugs h3.p6 Undefined variable $label: ...
    Andrew SavigeAndrew Savige
    Mar 18, 2005 at 6:39 am
    Mar 19, 2005 at 6:19 pm
  • I stumbled across a couple of interesting quote interpolation edge cases: Case 1 ------ # cat ttt.p6 my $x = "{"; # pugs ttt.p6 unexpected end of input expecting "\"", "$!", "$/", "\\" or block ...
    Andrew SavigeAndrew Savige
    Mar 26, 2005 at 4:32 am
    Mar 26, 2005 at 8:30 pm
  • From S04: It is possible to write while =$*IN - $line {...} But it won't do what you expect, because unary = does a slurp in scalar context, so $line will contain the entire file. ...
    Andrew SavigeAndrew Savige
    Mar 18, 2005 at 10:36 am
    Mar 21, 2005 at 3:40 pm
  • So, as now Pugs generates PMC code that makes mandel.p6 run faster than Perl 5 (http://use.perl.org/~autrijus/journal/23829), I'm pondering this BEGIN{} mess that Pugs had not dealt with. Consider ...
    Autrijus TangAutrijus Tang
    Mar 25, 2005 at 6:53 am
    Mar 25, 2005 at 4:11 pm
  • Unless I hear any objections, I plan to add: t/examples/golf.t to automate running of tsanta.p6, so as to verify both my original and rg0now's Santa golf solutions. I notice there is an existing ...
    Andrew SavigeAndrew Savige
    Mar 23, 2005 at 7:37 am
    Mar 25, 2005 at 4:11 am
  • I like the t/ directory reorganisation for 6.0.12 and I congratulate Stevan for the nice README file also. I hope to soon start adding some tests into this new structure. Unfortunately, a ...
    Andrew SavigeAndrew Savige
    Mar 21, 2005 at 2:42 pm
    Mar 22, 2005 at 9:14 am
  • At the request of Autrijus, I've just checked the P5 current version of Algorithm::Dependency into pugs, and now we need volunteers to P6ify it. Why this module as the next "porting a module" 1. ...
    Adam KennedyAdam Kennedy
    Mar 13, 2005 at 2:11 pm
    Mar 15, 2005 at 5:31 am
  • I have just committed the first Perl 6 port of Locale::KeyedText within the Pugs distro, as was the recommended course of action in contrast to releasing to CPAN. This is the very first normal and ...
    Darren DuncanDarren Duncan
    Mar 8, 2005 at 7:56 am
    Mar 9, 2005 at 11:09 pm
  • Greetings, I wish to help out the development of Perl 6, initially running under Pugs, by supplying test code of sorts, written in Perl 6, that we would attempt to run under Pugs (and eventually ...
    Darren DuncanDarren Duncan
    Mar 5, 2005 at 11:26 pm
    Mar 7, 2005 at 7:51 pm
  • Hello all, I am not even 100% sure these are bugs. I assume I should be able to do this, but I dont know for sure. These two test groups (taken from t/builtins/io/io_in_for_loop.t) below will fail ...
    Stevan LittleStevan Little
    Mar 28, 2005 at 9:41 pm
    Mar 30, 2005 at 7:37 am
  • This patch adds these binary-hyperops to pugs: »+« »*« »/« »x« »xx« This is my first patch ever, so could someone check if this is OK or not. This only adds few hyperops, as I'm not 100% sure if this ...
    Markus LaireMarkus Laire
    Mar 11, 2005 at 10:55 am
    Mar 12, 2005 at 8:06 am
  • (Cc'ing this post to p6i and p6l, as this is likely to concern folks from all three mailing lists.) As of Pugs revision 1024, this works: % pugscc --runparrot -e "'Hello, Parrot'.say" And yes, it ...
    Autrijus TangAutrijus Tang
    Mar 22, 2005 at 8:43 pm
    Mar 26, 2005 at 5:50 pm
  • I tried using named parameters (S06) and found this to work: pugs sub formalize($text, +$case) { say $text } formalize('hello'); hello bool::true But unfortunately, this did not: pugs sub ...
    Nathan GrayNathan Gray
    Mar 14, 2005 at 3:15 pm
    Mar 14, 2005 at 4:58 pm
  • Running this program with perl 5: my $i = int(1.9); print "i=$i\n"; produces the answer 1 (i.e. it truncates) while running it with Pugs produces the answer 2 (i.e. it rounds). Is this a bug or a ...
    Andrew SavigeAndrew Savige
    Mar 12, 2005 at 2:47 am
    Mar 12, 2005 at 6:45 am
  • We don't have any tests for the $?LINE and $?FILE variables, although they do work just fine as far as I can tell. Here's a diff adding some in a new t/magical/vars.t file, since Autrijus thought ...
    Garrett RooneyGarrett Rooney
    Mar 5, 2005 at 4:45 pm
    Mar 6, 2005 at 1:28 am
  • I'm having some trouble using the &?SUB variable in a subroutine declared with the - operator. The following code results in an error about &?SUB being undefined: my $s = - $count { if $count < 10 { ...
    Garrett RooneyGarrett Rooney
    Mar 5, 2005 at 1:19 am
    Mar 5, 2005 at 1:45 am
  • I was flabbergasted by this one. # cat weird.p6 my$x=42my$y="Zaphod"~"Beeblebrox"my$z="I think they're just strange symbols of some kind"say"x='$x' y='$y' z='$z'" # pugs weird.p6 x='42' ...
    Andrew SavigeAndrew Savige
    Mar 26, 2005 at 6:31 am
    Mar 26, 2005 at 7:52 am
  • In my attempt to get pugs up and running on my machine, I tried to use the darcs repository. I used a command like... $ darcs get http://wagner.elixus.org/~autrijus/darcs/pugs/ ...which seemed to ...
    Greg BuchholzGreg Buchholz
    Mar 24, 2005 at 11:47 pm
    Mar 25, 2005 at 2:54 am
  • ghc of 6.2 on OS X 10.3 with pugs svn-latest. Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/builtins/goto.t ...
    William ColedaWilliam Coleda
    Mar 23, 2005 at 2:10 am
    Mar 24, 2005 at 3:37 am
  • Hello all, I found another bug, this one to do with single quoted stings. Basically, pugs does not seem to correctly parse the single quoted string 'test\' See t/pugsbugs/string_escaping.t for a ...
    Stevan LittleStevan Little
    Mar 22, 2005 at 10:33 pm
    Mar 23, 2005 at 5:17 pm
  • I've read the Pugs web site, and it said to subscribe to this list in order to lend a hand. I'm fairly good with Perl5, and have read up on Perl6, and understand that writing test cases for Perl6 is ...
    Anthony KilnaAnthony Kilna
    Mar 17, 2005 at 7:50 pm
    Mar 17, 2005 at 9:10 pm
  • Hello, this mail is an analysis of implementing operator ternary operator "?? ::" in pugs. Welcome for suggestions. I. ?? :: in pugs The implementation of ?? :: in pugs is buggy. Below are two perl 6 ...
    Shu-chun WengShu-chun Weng
    Mar 8, 2005 at 3:02 am
    Mar 15, 2005 at 6:44 pm
  • Hi All, Started looking at porting modules to pugs and Time::namespace seemed like a simple place to begin. These modules need the builtins localtime and gmtime to run, so I've written my first ...
    Matthew CampbellMatthew Campbell
    Mar 15, 2005 at 5:29 pm
    Mar 15, 2005 at 6:40 pm
  • Hello All, This is my first post to the list, responding to the Pugs website and getting involved. Specifically it says that Modules and Tests are needed and I'd like to help with the development of ...
    Matthew CampbellMatthew Campbell
    Mar 14, 2005 at 10:13 am
    Mar 14, 2005 at 10:48 am
  • Autrijus, While I like the current Pugs banner, it's basically a variation of the Hugs banner. So I put my years of art school training to work, and some help from FIGlet I created a new banner. / \ ...
    Stevan LittleStevan Little
    Mar 10, 2005 at 2:40 am
    Mar 10, 2005 at 4:54 am
  • Autrijus and Co. I have found another weird bug. It apprears to be a problem with the way the return statement handles Array refs and Hash refs in scalar context. I have some tests in ...
    Stevan LittleStevan Little
    Mar 7, 2005 at 11:09 pm
    Mar 8, 2005 at 11:50 am
  • Autrijus & Co. I have managed to track down two different bugs/issues with PUGS. I explain them here in detail with examples, and todo_* tests for them are included in the following test files: ...
    Stevan LittleStevan Little
    Mar 2, 2005 at 8:18 pm
    Mar 5, 2005 at 3:22 am
  • the file examples/hanoi.p6 should work correctly, but does not. Something is going wrong in the recursion. ========================= [amahabal@satchel trunk]$ ./pugs examples/hanoi.p6 ndisks = 3 AS ...
    Abhijit MahabalAbhijit Mahabal
    Mar 2, 2005 at 5:22 pm
    Mar 2, 2005 at 7:18 pm
  • After a IRC meeting with Leo, I've outlined my roadmap of how to make the three compiler backends in Pugs to work in concert to provide a much faster evaluator: ...
    Autrijus TangAutrijus Tang
    Mar 28, 2005 at 7:32 pm
    Apr 1, 2005 at 2:42 am
  • This one fixes "make test", by forcing the fix of "test" target of the generated Makefile. I'd rather have Ingy reviewing it or something, because AFAICT it's his territory -- dark makemaker places ...
    Rafael Garcia-SuarezRafael Garcia-Suarez
    Mar 27, 2005 at 12:52 pm
    Mar 27, 2005 at 12:57 pm
  • This fixes installing to a different DESTDIR. Index: Makefile.PL =================================================================== --- Makefile.PL (revision 1233) +++ Makefile.PL (working copy) @@ ...
    Rafael Garcia-SuarezRafael Garcia-Suarez
    Mar 27, 2005 at 12:07 pm
    Mar 27, 2005 at 12:12 pm
  • I was wondering if I should switch my test log output to YAML, or some more parseable format. Or maybe change output format based on the log file extension? The problem, of course, is not to encumber ...
    Nathan GrayNathan Gray
    Mar 26, 2005 at 1:31 am
    Mar 26, 2005 at 3:00 am
  • I'm wondering if the precedence of the "return" keyword isn't wrong in pugs. In the code below, fibo2 works as I'd expected, fibo returns nothing. (If this is expected behavior, I'd apppreciate ...
    Greg BuchholzGreg Buchholz
    Mar 25, 2005 at 11:45 pm
    Mar 26, 2005 at 1:29 am
  • Hello All, I have been asking Autrijus about getting the substitution regexp working in Pugs, and a few issues have come up which need some clarification. In the Smart Matching table in Synopsis 04, ...
    Stevan LittleStevan Little
    Mar 23, 2005 at 4:15 pm
    Mar 23, 2005 at 6:42 pm
  • Perl 6 Summary for 2005-03-07 through 2005-03-22 All~ Welcome to yet another fortnights summary. I believe this is the highest volume I have ever seen the three lists at simultaneously. Hopefully ...
    Matt FowlesMatt Fowles
    Mar 23, 2005 at 3:47 am
    Mar 23, 2005 at 9:42 am
  • I'm unsure how chomp() should work with p6; it's not listed in S29 yet. Should the semantics of g.p6 below be the same for p5 and p6? It produces different output when run with p5 compared to pugs, ...
    Andrew SavigeAndrew Savige
    Mar 20, 2005 at 11:01 am
    Mar 20, 2005 at 11:13 pm
  • Sat Mar 19 16:23:21 EST 2005 Mark Stosberg <mark@summersault.com * typo fix
    Mark StosbergMark Stosberg
    Mar 19, 2005 at 9:23 pm
    Mar 19, 2005 at 10:50 pm
  • I noticed this a while ago but forgot to report it. While Pugs is happy with: my @tt = ( 'x', 'y' ); it fails on: my @tt = ( 'x', 'y', ); with the following error message: unexpected ")" expecting ...
    Andrew SavigeAndrew Savige
    Mar 19, 2005 at 3:49 am
    Mar 19, 2005 at 5:29 am
  • Hi, First off, this is my first time out with Haskell so it's very likely I'll have gone about this the wrong way. You might want to glance at the patch carefully before applying. :-) Anyway, this ...
    Jonathan WorthingtonJonathan Worthington
    Mar 18, 2005 at 1:04 am
    Mar 18, 2005 at 2:32 am
  • This little program worked as I expected: my @x = ( "abc\n", "defg\n" ); for @x - $k { print($k); # length() and bytes() seem not implemented yet (?) ... # so try to get length via split my $len = ...
    Andrew SavigeAndrew Savige
    Mar 16, 2005 at 7:53 am
    Mar 16, 2005 at 5:18 pm
  • Given this Pugs program, t.p6: my $fh = open(@ARGS[0]); my @lines = =$fh; $fh.close(); for @lines { print"$_" } running: pugs t.p6 t.p6 produces no output. Move $fh.close() to after the for loop and ...
    Andrew SavigeAndrew Savige
    Mar 14, 2005 at 11:58 am
    Mar 14, 2005 at 4:06 pm
  • Hello Pugs developers! I tried to compile Pugs 6.0.10 with ghc 6.4 and got some error messages. Fortunately they were not hard to resolve. I had to do the following: - remove getEnvironment from ...
    Edwin SteinerEdwin Steiner
    Mar 12, 2005 at 8:36 pm
    Mar 13, 2005 at 6:55 am
  • I'm trying to come up to speed with a lot of things, including subversion, which I've not used before (haven't used cvs either). I'm eager not to stuff anything up. Also, this note might help other ...
    Andrew SavigeAndrew Savige
    Mar 13, 2005 at 1:37 am
    Mar 13, 2005 at 1:45 am
  • Hello, p6c-folks: As of about 5 minutes ago, time() in pugs was changed to give the number of seconds since Jan 1, 2000 rather then since Jan 1, 1970, based on Larry's post http://xrl.us/fet6. ...
    James MastrosJames Mastros
    Mar 11, 2005 at 7:04 pm
    Mar 11, 2005 at 9:03 pm
  • Perl 6 Summary for 2005-02-22 though 2005-03-07 All~ Welcome to yet another fortnight summary. Once again brought to you by chocolate chips. This does have the distinction of being the first summary ...
    Matt FowlesMatt Fowles
    Mar 8, 2005 at 3:43 am
    Mar 8, 2005 at 7:00 pm
Group Navigation
period‹ prev | Mar 2005 | next ›
Group Overview
groupperl6-compiler @
categoriesperl
discussions92
posts269
users48
websiteperl6.org

48 users for March 2005

Autrijus Tang: 43 posts Luke Palmer: 29 posts Stevan Little: 27 posts Larry Wall: 26 posts Andrew Savige: 23 posts Darren Duncan: 14 posts Garrett Rooney: 12 posts Nathan Gray: 9 posts Yuval Kogman: 8 posts Patrick R. Michaud: 6 posts Markus Laire: 5 posts Aaron Sherman: 4 posts Abhijit Mahabal: 4 posts Gaal Yahas: 4 posts Mark Stosberg: 4 posts Matthew Campbell: 4 posts Rafael Garcia-Suarez: 4 posts James Mastros: 3 posts Rod Adams: 3 posts Adam Kennedy: 2 posts
show more
Archives