Difference between revisions of "Technical topic: Customizing the ASN.1 compiler (ASN1SCC) with your own templates"
m (1 revision imported)
Latest revision as of 21:01, 4 August 2017
This page describes how you can easily customize the ASN.1 compiler to your specific needs, for the following purposes:
- Generation of documentation with your own template (default is HTML but you can change everything, generate Latex for example)
- Generation of different C or Ada code for the encoding and decoding functions
- Creation of your own backend to target a different language
This is made possible because our compiler uses the StringTemplate library to transform the internal AST of the parser into output formats (code, documents).
Architecture of the compiler