Re: C preprocessor

2020-08-13 Thread Ervin Hegedüs
Hi Giacinto, may be this will not the exact answer what you're waiting for, but perhaps will help... :) On Thu, Aug 13, 2020 at 07:49:52AM +0200, Giacinto Cifelli wrote: > Hi all, > > I am wondering if it is possible to interpret a c-preprocessor (the second > preprocessor, not the one expandin

Re: C preprocessor

2020-08-13 Thread Giacinto Cifelli
Hi Ervin, thank you for your answer :) in both projects the lexer is handwritten, and it doesn't seem to build an AST. I have found meanwhile something that goes more in the direction I am interested in: https://nyuscholars.nyu.edu/en/publications/superc-parsing-all-of-c-by-taming-the-prepr