wiki:User

Version 5 (modified by phdmakk, 10 years ago) (diff)

--

BNF Tools User Guide:

  • Open the BNF Tools.
  • Create a new Java Project.
  • Create a file in the src folder with ending .bnf e.g. Test.bnf.
  • Confirm adding xText nature to the project in the pop-up dialog.
  • Open the file and add your BNF.
  • After saving your file, you can use the generate button to either generate a PDF or an RTF in the src-gen. An intermediate .fo file is also generated in the src-gen folder. You may need to configure auto-refreshing in your workspace if not already configured: Preferences -> General -> Workspace: Check "Refresh using native hooks or polling" and "Refresh on access".