DUP programming language
DUP (DataUnit Processing language) is a special-purpose, interpreted and functional programming language. The DUP language looks like a mixture of C and ASN.1.[1] It borrows its structure from C, while the way of using variables comes from ASN.1. This makes it intuitive for a programmer used to C/C++ and ASN.1 to use the language. It was developed at Ericsson, and used in Ericsson Billing Gateway and Ericsson Multi Activation platform.[2] LanguageFunctionsA function is declared as follows: <return type> <function name> ( <argument list> ) { <function body> } The The <argument name> <argument type> The An example of DUP code can be seen below: CONST INTEGER add(a CONST INTEGER) { declare result INTEGER; result ::= 10; result += a; return result; } Notes
|
Portal di Ensiklopedia Dunia