EMIL, Extended Messaging Intermediate Language is an extended version of MIL, which is generated by the Poussecafe framework. It's very helpful but a bit dry to parse for human eyes. Odil is a TextMate grammar for EMIL schemas saved on files with .emil extension (as generated by poussecafe in the near future). There is a small extension for use with VSCode, as well as guidelines to install the grammar on Eclipse. You can also just download the grammar and use it with any other editor of choice.
There is also a zsh script to generate an emil file and open it in the IDE of your choice (well, if you're using VSCode or Eclipse).
You can get it on the MarketPlace, or download the odil-0.0.1.vsix file, then run the command:
code --install-extension odil-0.0.1.vsix
Follow the instructions in this guide
Download the grammar file and follow the procedure of your IDE.
Unfortunately, the grammar is currently available in .json
format only
Download the emil script. Add it to your $PATH
and give it permissions by running chmod 755 [path to emil script]
in your terminal.
The script needs to be run in the root folder of the project for which you wish to generate the .emil
file.
You can simply run : emil
, and the script will generate a file current.emil
in your project source folder, then open it with VSCode
emil [path-to-folder/file-name-without-extension]
. For example: emil ~/emil/current_project_schema
will generate a file called current-project-schema.emil
in the folder ~/emil/
With Eclipse and VSCode only.
emil eclipse path-to-folder/file-name
will create your file, and open it with Eclipse. For this to work, you will need to save the path to the eclipse executable in an environment variable named $ECLIPSE
. Without second argument, it will generate a current.emil
file, like the default setting.
[ ] Have the syntax in .xml
format
[ ] Have dedicated script for each IDE
[ ] Optimize grammar for all themes