encyclopegia.org

SPARK (programming language)

SPARK is a formally defined computer programming language based on the Ada programming language, intended for developing high-integrity software used in systems where predictable and highly reliable operation is essential. It facilitates developing applications that demand safety, security, or business integrity. It has especially found use in real-time computing and embedded systems where issues of safety-criticality or computer security are paramount. Originally, three versions of SPARK existed (SPARK83, SPARK95, SPARK2005), based on Ada 83, Ada 95, and Ada 2005 respectively. A fourth version, SPARK 2014, based on Ada 2012, was released on April 30, 2014. SPARK 2014 is a complete re-design of the language and supports software verification tools. The SPARK language consists of a well-defined subset of the Ada language that uses contracts to describe the specification of components in a form that is suitable for both static and dynamic verification. SPARK is also designed to eliminate all language constructs that can cause unpredictable behavior. In SPARK83/95/2005, the contracts are encoded in Ada comments and so are ignored by any standard Ada compiler, but are processed by the SPARK Examiner and its associated tools. These earlier versions focus on static verification of contracts.…

SPARK is a formally defined computer programming language based on the Ada programming language, intended for developing high-integrity software used in systems where predictable and highly reliable operation is essential. It facilitates developing applications that demand safety, security, or business integrity. It has especially found use in real-time computing and embedded systems where issues of safety-criticality or computer security are paramount. Originally, three versions of SPARK existed (SPARK83, SPARK95, SPARK2005), based on Ada 83, Ada 95, and Ada 2005 respectively. A fourth version, SPARK 2014, based on Ada 2012, was released on April 30, 2014. SPARK 2014 is a complete re-design of the language and supports software verification tools. The SPARK language consists of a well-defined subset of the Ada language that uses contracts to describe the specification of components in a form that is suitable for both static and dynamic verification. SPARK is also designed to eliminate all language constructs that can cause unpredictable behavior. In SPARK83/95/2005, the contracts are encoded in Ada comments and so are ignored by any standard Ada compiler, but are processed by the SPARK Examiner and its associated tools. These earlier versions focus on static verification of contracts. SPARK 2014, in contrast, uses Ada 2012's built-in syntax of aspects to express contracts, bringing them into the core of the language. The main tool for SPARK 2014 (GNATprove) is based on the GNAT/GCC infrastructure, and re-uses almost all of the GNAT Ada 2012 front-end. with Global => null, Depends => (X => X); This specifies that the Increment procedure uses no (neither update nor read) global variable and that the only data item used in calculating the new value of X is X alone. Alternatively, the specification may be written as: procedure Increment (X : in out Counter_Type) with Global => (In_Out => Count), Depends => (Count => (Count, X), X => null); This specifies that Increment will use the global variable Count in the same package as Increment , that the exported value of Count depends on the imported values of Count and X , and that the exported value of X does not depend on any variables at all and it will be derived from constant data only. If GNATprove is then run on the specification and corresponding body of a subprogram, it will analyse the body of the subprogram to build up a model of the information flow. This model is then compared against what has been specified by the annotations and any discrepancies reported to the user. These specifications can be further extended by asserting various properties that either need to hold when a subprogram is called (preconditions) or that will hold once execution of the subprogram has completed (postconditions). For example, if writing: procedure Increment (X : in out Counter_Type) with Global => null, Depends => (X => X), Pre => X X = X'Old + 1; This, now, specifies not only that X is derived from itself alone, but also that before Increment is called X must be strictly less than the last possible value of its type (to ensure that the result will never overflow) and that afterward X will be equal to the initial value of X plus one.

