Michael Popoloski
unread,Nov 20, 2010, 1:19:05 AM11/20/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to slimdx...@googlegroups.com
The new parser stuff is in and seems to be working pretty well. It is located in v2/Prototype Parser folder. Building the generator program and running it straight out should generate a test.xml file in the output directory with the parse tree for the DXGI headers. All inputs are configured using the config.txt file, which uses an ini-style format to express options for running. This should make it easy to run on any set of headers and from any location.
This new project should cut down on a lot of code from the old generator, and since it uses an established parser generator it should be more robust and maintainable. The C++ grammar I'm using is a very cut down and ad-hoc version that I built up by testing on the DXGI headers, so it may need some work before the others will parse properly.
At this point I think the next step is to attach templates to the productions we care about and let it run through and spit out source files. Once that's done we can look at using Josh's new trampoline stuff to create the final assemblies.