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

[CVS ci] pmc compiler 2nd edition

7 views
Skip to first unread message

Leopold Toetsch

unread,
Dec 3, 2003, 5:10:43 AM12/3/03
to P6I
I've put in a really long pending patch. The upcoming vtable changes are
simplified a lot, as e.g. null.pmc is fully generated now.
Currently line numbers in generated .c files are wrong and disabled.
Fixes welcome.

leo

Melvin Smith

unread,
Dec 3, 2003, 9:26:47 AM12/3/03
to Leopold Toetsch, P6I

I think we still have 2 versions of some things (ops2c2 and pmc2c2 spring
to mind). I vote that you go ahead and remove the old versions, even
if it temporarily breaks something, if you are confident in the new ones.

-Melvin


Leopold Toetsch

unread,
Dec 3, 2003, 9:53:05 AM12/3/03
to Melvin Smith, perl6-i...@perl.org
Melvin Smith <mrjol...@mindspring.com> wrote:
> At 11:10 AM 12/3/2003 +0100, Leopold Toetsch wrote:
>>I've put in a really long pending patch. The upcoming vtable changes are
>>simplified a lot, as e.g. null.pmc is fully generated now.
>>Currently line numbers in generated .c files are wrong and disabled. Fixes
>>welcome.

> I think we still have 2 versions of some things (ops2c2 and pmc2c2 spring
> to mind).

Only the latter.

> ... I vote that you go ahead and remove the old versions, even


> if it temporarily breaks something, if you are confident in the new ones.

I'm using it since months. Before removing the old one docs inside
should be copied to the new tool.

> -Melvin

leo

Jonathan Worthington

unread,
Dec 3, 2003, 11:19:30 AM12/3/03
to P6I
Hope bug reports are welcome too. :-) On Win32:-

> perl -e "print @ARGV" *.*
*.*

Thus current builds fail with:-

C:\Perl\bin\perl.exe pmc2c2.pl --vt
C:\Perl\bin\perl.exe pmc2c2.pl --dump *.pmc
Can't read '*.pmc' at pmc2c2.pl line 253.

Thanks,

Jonathan

Leopold Toetsch

unread,
Dec 3, 2003, 11:34:17 AM12/3/03
to Jonathan Worthington, P6I
Jonathan Worthington wrote:

> Hope bug reports are welcome too. :-) On Win32:-

Always.


>>perl -e "print @ARGV" *.*
>>
> *.*

Dumb "operating" system :)


> C:\Perl\bin\perl.exe pmc2c2.pl --dump *.pmc
> Can't read '*.pmc' at pmc2c2.pl line 253.

I've inserted this before 253:

# help these dumb 'shells' that are no shells
@files = glob $files[0] if $files[0] eq '*.pmc';
foreach my $file (@files) {


Should work on Win too.


> Thanks,
>
> Jonathan

leo

Jonathan Worthington

unread,
Dec 3, 2003, 1:51:21 PM12/3/03
to P6I
----- Original Message -----
From: "Leopold Toetsch" <l...@toetsch.at>
To: "Jonathan Worthington" <jona...@jwcs.net>
Cc: "P6I" <perl6-i...@perl.org>
Sent: Wednesday, December 03, 2003 4:34 PM
Subject: Re: [CVS ci] pmc compiler 2nd edition


> Jonathan Worthington wrote:
>
> > Hope bug reports are welcome too. :-) On Win32:-
>
> Always.
>
>
> >>perl -e "print @ARGV" *.*
> >>
> > *.*
>
> Dumb "operating" system :)
>

Yeah, the Windows "shell" is pretty pathetic.

> > C:\Perl\bin\perl.exe pmc2c2.pl --dump *.pmc
> > Can't read '*.pmc' at pmc2c2.pl line 253.
>
> I've inserted this before 253:
>
> # help these dumb 'shells' that are no shells
> @files = glob $files[0] if $files[0] eq '*.pmc';
> foreach my $file (@files) {
>
>
> Should work on Win too.

Works great, thanks.

Jonathan

0 new messages