Clone of mesa.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Carl Worth 67c27afc16 Add test for an object-like macro with a definition beginning with '(' il y a 15 ans
main Add hash table implementation from glsl2 project. il y a 15 ans
tests Add test for an object-like macro with a definition beginning with '(' il y a 15 ans
.gitignore Add a very simple test for the pre-processor. il y a 15 ans
Makefile Add support for the structure of function-like macros. il y a 15 ans
README Add README file describing glcpp. il y a 15 ans
glcpp-lex.l Add support for the structure of function-like macros. il y a 15 ans
glcpp-parse.y Eliminate a reduce/reduce conflict in the function-like macro production. il y a 15 ans
glcpp.c Fix defines involving both literals and other defined macros. il y a 15 ans
glcpp.h Add support for the structure of function-like macros. il y a 15 ans
hash_table.c Add hash table implementation from glsl2 project. il y a 15 ans
hash_table.h Add hash table implementation from glsl2 project. il y a 15 ans
xtalloc.c Convert lexer to talloc and add xtalloc wrappers. il y a 15 ans

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