Programming paradigm/Declarative is a programming language feature.Declarative programming is a programming model. See main article imperative programming.
The major areas of declarative programming application are:
- Specifications and contracts, in the programming languages which support separation of specifications and implementations;
- Type declarations and type inference in typed languages;
- Object declarations in object-oriented programming languages, as well as in typed languages in general;
- Annotations, such as are found as in C# and Java;
- Many domain-specific languages.
Among the latter, according to the domain:
- component interface specifications: IDL;
- correctness proving: SPARK;
- database modeling: IDEF;
- formal grammar parser generation: yacc, bison;
- logical inference: Prolog, Logtalk;
- pattern matching: regex, SNOBOL;
- process automation, modeling, simulation and control: LabView, Modelica, MatLab/Simulink, Fuzzy Control Language;
- software modeling: UML;
- symbolic analysis and computations: Mathematica.
This category has the following 28 subcategories, out of 28 total.
- Haskell (3 C, 1,164 P)
- Order (3 C, 27 P)
- TXR (3 C, 160 P)
- XPath 2.0 (2 P)
- Zoea (1 C, 29 P)