Flex & Bison
Posted: 05 May 2007, 23:07
Please excuse my ignorance (I'm new to C)
Is this correct:
The purpose of Flex & Bison libraries is to provide a run-time translator and compiler for the pseudo code in the data/scripts directory???
Bison generates the parser (as Regular Expressions) from a set of rulesĀ in the format of a formal grammatical representation of the pseudo code. Flex takes this parser information and builds the translation and calling classes/functions which parse the pseudo code and make calls to the appropriate functions/methods/classes in the compiled code. Both Bison.exe and Flex.exe are run before the main compilation so their libraries are included in the build???
Is this close or a confused mess?
Ed Note: See below for Correct explanation!
Is this correct:
The purpose of Flex & Bison libraries is to provide a run-time translator and compiler for the pseudo code in the data/scripts directory???
Bison generates the parser (as Regular Expressions) from a set of rulesĀ in the format of a formal grammatical representation of the pseudo code. Flex takes this parser information and builds the translation and calling classes/functions which parse the pseudo code and make calls to the appropriate functions/methods/classes in the compiled code. Both Bison.exe and Flex.exe are run before the main compilation so their libraries are included in the build???
Is this close or a confused mess?
Ed Note: See below for Correct explanation!