Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

embparrot still has two failures

0 views
Skip to first unread message

Larry Wall

unread,
Feb 2, 2006, 7:37:20 PM2/2/06
to perl6-c...@perl.org
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/rules/from_perl6_rules/array_ca 18 4608 45 10 22.22% 41-45
t/rules/from_perl6_rules/named_ca 18 4608 26 48 184.62% 3-26
1155 subtests skipped.
Failed 2/506 test scripts, 99.60% okay. 29/9078 subtests failed, 99.68% okay.

I narrowed the first one down to:

pugs> "GATTACA" ~~ m/ @bases:=[A|C|G|T]*/;
error:imcc:syntax error, unexpected ']'
in file 'EVAL_1' line 77

pugs -V:

This is Perl6 User's Golfing System, version 6.2.11, February 1, 2005 (r8945) built for i386-linux-thread-multi

Summary of pugs configuration:
archlib: /usr/lib/perl6/i386-linux-thread-multi
archname: i386-linux-thread-multi
bin: /usr/bin
exe_ext:
file_sep: /
installarchlib: /usr/lib/perl6/i386-linux-thread-multi
installbin: /usr/bin
installman1dir: /usr/share/man/man1
installman3dir: /usr/share/man/man3
installprivlib: /usr/lib/perl6
installscript: /usr/bin
installsitearch: /usr/lib/perl6/site_perl/i386-linux-thread-multi
installsitebin: /usr/bin
installsitelib: /usr/lib/perl6/site_perl
installsiteman1dir: /usr/share/man/man1
installsiteman3dir: /usr/share/man/man3
osname: linux
pager: /usr/bin/less -isr
path_sep: :
perl5path: /usr/bin/perl
perl_revision: 6
perl_subversion: 0
perl_version: 0
prefix: /usr
privlib: /usr/lib/perl6
pugs_revision: 8945
pugs_version: Perl6 User's Golfing System, version 6.2.11, February 1, 2005 (r8945)
pugs_versnum: 6.2.11
pugspath: /usr/bin/pugs
scriptdir: /usr/bin
sitearch: /usr/lib/perl6/site_perl/i386-linux-thread-multi
sitebin: /usr/bin
sitelib: /usr/lib/perl6/site_perl
siteprefix: /usr
sitescript: /usr/bin
sourcedir: /home/larry/pugs

@*INC:
/usr/lib/perl6/i386-linux-thread-multi
/usr/lib/perl6
/usr/lib/perl6/site_perl/i386-linux-thread-multi
/usr/lib/perl6/site_perl
/usr/lib/perl6/auto/pugs/perl6/lib
/usr/lib/perl6/site_perl/auto/pugs/perl6/lib
.

Larry

Uri Guttman

unread,
Feb 2, 2006, 10:58:39 PM2/2/06
to perl6-c...@perl.org
>>>>> "LW" == Larry Wall <la...@wall.org> writes:

LW> pugs -V:

LW> This is Perl6 User's Golfing System, version 6.2.11, February 1,
LW> 2005 (r8945) built for i386-linux-thread-multi
^^^^

not that this has anything to do with the bug(s) under question but i
see a y2k+5 bug right there. unless larry is working on a very old
version of pugs. and since it was first released about a year ago
according to audrey, i kinda doubt larry is working with v1.0.

:)

uri

--
Uri Guttman ------ u...@stemsystems.com -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org

Larry Wall

unread,
Feb 3, 2006, 12:14:21 AM2/3/06
to perl6-c...@perl.org
On Thu, Feb 02, 2006 at 10:58:39PM -0500, Uri Guttman wrote:
: >>>>> "LW" == Larry Wall <la...@wall.org> writes:
:
: LW> pugs -V:
:
: LW> This is Perl6 User's Golfing System, version 6.2.11, February 1,
: LW> 2005 (r8945) built for i386-linux-thread-multi
: ^^^^
:
: not that this has anything to do with the bug(s) under question but i
: see a y2k+5 bug right there. unless larry is working on a very old
: version of pugs. and since it was first released about a year ago
: according to audrey, i kinda doubt larry is working with v1.0.
:
: :)

Would you like a committer bit? :-)

Larry

Uri Guttman

unread,
Feb 3, 2006, 12:37:30 AM2/3/06
to perl6-c...@perl.org
>>>>> "LW" == Larry Wall <la...@wall.org> writes:

LW> On Thu, Feb 02, 2006 at 10:58:39PM -0500, Uri Guttman wrote:
LW> :
LW> : LW> This is Perl6 User's Golfing System, version 6.2.11, February 1,
LW> : LW> 2005 (r8945) built for i386-linux-thread-multi
LW> : ^^^^
LW> :
LW> : not that this has anything to do with the bug(s) under question but i
LW> : see a y2k+5 bug right there. unless larry is working on a very old
LW> : version of pugs. and since it was first released about a year ago
LW> : according to audrey, i kinda doubt larry is working with v1.0.
LW> :
LW> : :)

LW> Would you like a committer bit? :-)

bits of myself need to be committed! :)

