Technical topic: Customizing the ASN.1 compiler (ASN1SCC) with your own templates

Jump to: navigation, search


This page describes how you can easily customize the ASN.1 compiler[1] 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[2] library to transform the internal AST of the parser into output formats (code, documents).

Architecture of the compiler

The ASN1SCC Compiler architecture

In progress