Télécharger la liste

Description du projet

Flex Bison C++ Template is a code template that can be used to integrate a Flex scanner and Bison parser pair into a modern C++ program. These two universal tools are very difficult to incorporate into a good C++ design. The template utilizes both Flex and Bison in C++ mode and their output are encapsulated into classes. Thus the lexer and parser become fully reentrant, and multiple distinct lexer-parser pairs can easily be linked into one binary. The code implements a simple infix-notation calculator as an example, which can be used as a starting-point for you to insert your grammar.

Système requise

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2008-10-23 22:29
0.1.3

Un bug très subtile avec l'yywrap virtuel nouvellement introduit () dans la classe FlexLexer a été corrigée. Selon la façon dont l'en-tête a été incluse, la classe contenait les yywrap virtuelle () ou pas. Ces déclarations de classe différentes conduisent à des exceptions pointeur NULL très étrange, parce que les différents objets compilés assumer différentes mises en page classe mémoire. En définitive, le programme toujours exprtest crashait.
Tags: Major bugfixes
A very subtle bug with the newly introduced
virtual yywrap() function in the FlexLexer class
was corrected. Depending on how the header was
included, the class contained the virtual yywrap()
function or not. These differing class
declarations lead to very strange NULL pointer
exceptions, because the different compiled objects
assume different class memory layouts. Ultimately,
the exprtest program always segfaulted.

2008-08-17 16:20
0.1.2

Cette version résout des erreurs de compilation qui s'est produit en l'absence de directive de l'Union% est utilisé dans la grammaire. En outre, elle corrige un problème avec la version 2.5.35 de nouveaux flex.
Tags: Initial freshmeat announcement
This version solves compilation errors that
occurred when no %union directive is used in the
grammar. Furthermore, it fixes a problem with the
new flex version 2.5.35.

Project Resources