Re: Questions about abstract pmcs

2004-01-13 Thread Melvin Smith
At 09:55 PM 1/12/2004 +0100, Stéphane Payrard wrote: On Mon, Jan 12, 2004 at 03:16:50PM -0500, Dan Sugalski wrote: > Which brings up a question. What's the difference between .local and .sym? > -- Currently, there is none. So I went for the shortest: grep -n -e LOCAL imcc.l imcc.l:181:".sym"

Re: Questions about abstract pmcs

2004-01-12 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > Which brings up a question. What's the difference between .local and .sym? They are equivalent for plain code. *But* C<.local> was already used for local labels inside macros of assembler.pl - so is it now - and it was used for declaring variables in imcc

Re: Questions about abstract pmcs

2004-01-12 Thread Stéphane Payrard
On Mon, Jan 12, 2004 at 03:16:50PM -0500, Dan Sugalski wrote: > At 7:30 PM +0100 1/12/04, Leopold Toetsch wrote: > >Stéphane Payrard <[EMAIL PROTECTED]> wrote: > >> Example: > > > >>.sym scalar var > >>new var, .Perlint # the instance is a substype of C > > > > .sym pmc var > > > >is as g

Re: Questions about abstract pmcs

2004-01-12 Thread Harry Jackson
Dan Sugalski wrote: Which brings up a question. What's the difference between .local and .sym? I was hoping someone would ask this. Harry

Re: Questions about abstract pmcs

2004-01-12 Thread Dan Sugalski
At 7:30 PM +0100 1/12/04, Leopold Toetsch wrote: Stéphane Payrard <[EMAIL PROTECTED]> wrote: Example: .sym scalar var new var, .Perlint # the instance is a substype of C .sym pmc var is as good. There isn't any difference. Its even simpler for compiler writers. Which brings up a quest

Re: Questions about abstract pmcs

2004-01-12 Thread Leopold Toetsch
Stéphane Payrard <[EMAIL PROTECTED]> wrote: > Example: >.sym scalar var >new var, .Perlint # the instance is a substype of C .sym pmc var is as good. There isn't any difference. Its even simpler for compiler writers. > My understanding is that we already have that. C types > define m

Re: Questions about abstract pmcs

2004-01-12 Thread Stéphane Payrard
On Mon, Jan 12, 2004 at 10:05:51AM +0100, Leopold Toetsch wrote: > Stéphane Payrard <[EMAIL PROTECTED]> wrote: > > Abstract pmcs should appear in core_pmcs.h and pmctypes.pasm > > because one needs them as base pmcs so as to declare > > pseudo-registers. This is a prerequisite to add pmc type check

Re: Questions about abstract pmcs

2004-01-12 Thread Leopold Toetsch
Stéphane Payrard <[EMAIL PROTECTED]> wrote: > Abstract pmcs should appear in core_pmcs.h and pmctypes.pasm > because one needs them as base pmcs so as to declare > pseudo-registers. This is a prerequisite to add pmc type checking > to imcc. I don't think that we need the type names of abstract PMC

Questions about abstract pmcs

2004-01-11 Thread Stéphane Payrard
Abstract pmcs should appear in core_pmcs.h and pmctypes.pasm because one needs them as base pmcs so as to declare pseudo-registers. This is a prerequisite to add pmc type checking to imcc. Working on a patch to fix that, I got some questions to be answered. Unlike other pmcs, abstract pmcs have na