Find quick answers to your questions about Ada-Changer product
When a task is created, a run-time routine is called, with the specified task priority as a parameter. If you are using the OS Abstractor, these priorities are passed through to the underlying RTOS. I...
Both for loops and while loops in Ada become while loops in C. We don't use jump statements in the generated C unless the original Ada had a goto. ...
They become structs in the generated C++, with separate tables of function pointers used to implement Ada's dispatching operations. ...
Appropriate padding or packing is specified to ensure the generated C struct matches the specified 'size. For use at (i.e. for X'Address use ...) a pointer is used in the C code, with the pointer init...
Ada C/C++ Changer has several different options. The default is to canonicalize the spelling so the first letter is capitalized and the others are lower case in the generated C source code. Ada C/C++ ...
A table is used to ensure that 'pred, 'last, etc. produce the right answer, even for enumerations with holes in the representation....
Enumerated indices are not generally a special case, as enumeration values may be used as indices in C. However, if the Ada enumeration type has an enumeration rep clause which leaves holes in the enu...
Packed arrays are referenced as byte-arrays in C, with appropriate shifting and masking to handle cases where the elements are less than 8-bits/element. We don't generally add an extra byte. Ada strin...
The generated C has exactly the same semantics as the original Ada source code. You don't have to do any manual fixups....
Ada fixed-point types are translated to C integer types, with run-time routines used for special operations such as fixed-fixed multiply and divide where the built-in C operators don't do the right th...