A Python package to parse ETSI TDL concrete syntax and manipulate the TDL models.
## Implementation
PyTDL uses the [textX](http://textx.github.io/textX/stable/) python package to parse and manipulate TDL definitions (in TDLan syntax) into python objects.
The grammars are developed on the basis of the Xtext grammars used in [the TOP Eclipse Plugins](https://labs.etsi.org/rep/top/ide).
The syntaxes of the grammars between `Xtext` and `textX` are different. The differences are documented [here](http://textx.github.io/textX/stable/about/comparison/#difference-to-xtext-grammar-language).
More information on ETSI TDL are available at the [TDL website](https://tdl.etsi.org/).
## Install dependencies
Install requirements via `pip`:
python3 -m pip install textx argparse
## Usage
Use the `pytdl` script as an executable entry point to run the main script (`pytdl.py`).