Clone of mesa.
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
Carl Worth 27bc8930ba Add some whitespace variations to test 15. 15 роки тому
main Add hash table implementation from glsl2 project. 15 роки тому
tests Add some whitespace variations to test 15. 15 роки тому
.gitignore Add a very simple test for the pre-processor. 15 роки тому
Makefile Add support for the structure of function-like macros. 15 роки тому
README Add README file describing glcpp. 15 роки тому
glcpp-lex.l Fix parsing of object-like macro with a definition that begins with '('. 15 роки тому
glcpp-parse.y Fix parsing of object-like macro with a definition that begins with '('. 15 роки тому
glcpp.c Fix defines involving both literals and other defined macros. 15 роки тому
glcpp.h Add support for the structure of function-like macros. 15 роки тому
hash_table.c Add hash table implementation from glsl2 project. 15 роки тому
hash_table.h Add hash table implementation from glsl2 project. 15 роки тому
xtalloc.c Convert lexer to talloc and add xtalloc wrappers. 15 роки тому

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