Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.
Sergey Bronnikov edited this page Oct 25, 2018 · 6 revisions

How to use

  • Prepare grammar specification
  • Write EBNF grammar from scratch
  • Convert EBNF grammar from yacc:
    • yacc -v and get output.y
    • replace "=" to "::="
    • remove TERMINALS with "-"
    • remove "." at the end of production
  • Convert EBNF grammar from other grammar formats using bnfc
  • Specify EBNF grammar file and start string. Pay attention that grammar may have more than one start string.

EBNFs

Similar Tools

Clone this wiki locally