Files
bison/examples/c/bistromathic

bistromathic - all the bells and whistles

This example demonstrates the best practices when using Bison.

  • Its interface is pure.
  • It uses a custom syntax error with location tracking, lookahead correction and token internationalization.
  • It enables debug trace support with formatting of semantic values.
  • It uses named references instead of the traditional $1, $2, etc.

It also uses Flex to generate the scanner.