/prebis

Tool to enhance Bison grammar files

Primary LanguageCGNU General Public License v2.0GPL-2.0

README

Prebis

Prebis pre-processes Bison grammar files to add additional functionality:

  • named references

  • printing of semantic values

  • freeing of semantic values

  • facilitating accurate garbage collection in C in the generated parser

It is no longer developed and is presented here as a historical reference. All of prebis features are now supported "natively" by recent versions of Bison. (Modern Bison doesn’t support garbage collection in C, but it does provide the mechanism to implement it in a manner similar to Prebis).

At the time when Prebis was developed (circa 2002), these features weren’t available in Bison.

License

Prebis is licensed udner GPL v2. See COPYING.

It uses 'libavl' which is licensed under GPL v2.