Flex and Bison Examples

Makefile

flex/abc-xyz.l - replace abc with xyz
flex/bytes+lines.l - count bytes and lines
flex/bytes+lines+yylineno.l - count bytes and lines using yylineno
flex/pascal.l - scanner for Pascal-like language
flex/rmcmts.l - remove C comments
flex/stack+immed.l - scanner for bison/{stack,immed}.y
flex/double.l - scanner for bison/double.y
flex/boolean.l - scanner for Boolean equations

bison/stack.y - stack-based machine code output
bison/immed.y - immediate execution
bison/double.y - floating-point immediate execution
bison/boolean.y - parser for Boolean equations