Skip to content
Languages / Ada

Ada

How Atracode compiles Ada, what it is verified against, and what it refuses.

Style
Legacy
Verified against
GNAT
Published results
Per release, in the changelog

What is supported

Strong subtypes with range checks, records, packages and exact fixed-point arithmetic, with constraint errors mapped to traps.

Mainframe and enterprise modernization with exact decimal arithmetic.

How it is verified

Every Ada program is compiled twice, once by Atracode and once by GNAT. Both builds run over the same large set of inputs and must agree bit for bit in output and memory before the compile succeeds. See verification for how the sweep works.

$ atracode compile main.src
verified  raven:3f1c…  (illustrative)

What gets refused

Anything that depends on the world outside the program, such as the clock, the network, environment variables or unseeded randomness, is refused at its exact line and column instead of being approximated. Pass those values in as inputs and compile again. Refusals lists the common causes and fixes.

  • PascalVerified against Free Pascal
  • COBOLVerified against GnuCOBOL 3.1.2
  • MUMPSVerified against Reference engine
  • ABAPVerified against Reference engine
esc

Type to search titles, headings and text.