Compile Grammars

After you write a grammar, compile the XML file into an ECR file using the Eduction command-line tool edktool. XML files are easy for people to read, but inefficient for computers to process. edktool transforms the XML file into an ECR file that is efficient for Eduction to use directly. An example of the edktool compile command is:

edktool c mygrammar.xml

This command produces the output file mygrammar.ecr.

NOTE: On Microsoft Windows platforms, OpenText recommends that you use only ASCII characters in your grammar file names.

For more information about edktool, see Compile and Test Grammars.

NOTE: Eduction version 12.7 and later compiles grammars to a compressed ECR format.