[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gomp-discuss] Example openMP programs.
From: |
Steven Bosscher |
Subject: |
Re: [Gomp-discuss] Example openMP programs. |
Date: |
21 Feb 2003 17:09:58 +0100 |
Op vr 21-02-2003, om 15:25 schreef Pop Sébastian:
> On Fri, Feb 21, 2003 at 01:35:06PM +0100, Lars Segerlund wrote:
> >
> > What do you think about a separate parser for the 'foo bar baz' part ?
> >
> That's exactly what we should have.
> ie. if the tokenizer returns a __builtin_pragma then we call a function
> that expects the next tokens to be in a good 'shape'. I will try to follow
> the C++ recursive descent style for our grammar. I hope that this way
> GCC folks won't be too hostile to our changes.
How are you going to implement parsing expressions, in particular for
'if' clauses? Or just limited support for starts?
Greetz
Steven
> > i.e. we can make an openMP directive parser, then we only ( tm ;-) ),
> > have to drop it into the handling of the pragma ? ( I seem to recall
> > that gcc has a macro to register a handler for a builtin pragma ? ).
> >
> > Or is this to simple ( i.e. I am missing something ? )
> >
> No, it's not too simple: this is exactly what I'll try to implement.
>
> Seb
>
>
> _______________________________________________
> Gomp-discuss mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/gomp-discuss
Re: [Gomp-discuss] Example openMP programs., Diego Novillo, 2003/02/21