dsieber
Joined: 27 Mar 2004 Posts: 16
|
Posted: Wed Jun 02, 2004 11:02 am Post subject: |
|
|
Hey Charlie,
I had a project set up in Visual Studio .NET, and I added custom command line tools for the lexer and parser. Here's what I have:
For the lexer:
Code: | flex -o$(InputName).cpp $(InputName).lex
|
And for the grammar:
Code: | bison -v -o$(InputName).cpp -d $(InputName).y
|
$(InputName) is a macro, of course, and expands to the base name of the project file, which would be "lexer" and "parser", respectively.
Give those a try, and let me know if it works. _________________ dave |
|