Saving and compiling a grammar

The grammar file is compiled automatically when you save the grammar file. 

  1. Select File > Save or right-click in the source editor to open the pop-up menu and select Save.
    Note: If the Save option is disabled, you can compile your grammar file by selecting Project > Rebuild Project or Rebuild All.
  2. If errors are found, the file is saved, but it does not compile. Errors are identified in the Task view. In most cases, you can click the error line in the Tasks view to highlight the error in the code. After you fix the errors, save the file again. (If warnings appear in the Tasks view, the file still compiles.)