A simple way to get started with Bison is to start with the
calculator in the Bison manual, or the use a Flex/Bison combination,
as in the book by Aho, Sethi & Ullman, "Compilers...". Then
experiment, and expand from there.
As for the general parsing problem, and compiler tools, you might
benefit from checking out the Usenet newsgroup comp.compilers, and
its FAQ, published there monthly.
On 9 Mar 2006, at 10:36, Spikx wrote:
Hello,
I recently began to learn the basic principles of parsers, context
free
grammar and espcially bison, because I need it for a project. But I
wondered
if the use of bison would be suitable at all in my case.
In this project, the content of a game (objects, visuals, logic, etc.)
should be defined by a simple text file, which will be generated
before.
This file should be parsed and complete the game depending on its
content.
Perhaps one element coult look like this:
object( ammount=10, position(0,0,random), texture(...), ... )
.. I don't know yet :)
The game is written in C++ and I wonder now, if it is possible at
all, to
create a more or less complex behaviour with a parser.. and if..
what do I
have to consider?
I have to mention again, that I am practically a complete newbie to
all this
:)
--
View this message in context: http://www.nabble.com/should-I-use-
bison--t1251695.html#a3316787
Sent from the Gnu - Bison - Help forum at Nabble.com.
_______________________________________________
Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison
_______________________________________________
Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison