Difference between revisions of "Technical topic: Customizing the ASN.1 compiler (ASN1SCC) with your own templates"

From TASTE
Jump to: navigation, search
(Introduction)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 21:01, 4 August 2017

Introduction

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