References

  1. Ada2012 Rationale · retrieved 2026-11-18 · rev 1369373688
    Cite this reference

    MLA "Ada2012 Rationale." "Ada2012 Rationale" (PDF). 2026-11-18. http://www.adacore.com/uploads/technical-papers/Ada2012_Rational_Introducion.pdf. Accessed 24 November 2026.

    Chicago "Ada2012 Rationale." "Ada2012 Rationale" (PDF). 2026-11-18. http://www.adacore.com/uploads/technical-papers/Ada2012_Rational_Introducion.pdf.

    APA "Ada2012 Rationale" (PDF). (2026). Ada2012 Rationale. Retrieved November 24, 2026, from http://www.adacore.com/uploads/technical-papers/Ada2012_Rational_Introducion.pdf

  2. SPARKNaCl · retrieved 2026-11-18 · rev 1369373688
    Cite this reference

    MLA "SPARKNaCl." 2026-11-18. https://github.com/rod-chapman/SPARKNaCl. Accessed 24 November 2026.

    Chicago "SPARKNaCl." 2026-11-18. https://github.com/rod-chapman/SPARKNaCl.

    APA encyclopegia.org. (2026). SPARKNaCl. Retrieved November 24, 2026, from https://github.com/rod-chapman/SPARKNaCl

  3. High Reliability CubeSat Software with SPARK/Ada · retrieved 2026-11-18 · rev 1369373688
    Cite this reference

    MLA "High Reliability CubeSat Software with SPARK/Ada." Brandon, Carl S. 2026-11-18. https://www.pchapin.org/CubeSat/PUBLIC/CubeSat-Developers-Workshop-2013.pdf. Accessed 24 November 2026.

    Chicago "High Reliability CubeSat Software with SPARK/Ada." Brandon, Carl S. 2026-11-18. https://www.pchapin.org/CubeSat/PUBLIC/CubeSat-Developers-Workshop-2013.pdf.

    APA Brandon, Carl S. (2026). High Reliability CubeSat Software with SPARK/Ada. Retrieved November 24, 2026, from https://www.pchapin.org/CubeSat/PUBLIC/CubeSat-Developers-Workshop-2013.pdf

  4. Securing the Future of Safety and Security of Embedded Software · retrieved 2026-11-18 · rev 1369373688
    Cite this reference

    MLA "Securing the Future of Safety and Security of Embedded Software." 2026-11-18. https://www.slideshare.net/AdaCore/securing-the-future-of-safety-and-security-of-embedded-software. Accessed 24 November 2026.

    Chicago "Securing the Future of Safety and Security of Embedded Software." 2026-11-18. https://www.slideshare.net/AdaCore/securing-the-future-of-safety-and-security-of-embedded-software.

    APA encyclopegia.org. (2026). Securing the Future of Safety and Security of Embedded Software. Retrieved November 24, 2026, from https://www.slideshare.net/AdaCore/securing-the-future-of-safety-and-security-of-embedded-software

  5. How to Secure Unique EcosystemShipping 1 Billion+ Cores? · retrieved 2026-11-18 · rev 1369373688
    Cite this reference

    MLA "How to Secure Unique EcosystemShipping 1 Billion+ Cores?." Zabrocki, Adam; Mitic, Marko (8 August 2025). 2026-11-18. https://media.defcon.org/DEF%20CON%2033/DEF%20CON%2033%20presentations/Adam%20Zabrocki%20Marko%20Mitic%20-%20How%20to%20secure%20unique%20ecosystem%20shipping%201%20billion%20cores.pdf#page=88.00. Accessed 24 November 2026.

    Chicago "How to Secure Unique EcosystemShipping 1 Billion+ Cores?." Zabrocki, Adam; Mitic, Marko (8 August 2025). 2026-11-18. https://media.defcon.org/DEF%20CON%2033/DEF%20CON%2033%20presentations/Adam%20Zabrocki%20Marko%20Mitic%20-%20How%20to%20secure%20unique%20ecosystem%20shipping%201%20billion%20cores.pdf#page=88.00.

    APA Zabrocki, Adam; Mitic, Marko (8 August 2025). (2026). How to Secure Unique EcosystemShipping 1 Billion+ Cores?. Retrieved November 24, 2026, from https://media.defcon.org/DEF%20CON%2033/DEF%20CON%2033%20presentations/Adam%20Zabrocki%20Marko%20Mitic%20-%20How%20to%20secure%20unique%20ecosystem%20shipping%201%20billion%20cores.pdf#page=88.00

  6. Industrial experience with SPARK · retrieved 2026-11-18 · rev 1369373688
    Cite this reference

    MLA "Industrial experience with SPARK." a b c d e Chapman, Roderick (December 2000). 2026-11-18. https://en.wikipedia.org/wiki/Ada_Letters. Accessed 24 November 2026.

    Chicago "Industrial experience with SPARK." a b c d e Chapman, Roderick (December 2000). 2026-11-18. https://en.wikipedia.org/wiki/Ada_Letters.

    APA a b c d e Chapman, Roderick (December 2000). (2026). Industrial experience with SPARK. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Ada_Letters

  7. Co-Developing Programs and Their Proof of Correctness · retrieved 2026-11-18 · rev 1369373688
    Cite this reference

    MLA "Co-Developing Programs and Their Proof of Correctness." a b c d e f g h i j Chapman, Roderick; Dross, Claire; Matthews, Stuart; Moy, Yannick (March 2024). 2026-11-18. https://doi.org/10.1145%2F3624728. Accessed 24 November 2026.

    Chicago "Co-Developing Programs and Their Proof of Correctness." a b c d e f g h i j Chapman, Roderick; Dross, Claire; Matthews, Stuart; Moy, Yannick (March 2024). 2026-11-18. https://doi.org/10.1145%2F3624728.

    APA a b c d e f g h i j Chapman, Roderick; Dross, Claire; Matthews, Stuart; Moy, Yannick (March 2024). (2026). Co-Developing Programs and Their Proof of Correctness. Retrieved November 24, 2026, from https://doi.org/10.1145%2F3624728

  8. The Exterminators · retrieved 2026-11-18 · rev 1369373688
    Cite this reference

    MLA "The Exterminators." a b c d Ross, Philip E. 2026-11-18. https://spectrum.ieee.org/the-exterminators. Accessed 24 November 2026.

    Chicago "The Exterminators." a b c d Ross, Philip E. 2026-11-18. https://spectrum.ieee.org/the-exterminators.

    APA a b c d Ross, Philip E. (2026). The Exterminators. Retrieved November 24, 2026, from https://spectrum.ieee.org/the-exterminators

  9. Ada-derived Skein crypto shows SPARK · retrieved 2026-11-18 · rev 1369373688
    Cite this reference

    MLA "Ada-derived Skein crypto shows SPARK." a b Handy, Alex (24 August 2010). 2026-11-18. http://www.sdtimes.com/link/34579. Accessed 24 November 2026.

    Chicago "Ada-derived Skein crypto shows SPARK." a b Handy, Alex (24 August 2010). 2026-11-18. http://www.sdtimes.com/link/34579.

    APA a b Handy, Alex (24 August 2010). (2026). Ada-derived Skein crypto shows SPARK. Retrieved November 24, 2026, from http://www.sdtimes.com/link/34579

  10. SPARK – The SPADE Ada Kernel (including RavenSPARK) · retrieved 2026-11-18 · rev 1369373688
    Cite this reference

    MLA "SPARK – The SPADE Ada Kernel (including RavenSPARK)." 2026-11-18. https://docs.adacore.com/sparkdocs-docs/SPARK_LRM.htm. Accessed 24 November 2026.

    Chicago "SPARK – The SPADE Ada Kernel (including RavenSPARK)." 2026-11-18. https://docs.adacore.com/sparkdocs-docs/SPARK_LRM.htm.

    APA encyclopegia.org. (2026). SPARK – The SPADE Ada Kernel (including RavenSPARK). Retrieved November 24, 2026, from https://docs.adacore.com/sparkdocs-docs/SPARK_LRM.htm

Cite this article

MLA

"SPARK (programming language)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/spark-programming-language. Accessed 24 November 2026.

Chicago

"SPARK (programming language)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/spark-programming-language.

APA

encyclopegia.org. (2026). SPARK (programming language). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/spark-programming-language

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
release date2014-04-30Wikipedia

Related articles

official language

stub · references available

pan-Slavic language

stub · references available

Hawaiʻi Sign Language

stub · references available

Taiwanese Sign Language

stub · references available

Category:Programming languages

stub · references available

International Mother Language Day

stub · references available

polysynthetic language

stub · references available

Category:Films by country or language

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1369373688 · 0.5 · snapshot enwiki-001369373688

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.