Clean up
I’d like to get rid of Doxygen and xmerl
from this
project. To do so, I need to parse header files, to some level of
completeness. There are a few options for how to do this instead. The
main three ideas I have currently are:
- NimbleParsec
- Erlang’s leex/yecc
- Clang AST
Something to keep in mind is what do we actually need to parse? For
example, raylib.h
includes platform-dependent
#define
s for various things. I could just ignore
#define
s, but that could lead to weird results. Instead,
I could run the pre processor on the machine as a compile step. Or I
could get the data from the raylib cheatsheet.
I don’t really know what I want to do. I’m not sure why I’m stuck on this.
Bit of a loss today
I couldn’t really get anywhere and it’s about midnight. I think I’ll call it a day for now.