[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gomp-discuss] Example openMP programs.
From: |
Pop Sébastian |
Subject: |
Re: [Gomp-discuss] Example openMP programs. |
Date: |
Fri, 21 Feb 2003 15:25:48 +0100 |
User-agent: |
Mutt/1.4i |
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.
> 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
Re: [Gomp-discuss] Example openMP programs., Diego Novillo, 2003/02/21