tool: snacc (Sample Neufeld ASN.1 to C/C++ Compiler)


Language:
ASN.1 (Abstract Syntax Notation One)
Version:
1.1
Parts:
compiler, runtime BER libraries, utility progs
Author:
Mike Sample <msample@cs.ubc.ca>
Location:
ftp://ftp.cs.ubc.ca/pub/local/src/snacc/snacc1.1.tar.Z
Description:
ASN.1 is a language used to describe data structures in a machine and implementation lang independent way. Basic Encoding Rules (BER) provide a universal (contiguous) representation of data values. ASN.1 & BER were designed to exchange data (with complex structure) over networks. OSI Application protocols such as X.400 MHS (email) and X.500 directory and others protocols such as SNMP use ASN.1 to describe the PDUs they exchange. Snacc compiles 1990 ASN.1 (including some macros) data structures into C, C++ or type tables. The generated C/C++ includes a .h file with the equivalent data struct and a .c/.C file for the BER encode and decode, print and free routines.
Conformance:
ITU T X.680/ISO 8824 (1994) CCITT X.208 (1988), aka CCITT X.409 (1984)
Reference:
Michael Sample and Gerald Neufeld, "Implementing Efficient Encoders and Decoders for Network Data Representations", IEEE INFOCOM '93 Proceedings, Vol 3, pp 1143-1153, Mar 1993 Michael Sample, "How Fast Can ASN.1 Encoding Rules Go?", M.Sc. Thesis, University of British Columbia, Apr 1993
Restriction:
Compiles under GNU Public License. No restriction on libs and C/C++/tables generated by snacc.
Requires:
yacc (or bison), lex (or flex) and cc (ANSI or non-ANSI)
Contact:
mailing list: <snacc@cs.ubc.ca> mailing list join/quit requests: <snacc-request@cs.ubc.ca> Barry Brachman <brachman@cs.ubc.ca>
Updated:
July 12th, 1993

Related Items

category: special purpose languages summary, or expanded.


This site is supported by David Sharnoff and Bryan Miller with some help from Google Adwords.

Please send updates to free-compilers@sharnoff.org

The HTML is maintained by David Muir Sharnoff and the entries themselves are currently maintained by Bryan Miller.

Copyright (c) 1992-1998 David Muir Sharnoff, All Rights Reserved
Copyright (c) 1994-1996, Steven Allen Robenalt, All Rights Reserved