Download List

프로젝트 설명

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.

System Requirements

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

FlexLexer 클래스에서 새로 도입된 가상 yywrap와 아주 미묘한 버그 () 함수를 수정했습니다. 방법에 따라 헤더 클래스에 포함된 가상 yywrap () 함수 안에 포함됐다. 때문에 다른 컴파일된 객체를 다른 클래스의 메모리 레이아웃이 생각이 서로 다른 클래스 선언은 매우 이상한 NULL 포인터 예외를 리드. 궁극적으로, exprtest 프로그램은 항상 segfaulted.
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

이 버전은 아무도 없을 때 % 노조 지시어 문법에서 사용되는 발생한 컴파일 오류를 해결합니다. 새로운 플렉스 버전 2.5.35과 더 나아가, 그것을 수정 문제.
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