Larry,
Yes, I realized that my test was wrong. What I really wanted to test for was this:
pugs -e "say 'foo\\'"
which gives the error:
unexpected end of input expecting "\\'" or end of string NonTerm SourcePos "-e" 1 12
Perl5 handles this correctly with:
perl -e "print 'foo\\'"
printing:
foo\
I will be updating this test soon to reflect.
Thanks,
Steve
On Mar 23, 2005, at 12:02 PM, Larry Wall wrote:
On Tue, Mar 22, 2005 at 05:32:04PM -0500, Stevan Little wrote: : Basically, pugs does not seem to correctly parse the single quoted : string 'test\'
That is not a single-quoted string. That's the beginning of a single-quoted string. All parsing in Perl 6 is left-to-right, without "lookaheads" for the terminator. (If that's what your test tests, I apologize for not reading it.)
Larry