summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-05-10Implment #defineCarl Worth
By using the recently-imported hash_table implementation.
2010-05-10Makefile: Enable debugging of parser.Carl Worth
This compiles the debugging code for teh parser. It's not active unless the yydebug variable is set to a non-zero value.
2010-05-10Add hash table implementation from glsl2 project.Carl Worth
The preprocessor here is intended to become part of the glsl2 codebase eventually anyway.
2010-05-10Add .gitignore file.Carl Worth
To ignore generated source files (and glcpp binary).
2010-05-10Add some compiler warnings and corresponding fixes.Carl Worth
Most of the current problems were (mostly) harmless things like missing declarations, but there was at least one real error, (reversed argument order for yyerrror).
2010-05-10Make the lexer reentrant (to avoid "still reachable" memory).Carl Worth
This allows the final program to be 100% "valgrind clean", (freeing all memory that it allocates). This will make it much easier to ensure that any allocation that parser actions perform are also cleaned up.
2010-05-10Add the tiniest shell of a flex/bison-based parser.Carl Worth
It doesn't really *do* anything yet---merlely parsing a stream of whitespace-separated tokens, (and not interpreting them at all).