Categorical list of programming languages

From Wikipedia, the free encyclopedia

This is a list of programming languages grouped by category.

Other lists of programming languages are:

  1. Alphabetical
  2. Categorical
  3. Chronological
  4. Generational


Contents

[edit] Array languages

See also: :Category:Array_programming_languages

Array programming (also known as vector or multidimensional languages) generalize operations on scalars to apply transparently to vectors, matrices, and higher dimensional arrays.

[edit] Aspect-oriented languages

[edit] Assembly languages

See also: :Category:Assembly languages

Assembly languages directly correspond to a machine language (see below) in order to allow machine code instructions to be written in a form understandable by humans. Assembly languages allow programmers to use symbolic addresses which are later converted to absolute addresses by the assembler. Most assemblers also allow for macros and symbolic constants.

[edit] Authoring languages

[edit] Command line interface languages

Command line interface (CLI) languages are also called batch languages, or job control languages. Examples:

[edit] Compiled languages

These are languages typically processed by compilers, though theoretically any language can be compiled or interpreted.

[edit] Concurrent languages

See also: :Category:Concurrent_programming_languages

Message passing languages provide language constructs for concurrency. The predominant paradigm for concurrency in mainstream languages such as Java is shared memory concurrency based on monitors. Concurrent languages that make use of message passing have generally been inspired by CSP or the π-calculus, but have had little commercial success, except for Ada and Erlang. Ada is a multipurpose language and concurrent programming is only one option available.

  • Ada (multi-purpose language)
  • Afnix – concurrent access to data is protected automatically (previously called Aleph, but unrelated to Alef)
  • Alef – concurrent language with threads and message passing, used for systems programming in early versions of Plan 9 from Bell Labs
  • ChucK – domain specific programming language for audio, precise control over concurrency and timing
  • Cilk – a concurrent C
  • – C Omega, a research language extending C#, uses asynchronous communication
  • Concurrent Pascal (by Brinch-Hansen)
  • Corn
  • Curry
  • E – uses promises, ensures deadlocks cannot occur
  • Eiffel (through the SCOOP mechanism, Simple Concurrent Object-Oriented Computation)
  • Erlang – uses asynchronous message passing with nothing shared
  • Java
  • Join-calculus
  • Joule – dataflow language, communicates by message passing
  • Limbo – relative of Alef, used for systems programming in Inferno (operating system)
  • MultiLispScheme variant extended to support parallelism
  • occam – influenced heavily by Communicating Sequential Processes (CSP).
  • Oz – multiparadigm language, supports shared-state and message-passing concurrency, and futures
  • Pict – essentially an executable implementation of Milner's π-calculus
  • SALSA – actor language with token-passing, join, and first-class continuations for distributed computing over the Internet
  • SR – research language

[edit] Curly-bracket languages

See also: :Category:Curly bracket programming languages

The curly bracket programming languages have a syntax that defines statement blocks using the "curly bracket" or "brace" characters { and }. All these languages descend from or are strongly influenced by C. Examples of curly-bracket languages include:

[edit] Dataflow languages

Dataflow languages rely on a (usually visual) representation of the flow of data to specify the program. Frequently used for reacting to discrete events or for processing streams of data. Examples of dataflow languages include:

[edit] Data-oriented languages

Data-oriented languages provide powerful ways of searching and manipulating the relations that have been described as entity relationship tables which map one set of things into other sets. Examples of data-oriented languages include:

[edit] Data-structured languages

See also: :Category:Data-structured programming languages

Data-structured languages are those where logic is structured in ways similar to their data. Such languages are generally well suited to reflection and introspection. There are three main types:

Assembly languages which statically link data inline with instructions can also be considered data-structured, in the most primitive way.

[edit] Declarative languages

See also: :Category:Declarative programming languages

Declarative languages describe a problem rather than defining a solution. Declarative programming stands in contrast to imperative programming via imperative programming languages, where serial orders (imperatives) are given to a computer. In addition to the examples given just below, all (pure) functional and logic-based programming languages are also declarative. In fact, "functional" and "logical" constitute the usual subcategories of the declarative category.

[edit] Esoteric languages

An esoteric programming language is a programming language designed as a test of the boundaries of computer programming language design, as a proof of concept, or as a joke.

[edit] Extension languages

Extension programming languages are languages intended to be embedded into another program and used to harness its features in extension scripts.

