This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gomp] parse OpenMP directives


Indeed, I strongly recommend doing something that works to get OpenMP implemented - even if it does involve duplicate parsing implementations or other duplication or designs that might not be ideal were you writing a whole compiler collection from scratch - and avoiding false dependencies on large changes to or replacements of other parts of the compiler.

Would it be fine to write a recursive descent parser used only for OpenMP code, and then extend it to handle arbitrary translation units?


Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]