Files
bison/examples/c/bistromathic/README.md
Akim Demaille f374310119 examples: add a complete example with all the bells and whistles
* examples/c/bistromathic/Makefile,
* examples/c/bistromathic/README.md,
* examples/c/bistromathic/bistromathic.test,
* examples/c/bistromathic/local.mk,
* examples/c/bistromathic/parse.y,
* examples/c/bistromathic/scan.l:
New.

* Makefile.am (AM_YFLAGS_WITH_LINES): Add -Wdangling-alias.
* examples/test: Make failure errors easier to read.
2020-01-27 06:41:11 +01:00

1.1 KiB

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 also uses Flex to generate the scanner.