[edit] Fourth-generation languages

Fourth-generation programming languages are high-level languages built around database systems. They are generally used in commercial environments.

[edit] Functional languages

See also: :Category:Functional languages

Functional programming languages define programs and subroutines as mathematical functions. Many so-called functional languages are "impure", containing imperative features. Not surprisingly, many of these languages are tied to mathematical calculation tools. Functional languages include:

[edit] Interactive mode languages

Interactive mode languages act as a kind of shell: expressions or statements can be entered one at a time, and the result of their evaluation is seen immediately.

[edit] Interpreted languages

Interpreted languages are programming languages which programs may be executed from source code form, by an interpreter.

[edit] Iterative languages

Languages built around or offering generators

[edit] List-based languages

List-based languages are a type of data-structured language that are based upon the list data structure.

[edit] Little languages

Little languages serve a specialized problem domain.

  • apply is a domain-specific language for image processing on parallel and conventional architectures
  • awk can serve as a prototyping language for C, because the syntax is similar
  • SQL has only a few keywords, and not all the constructs needed for a full programming language

[edit] Logic-based languages

See also: :Category:Logic programming languages

Logic-based languages specify a set of attributes that a solution must have, rather than a set of steps to obtain a solution. Examples:

[edit] Machine languages

Machine languages are directly executable by a computer's CPU. They are typically formulated as bit patterns, usually represented in octal or hexadecimal. Each group of npatterns (often 1 or more bytes) causes the circuits in the CPU to execute one of the fundamental operations of the hardware. The activation of specific electrical inputs (eg, CPU package pins for microprocessors), and logical settings for CPU state values, control the processor's computation. Individual machine languages are processor specific and are not portable. They are (essentially) always defined by the CPU developer, not by 3rd parties. The symbolic version, the processor's assembly language, is also defined by the developer, in most cases. Since processors come in families which are based on a shared architecture, the same basic assembly language style can often be used for more than one CPU. Each of the following CPUs served as the basis for a family of processors:

[edit] Macro languages

See also: :Category:Macro programming languages

Macro languages embed small pieces of executable code inside a piece of free-form text.

Scripting languages such as Tcl and ECMAScript (ActionScript, DMDScript, E4X, JavaScript, JScript) have been embedded into applications so that they behave like macro languages.

[edit] Metaprogramming languages

Metaprogramming is writing of programs that write or manipulate other programs (or themselves) as their data or that do part of the work that is otherwise done at run time during compile time. In many cases, this allows programmers to get more done in the same amount of time as they would take to write all the code manually.

[edit] Multiparadigm languages

