# 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`.

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

© Copyright 2013-2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm