I've downloaded Flex and Bison, and installed everything ok. But... i either don't know how to use these under windows, or i can't.
So, in gnuwin\bin i see 4 exes. Bison, Flex, Flex+ and M4. I pretty much guessed i need to run these from cmd.exe, but whatever i do they just don't respond.
Any help with getting them to run? Please? :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I used them on Linux, and i've tried passing them arguments... Besides, i need a LALR(1) parser, and Bison is a lalr parser generator... True that i've used lex/yacc, but flex/bison should not only be fully compatible with those, but also better than the lex/yacc combo.
And i expected to find at least some info in the docs. I found none.
I didn't expect them to pop up a GUI or anything, but I did expect it to at least respond somehow instead of just doing nothing when i run the file.
I need to generate this scanner class so i can go on with the Bison part of the project. Once i figure out how to get these two to work, i'll just make a batch file to run them with the params i need, much like i've used makefiles.
Does this make sense now?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2009-02-26
Are you trying to run them interactively, expecting them to offer some
kind of user interface? Then you have misunderstood something.
Typically these tools are used from scripts or makefiles, passing
arguments (file names etc) on the command line. Running them
interactively is more or less pointless.
Why did you download these tools if you have no idea how they are used?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I used them on Linux, and i've tried passing them arguments... Besides, i need a LALR(1) parser, and Bison is a lalr parser generator... True that i've used lex/yacc, but flex/bison should not only be fully compatible with those, but also better than the lex/yacc combo.
And i expected to find at least some info in the docs. I found none.
I didn't expect them to pop up a GUI or anything, but I did expect it to at least respond somehow instead of just doing nothing when i run the file.
I need to generate this scanner class so i can go on with the Bison part of the project. Once i figure out how to get these two to work, i'll just make a batch file to run them with the params i need, much like i've used makefiles.
Does this make sense now?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I need to ask it.
I've downloaded Flex and Bison, and installed everything ok. But... i either don't know how to use these under windows, or i can't.
So, in gnuwin\bin i see 4 exes. Bison, Flex, Flex+ and M4. I pretty much guessed i need to run these from cmd.exe, but whatever i do they just don't respond.
Any help with getting them to run? Please? :)
I used them on Linux, and i've tried passing them arguments... Besides, i need a LALR(1) parser, and Bison is a lalr parser generator... True that i've used lex/yacc, but flex/bison should not only be fully compatible with those, but also better than the lex/yacc combo.
And i expected to find at least some info in the docs. I found none.
I didn't expect them to pop up a GUI or anything, but I did expect it to at least respond somehow instead of just doing nothing when i run the file.
I need to generate this scanner class so i can go on with the Bison part of the project. Once i figure out how to get these two to work, i'll just make a batch file to run them with the params i need, much like i've used makefiles.
Does this make sense now?
Are you trying to run them interactively, expecting them to offer some
kind of user interface? Then you have misunderstood something.
Typically these tools are used from scripts or makefiles, passing
arguments (file names etc) on the command line. Running them
interactively is more or less pointless.
Why did you download these tools if you have no idea how they are used?
I used them on Linux, and i've tried passing them arguments... Besides, i need a LALR(1) parser, and Bison is a lalr parser generator... True that i've used lex/yacc, but flex/bison should not only be fully compatible with those, but also better than the lex/yacc combo.
And i expected to find at least some info in the docs. I found none.
I didn't expect them to pop up a GUI or anything, but I did expect it to at least respond somehow instead of just doing nothing when i run the file.
I need to generate this scanner class so i can go on with the Bison part of the project. Once i figure out how to get these two to work, i'll just make a batch file to run them with the params i need, much like i've used makefiles.
Does this make sense now?