Multiparadigm languages support more than one programming paradigm. They allow a program to use more than one programming style. The goal is to allow programmers to use the best tool for a job, admitting that no one paradigm solves all problems in the easiest or most efficient way.

  • Ada (concurrent, distributed, generic (template metaprogramming), imperative, object-oriented (class-based))
  • ALF (functional, logic)
  • APL (functional, imperative)
  • BETA (functional, imperative, object-oriented (class-based))
  • C++ (generic, imperative, object-oriented (class-based))
  • ChucK (imperative, object-oriented, time-based, concurrent, on-the-fly)
  • Common Lisp (functional, imperative, object-oriented (class-based), aspect-oriented (user may add further paradigms, e.g., logic))
  • Corn (concurrent, generic, imperative, object-oriented (class-based))
  • Curry (concurrent, functional, logic)
  • D (generic, imperative, object-oriented (class-based))
  • Dylan (functional, object-oriented (class-based))
  • ECMAScript (functional, imperative, object-oriented (prototype-based))
  • Eiffel (imperative, object-oriented (class-based), generic)
  • J (functional, imperative, object-oriented (class-based))
  • LabVIEW (dataflow, visual)
  • Lasso (macro, object-oriented (prototype-based), procedural, scripting)
  • Lava (object-oriented (class-based), visual)
  • Leda (functional, imperative, logic, object-oriented (class-based))
  • Lua (functional, imperative, object-oriented (prototype-based))
  • Maple
  • Metaobject protocols (object-oriented (class-based, prototype-based))
  • Nemerle (functional, object-oriented (class-based), imperative, metaprogramming)
  • Objective Caml (functional, imperative, object-oriented (class-based))
  • Oz (functional (evaluation: eager, lazy), logic, constraint, imperative, object-oriented (class-based), concurrent, distributed)
  • Object Pascal (imperative, object-oriented (class-based))
  • Perl (imperative, functional (can't be purely functional), object-oriented, class-oriented, aspect-oriented (through modules))
  • PHP (imperative, object-oriented)
  • Pliant (functional, imperative, object-oriented (class-based))
  • Poplog (functional, imperative, logic)
  • ppC++ (imperative, object-oriented (class-based))
  • Prograph (dataflow, object-oriented (class-based), visual)
  • Python (functional, object-oriented (class-based))
  • REBOL (functional, object-oriented (prototype-based))
  • ROOP (imperative, logic, object-oriented (class-based), rule-based)
  • Ruby (functional, object-oriented (class-based))
  • SISAL (concurrent, dataflow, functional)
  • Spreadsheets (functional, visual)
  • Tcl (functional, imperative, object-oriented (class-based))

[edit] Numerical analysis

[edit] Non-English-based languages

See also: :Category:Non-English-based programming languages

Non-English-based programming languages do not use English keywords.

[edit] Object-oriented class-based languages

Class-based Object-oriented programming languages support objects defined by their class. Class definitions include member data. Polymorphic functions parameterized by the class of some of their arguments are typically called methods.

In languages with single dispatch, classes typically also include method definitions. In languages with multiple dispatch, methods are defined by generic functions. There are exceptions where single dispatch methods are generic functions (e.g. Bigloo's object system).

[edit] Multiple dispatch

[edit] Single dispatch

[edit] Object-oriented prototype-based languages

Prototype-based languages are object-oriented languages where the distinction between classes and instances have been removed:

[edit] Off-side rule languages

Off-side rule languages are those where blocks are formed, indicated, by their indentation.

[edit] Procedural languages

Procedural programming languages are based on the concept of the unit and scope (the data viewing range of an executable code statement). A procedural program is composed of one or more units or modules, either user coded or provided in a code library; each module is composed of one or more procedures, also called a function, routine, subroutine, or method, depending on the language. Examples of procedural languages include:

[edit] Reflective languages

Reflective languages let programs examine and possibly modify their high level structure at runtime. This is most common in high-level virtual machine programming languages like Smalltalk, and less common in lower-level programming languages like C. Languages and platforms supporting reflection:

[edit] Rule-based languages

Rule-based languages instantiate rules when activated by conditions in a set of data. Of all possible activations, some set will be selected and the statements belonging to those rules will be executed. Examples of rule-based languages include:

[edit] Scripting languages

"Scripting language" has two apparently different, but in fact similar meanings. In a traditional sense, scripting languages are designed to automate frequently used tasks that usually involve calling or passing commands to external programs. Many complex application programs allow users to implement custom functions by providing them with built-in languages. Those which are of interpretive type, are often called scripting languages.

More recently many of these applications have chosen to "build in" traditional scripting languages, such as Perl or Visual Basic, but there are quite a few "native" scripting languages still in use. Many scripting languages are compiled to bytecode and then this (usually) platform independent bytecode is run through a virtual machine (compare to Java).

[edit] Stack-based languages

See also: :Category:Stack-oriented programming languages

Stack-based languages are a type of data-structured language that are based upon the stack data structure.

[edit] Synchronous languages

See also: :Category:Synchronous programming languages

Synchronous programming languages are optimized for programming reactive systems, systems that are often interrupted and must respond quickly. Many such systems are also called realtime systems, and are found often in embedded uses. Examples:

[edit] Syntax handling languages

  • GNU bison (FSF's version of Yacc)
  • GNU Flex (FSF's version of Lex)
  • Lex (Lexical analysis, from Bell Labs)
  • M4
  • yacc (yet another compiler compiler, from Bell Labs)
  • javacc
  • Coco/R (EBNF with semantics)

[edit] Visual languages

See also: :Category:Visual programming languages

Visual programming languages let users specify programs in a two-(or more)-dimensional way, instead of as one-dimensional text strings, via graphic layouts of various types.

Some dataflow languages are also visual languages.

[edit] Wirth languages

Computer scientist Niklaus Wirth designed and implemented several influential languages.

[edit] XML-based languages

These are languages based on or that operate on XML. Although the big-boy equivalents of Oracle/PostgreSQL/MSSQL don't yet exist for XML, there are languages to navigate through it and its more tree-oriented structure.

[edit] See also

In other languages