Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Handel-C Macro Expressions and Procedures

Hi everyone!

I am currently writing a plug-in which extends the CDT to work with Handel-C
(which is a subset of C) for FPGA programming.

I am currently working on the parser and I need to parse Handel-C Macro
Expressions in the form of

macro expr Name = Expression; OR macro expr Name(Args) = Expression;

and macro procedures in the form of

macro proc Name(Args)

Now the parsing for the syntax is not really my problem, it is rather the
fact that I need to somehow tell the parser/preprocessor that these things
are macros and need to be expanded in the code, just like the #define does
in standard C.

Anyone know how this can be done?

View this message in context:
Sent from the Eclipse CDT - Development mailing list archive at

Back to the top