Translation scheme from type system of TTCN-3 to C++

Juncheng Chen · Computer Engineering and Applications Journal · 2009

It is an important performance issue how to reduce the translated code quantity in a programming language translation.Based on the comprehensive consideration of the definition and use of value and template in TTCN-3 language,a new translation scheme from the type system of TTCN-3 to C++ is presented.Compared with the existing scheme,the proportion of the original TTCN-3 code quantity to the translated C++ code quantity decreases from 1∶20 to 1∶5.Meanwhile,the new scheme reduces the preservation of type information copies and improves the memory utilization,or rather the performance of the compiler and the executor.In addition,since the translated C++ codes are basically consistent with the original TTCN-3 codes,this will improve readability,or maintainability of the code.

Read the paper · More papers on PaperTik