i will pass. i prefer to stay on the outside and fire silly potshots.
too much of me is committed already for me to focus on other critical
issues in pugs like that one.

to expand on what damian said, i see things no one else sees because i
am not bogged down by the reality of actually doing real work on
pugs. :)

btw, i have made this prediction in several minor places and i may as
well post it here. from what i see and follow, i predict p6 will be
bootstrapping itself by the end of 2006. not that i expect pugs to
slough off and fall away then, but it will be a major milestone. let's
see how good my tea leaves reading is with you all making the tea. :)
don't let this put any undue pressure on any of you!

and of course what i mean by bootstrapping is that p6 and its rules, the
tree munging stuff and code gen to parrot (or maybe something else) will
be working enough to compile and run itself. this assumes that the
working p6 for this will be a small subset of all of p6 anyhow.

Stuart Cook

unread,
Feb 3, 2006, 8:12:35 AM2/3/06
to perl6-c...@perl.org
On 03/02/06, Uri Guttman <u...@stemsystems.com> wrote:
> >>>>> "LW" == Larry Wall <la...@wall.org> writes:
>
> LW> pugs -V:
>
> LW> This is Perl6 User's Golfing System, version 6.2.11, February 1,
> LW> 2005 (r8945) built for i386-linux-thread-multi
> ^^^^
>
> not that this has anything to do with the bug(s) under question but i
> see a y2k+5 bug right there. unless larry is working on a very old
> version of pugs. and since it was first released about a year ago
> according to audrey, i kinda doubt larry is working with v1.0.

Fixed (hopefully) as of r8948. Thanks for pointing it out.


Stuart

Audrey Tang

unread,
Feb 4, 2006, 10:34:33 PM2/4/06
to perl6-c...@perl.org
Larry Wall wrote:
> Failed Test Stat Wstat Total Fail Failed List of Failed
> -------------------------------------------------------------------------------
> t/rules/from_perl6_rules/array_ca 18 4608 45 10 22.22% 41-45
> t/rules/from_perl6_rules/named_ca 18 4608 26 48 184.62% 3-26
> 1155 subtests skipped.
> Failed 2/506 test scripts, 99.60% okay. 29/9078 subtests failed, 99.68% okay.
>
> I narrowed the first one down to:
> pugs> "GATTACA" ~~ m/ @bases:=[A|C|G|T]*/;
> error:imcc:syntax error, unexpected ']'
> in file 'EVAL_1' line 77

That seems to be a fatal error at PGE's side:

$ echo 'rule $x:=[]' | parrot demo.pir


error:imcc:syntax error, unexpected ']'

in file 'EVAL_2' line 79

The same error occurs if one replaces [] with <> or ().

Audrey

signature.asc

Patrick R. Michaud

unread,
Feb 5, 2006, 4:10:58 PM2/5/06
to Audrey Tang, perl6-c...@perl.org
On Sun, Feb 05, 2006 at 11:34:33AM +0800, Audrey Tang wrote:
> That seems to be a fatal error at PGE's side:
>
> $ echo 'rule $x:=[]' | parrot demo.pir
> error:imcc:syntax error, unexpected ']'
> in file 'EVAL_2' line 79

I've now updated PGE (r11427) so that it provides a more
useful exception:

p6rule parse error: Term expected at offset 5, found ']'

> The same error occurs if one replaces [] with <> or ().

The fix also updates the () case; I need to review the <>
case a bit more to get it to work correctly.

Thanks!

Pm

Audrey Tang

unread,
Feb 5, 2006, 7:50:02 PM2/5/06
to Patrick R. Michaud, Audrey Tang, perl6-c...@perl.org
On 2/6/06, Patrick R. Michaud <pmic...@pobox.com> wrote:
> On Sun, Feb 05, 2006 at 11:34:33AM +0800, Audrey Tang wrote:
> > That seems to be a fatal error at PGE's side:
> >
> > $ echo 'rule $x:=[]' | parrot demo.pir
> > error:imcc:syntax error, unexpected ']'
> > in file 'EVAL_2' line 79
>
> I've now updated PGE (r11427) so that it provides a more
> useful exception:
>
> p6rule parse error: Term expected at offset 5, found ']'

Er, what about the originally reported bug though. :-)

$ echo 'rule $x:=[x]' | parrot demo.pir


error:imcc:syntax error, unexpected ']'
in file 'EVAL_2' line 79

(This is of r11427. Compare "rule $x:=x" which works.)

Audrey

Patrick R. Michaud

unread,
Feb 6, 2006, 8:43:21 AM2/6/06
to Audrey Tang, Audrey Tang, perl6-c...@perl.org

Sorry about that, I mis-interpreted the bug you were seeking
to resolve. PGE doesn't yet handle aliases into scalar
variables (as it's not quite certain where to put the capture
results anyway), so it's having trouble figuring out where to
stick the capture results.

However, I'll see if I can at least get PGE to parse simple
scalars and throw the capture somewhere for the time being,
at least until I have a better handle on how Perl scalars
will be stored in Parrot.

Thanks!

Pm

0 new messages