etc:users:jcmvbkbc:isl
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| etc:users:jcmvbkbc:isl [2010/08/23 00:58] – + derived interface jcmvbkbc | etc:users:jcmvbkbc:isl [2016/08/08 20:53] (current) – ↷ Page moved from users:jcmvbkbc:isl to etc:users:jcmvbkbc:isl kel | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| [[http:// | [[http:// | ||
| + | |||
| + | [[http:// | ||
| ===== Orthogonal aspects ===== | ===== Orthogonal aspects ===== | ||
| Line 56: | Line 58: | ||
| When the header is absent Param1 corresponds to the trailer. If there' | When the header is absent Param1 corresponds to the trailer. If there' | ||
| + | |||
| + | Interfaces visible from root package, not referenced from other interfaces visible from root package get translated to pack/ | ||
| ===== Decoding context ===== | ===== Decoding context ===== | ||
| Line 133: | Line 137: | ||
| * every pack/unpack message has corresponding messagetype; | * every pack/unpack message has corresponding messagetype; | ||
| * header and trailer follow the rules for fields; | * header and trailer follow the rules for fields; | ||
| + | * message types are all different; | ||
| ==== Field/ | ==== Field/ | ||
| * types of subfields are visible, parameterized types has required arguments; | * types of subfields are visible, parameterized types has required arguments; | ||
| * field names are unique in each field contents scope; | * field names are unique in each field contents scope; | ||
| + | * no cyclic dependencies of fields/ | ||
| + | * however, even with the current naming rules there may be cyclic dependencies in optional_repeated parts and inside case constructs; | ||
| + | * generally every optional parts and case content may have cyclic dependencies; | ||
| + | |||
| + | ==== Constants ==== | ||
| + | * expression in constant' | ||
| + | * constants may not have recursive definition; | ||
| ===== Language features ===== | ===== Language features ===== | ||
| Line 171: | Line 183: | ||
| * it treats root package differently than named packages; | * it treats root package differently than named packages; | ||
| * sibling packages don't merge and don't collide, one defined later is effective, others are ignored; | * sibling packages don't merge and don't collide, one defined later is effective, others are ignored; | ||
| + | |||
| ===== Naming for C output ===== | ===== Naming for C output ===== | ||
| Line 176: | Line 189: | ||
| There are two generic rules: | There are two generic rules: | ||
| * type names are generated with suffix ' | * type names are generated with suffix ' | ||
| - | * when there' | + | * when there' |
| + | * 'one subfield' | ||
| ==== Field/ | ==== Field/ | ||
| Line 233: | Line 247: | ||
| Ex: see case.pdu | Ex: see case.pdu | ||
| + | |||
| + | ===== Schedule ===== | ||
| + | * finalize naming for the following items: | ||
| + | * exported constants; | ||
| + | * cases; | ||
| + | * ranges; | ||
| + | * arrays of primitive types; | ||
| + | * strings; | ||
| + | * interfaces, derived and nested; | ||
| + | * ? | ||
| + | * separate compiler frontend and backend; | ||
| + | * implement validators; | ||
| + | * implement pack/ | ||
| + | * interfaces; | ||
| + | * optional/ | ||
| + | * alignment; | ||
| + | * type instantiation and deep referencing; | ||
| + | * test; | ||
| + | * presentation; | ||
etc/users/jcmvbkbc/isl.1282510704.txt.gz · Last modified: 2010/08/23 00:58 (external edit)