Files
bison/examples/c/bistromathic
Akim Demaille c4a7e7a1ab examples: bistromathic: strengthen tests
* examples/c/bistromathic/bistromathic.test: here.
* examples/test: Be clearer on failing tests.
2020-02-29 12:22:31 +01:00
..

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 supports debug traces with semantic values.
  • It uses named references instead of the traditional $1, $2, etc.

It also uses Flex to generate the scanner.