The Interface Exchange Framework. Tools for processing interface/API descriptions in different formats, including the IFEX core format. Some example files are at: https://github.com/COVESA/vehicle_service_catalog.
Mozilla Public License 2.0
14
stars
17
forks
source link
ifex_construction = support for building IFEX AST trees #100
Helper support for building IFEX AST trees from within python code
To create an AST, it is possible to call functions that return the dataclass objects. That is of course nothing more than a normal constructors (__init__() functions), but this implementation also does some checking of the inputs so they adhere to the specified model.
Author: Gunnar Andersson \gunnar.andersson@mercedes-benz.com\, MBition GmbH.
Helper support for building IFEX AST trees from within python code
To create an AST, it is possible to call functions that return the dataclass objects. That is of course nothing more than a normal constructors (
__init__()
functions), but this implementation also does some checking of the inputs so they adhere to the specified model.Further explanation is best read from the comments inside of ifex_ast_construction.py
The program was tested solely for our own use cases, which might differ from yours.
The submission is provided under the main project license (LICENSE file in root of project).
Provider Information