LTE (Let us Together Engage to Learn Think Enjoy) > LTE > Developement/Testing
Simple Perl script to generate C/C++ code for LTE ASN messages.
Page 1 / 1
Simple Perl script to generate C/C++ code for LTE ASN messages.
05/18/2011 1:41 pm

Administrator
NEWBIE


Regist.: 05/18/2011
Topics: 3
Posts: 2
OFFLINE


I am thinking it is simple to write perl script to generate c/c++ data structure for LTE ASN messages. We need not do syntax check for ASN syntax. We can assume give ASN syntax is proper. Ofcourse syntax checking is complex and it requires grammar checking for that we need to use lex/yac.

But for data structure code generation simple parsing is enough. And I am thinking even generating encode/decode logic is also simple. Suggest your ideas on this
Quote   
05/18/2011 1:45 pm

Administrator
NEWBIE


Regist.: 05/18/2011
Topics: 3
Posts: 2
OFFLINE
if we write this then this will become specific to one ASN Syntax like OSS Nokalva, OBJSYSC and C++, then which compiler you will use to build and how that compiler will understand the Code you have written????..........Correct Me if my understanding is wrong (on behalf of naveen)
Quote   
05/18/2011 1:47 pm

Administrator
NEWBIE


Regist.: 05/18/2011
Topics: 3
Posts: 2
OFFLINE
First point regarding the wrapper ASN structure. I am not mentioning about third party ASN encoder/decoder. It will atleast reduce effort of defining those structure. Secod point, Is it not possible to write our own encode/decode logic instead of using third party one.
Quote   
Page 1 / 1
Login with Facebook to post
Preview