1. The Design and Implementation of an ASN. 1-C Compiler.
- Author
-
Neufeld, Gerald W. and Yueli Yang
- Subjects
COMPILERS (Computer programs) ,COMPUTER systems ,COMPUTER programming ,ELECTRONIC systems ,COMPUTER software ,SYSTEMS software ,ELECTRONIC data processing - Abstract
A basic requirement for communication in a heterogeneous computing environment is a standard external data representation. Abstract Syntax Notation One (ASN.1) has been widely used in international standard specifications; its transfer-syntax, the Basic Encoding Rules (BER), is used as the external data representation. This paper presents a HER implementation called the ED library. The ED library includes a number of encoding and decoding routines that may be used as primitive functions to compose encoders and decoders for arbitrarily complicated ASN.1 data-types. Based on the ED library, an ASN.1-C compiler, called CASN1, is designed and implemented to free the protocol implementors from the arduous work of translating protocol-defined data-types and constructing their encoders and decoders. Given an ASN.1 protocol specification, CASNI automatically translates the input ASN.1 modules into C and generates the BER encoders and decoders for the protocol defined data-types. This paper discusses the CASN1 design principles, user interface, and some example applications. The performance of the ED library and generated CASN1 code is also measured and discussed. [ABSTRACT FROM AUTHOR]
- Published
- 1990
- Full Text
- View/download PDF