[psoc-2008] NCI - Week 1 Report
Kevin Tew
tewk at tewk.com
Sun Jun 1 02:30:26 UTC 2008
I spent the week as scheduled working on fixing bugs in c99 parsing .
I'm going to morph c99 into a primitive static analysis tool, so I'm
plan on copying the c99 implementation to something like compilers/nci_gen.
This will leave c99 in its original form should someone would like to
continue its development as a first class parrot language implementation.
In order to work with gcc's pre processor and my gsl test case, I
skipped ahead and implemented gcc __attribute__ parsing for __nonnull__
and __nothrow__.
I also added parsing for gcc's __extension__, __const, __volatile, and
__restrict forms.
There were some bugs with respect to function declarations and user
defined type names, so I implemented a couple work arounds to allow
syntax parsing with out building a symbol table of type names.
This seems to work for now.
I also modified support for signed and unsigned keywords as well as long
long int, long int, and short int built-in types.
Kevin
More information about the psoc-2008
mailing list