edktool Command-Line Tool > edktool Options > Compile

Compile
This option creates a compiled Eduction grammar file.
 
-i <inputfile>
The grammar file to process. The input file can be an uncompiled (Source) XML Eduction grammar file or a compiled Eduction grammar file.
-e <entity>
A comma-separated list of entities to include in the output file. If no entities are included in the command line, all entities in the input file are included in the output file. If entities are included in the command line, only those entities specified are included in the output file.
-o <outputfile>
The output file name. If the output file name is not provided, an output file is created using the XML grammar file name with .ecr appended.
When compiling, the XML file must follow the Eduction syntax rules for laying out grammar files. The ECR file is a proprietary format that is optimized for fast loading into the Eduction engine at run time. While the engine can load XML grammar files, as well as compiled ECR files, compiling a grammar file makes loading quicker.
Because compiled grammar files are binary files and cannot be read, the List option allows you to view the public entities in a compiled grammar file.
Related Topics 
*