On 19 November 2010 02:35, Mike Pall
<mikelu-1011@mike.de> wrote:
The parser is already able to grok <stdio.h> (no small feat). But
I'm not happy until it works on <windows.h> and <gtk.h>. :-)
And the C parser doesn't contain preprocessor functionality, yet.
You can pipe the header file through cc -E -P in the meantime. But
in the long term I'll need to add an internal preprocessor.
Otherwise you can't get constants from #defines (enums work fine).
--Mike
How much more work would it be to continue and interpret/JITcompile the C code too? :)