4 | | * Create a new Java Project --> Rightclick this Project, choose configure and add xTextnature. |
5 | | |
6 | | * Now create a file in the src folder with ending .bnf e.g. Test.bnf |
7 | | |
8 | | * open the file and it should behave be able to generate BNF Grammers |
9 | | |
10 | | * after saving your file you can use the generate button to either generate a PDF or a RTF and a .fo file in the src-gen folder ( for this it you need to configure refreshing in your workspace: Window -> Preferences -> General -> `Workspace use Refresh using native hooks or polling` and `Refresh on access)` |
| 3 | * Open the BNF Tools. |
| 4 | * Create a new Java Project. |
| 5 | * Create a file in the src folder with ending .bnf e.g. Test.bnf. |
| 6 | * Confirm adding xText nature to the project in the pop-up dialog. |
| 7 | * Open the file and add your BNF. |
| 8 | * 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". |