Hi All, A while ago I asked about an ANTLR grammar for HLSL files. These are for DirectX shaders.
I didn't get a response then, but I got around to writing one some time ago. I thought it may be of interest to others, so for the record it is at http://code.google.com/p/schladetsch/source/browse/trunk/Effects/Tools/EffectTranslator. This includes the lexer, parser, AST walker and string-templates for output. If there is further interest, I can add the C# tool that parses a .fx file to an AST then produces a .fx file via StringTemplates. Cheers, Christian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
