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
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
Would you like a committer bit? :-)
Larry
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.
Fixed (hopefully) as of r8948. Thanks for pointing it out.
Stuart
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
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
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
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