Clone of mesa.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
Carl Worth 67c27afc16 Add test for an object-like macro with a definition beginning with '(' před 15 roky
main Add hash table implementation from glsl2 project. před 15 roky
tests Add test for an object-like macro with a definition beginning with '(' před 15 roky
.gitignore Add a very simple test for the pre-processor. před 15 roky
Makefile Add support for the structure of function-like macros. před 15 roky
README Add README file describing glcpp. před 15 roky
glcpp-lex.l Add support for the structure of function-like macros. před 15 roky
glcpp-parse.y Eliminate a reduce/reduce conflict in the function-like macro production. před 15 roky
glcpp.c Fix defines involving both literals and other defined macros. před 15 roky
glcpp.h Add support for the structure of function-like macros. před 15 roky
hash_table.c Add hash table implementation from glsl2 project. před 15 roky
hash_table.h Add hash table implementation from glsl2 project. před 15 roky
xtalloc.c Convert lexer to talloc and add xtalloc wrappers. před 15 roky

README

glcpp -- GLSL "C" preprocessor

This is a simple preprocessor designed to provide the preprocessing
needs of the GLSL language. The requirements for this preprocessor are
specified in the GLSL 1.30 specification availble from:

http://www.opengl.org/registry/doc/GLSLangSpec.Full.1.30.08.pdf

This specification is not precise on some semantics, (for example,
#define and #if), defining these merely "as is standard for C++
preprocessors". To fill in these details, I've been using the C99
standard (for which I had a convenient copy) as available from:

http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf