encyclopegia.org

Ciao (programming language)

Ciao is a general-purpose programming language which supports logic, constraint, functional, higher-order, and object-oriented programming styles.[src] Its main design objectives are high expressive power, extensibility, safety, reliability, and efficient execution.[src]

Ciao is a general-purpose programming language which supports logic, constraint, functional, higher-order, and object-oriented programming styles.[src] Its main design objectives are high expressive power, extensibility, safety, reliability, and efficient execution.[src] ==Language characteristics== Ciao provides a full Prolog system (supporting ISO-Prolog), declarative subsets and extensions of Prolog, functional programming (including lazy evaluation), higher-order (with predicate abstractions), constraint programming, and objects, as well as feature terms (records), persistence, several control rules (breadth-first search, iterative deepening, ...), concurrency (threads/engines), distributed execution (agents), and parallel execution.[1] Libraries also support WWW programming, sockets, external interfaces (C, Java, TclTk, relational databases, etc.), etc.[src] Ciao is built on a kernel with an extensible modular design which allows both restricting and extending the language — it can be seen as a language building language.[src] These restrictions and extensions can be activated separately on each program module so that several extensions can coexist in the same application for different modules.[src] ==Developing safe and reliable programs== Programming in the large in Ciao is supported via: A robust module/object system.[1] This provides module-based separate/incremental compilation (which is automatic without need for makefiles).[src] An integrated assertion language for declaring (optional) program properties (specifications).[src] These include types, modes, determinacy, non-failure, cost (time, memory), etc.[src] Automatic inference and static/dynamic checking of such assertions (including unit testing).[src] Ciao has also support for programming in the small: the compiler is capable of producing small executables (including only those builtins used by the program) and the interpreter supports scripting.[src] The environment includes a classical top-level and an evolved emacs interface with an embeddable source-level debugger and a number of execution visualization tools.[src] The Ciao preprocessor supports static debugging and verification assertion checking and optimization via source to source program transformation.[src] These tasks are performed by Ciaopp, distributed separately).[src] ==Auto-documentation== Ciao includes , an automatic documentation generator.[src] It processes programs adorned with (Ciao) assertions and machine-readable comments and generates manuals in many formats including HTML, pdf, texinfo, info, man, etc., as well as on-line help, ascii README files, entries for indices of manuals (info, WWW, ...), and maintains WWW distribution sites.[src] ==Portability and efficiency== The Ciao compiler (which can be run outside the top level shell) generates several forms of architecture-independent and stand-alone executables, which run with speed, efficiency and executable size which are very competitive with other high-level languages in general and in particular with commercial and academic Prolog/CLP systems.[src] Modules can be compiled into compact bytecode or C source files, and linked statically, dynamically, or autoloaded.[src] - module(qsort, [qsort/2], []).[src] % Example: ?- qsort([5,2,3,4,1],X).[src] qsort(Data, Out) :- qsort_(Data, Out, []).[src] qsort_([], R, R).[src] qsort_([X|L], R, R0) :- partition(L, X, L1, L2), qsort_(L2, R1, R0), qsort_(L1, R, [X|R1]).[src] partition([],_,[],[]).[src] partition([X|L],Y,[X|L1],L2) :- X = ==Further reading== ==References== ==External links==[src]

28 sentences · 28 cited inline · 1 references stored

References

  1. The Ciao System . ciao-lang.org . retrieved 2017-08-12 · retrieved 2017-08-11 · rev 1294148166
    Cite this reference

    MLA "The Ciao System . ciao-lang.org . retrieved 2017-08-12." The Ciao System. 2017-08-11. https://en.wikipedia.org/w/index.php?oldid=1294148166. Accessed 25 November 2026.

    Chicago "The Ciao System . ciao-lang.org . retrieved 2017-08-12." The Ciao System. 2017-08-11. https://en.wikipedia.org/w/index.php?oldid=1294148166.

    APA The Ciao System. (2017). The Ciao System . ciao-lang.org . retrieved 2017-08-12. Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1294148166

Cite this article

MLA

"Ciao (programming language)." encyclopegia.org, 2025, https://encyclopegia.org/wiki/ciao-programming-language. Accessed 25 November 2026.

Chicago

"Ciao (programming language)." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/ciao-programming-language.

APA

encyclopegia.org. (2025). Ciao (programming language). Retrieved November 25, 2026, from https://encyclopegia.org/wiki/ciao-programming-language

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

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=1294148166 · 0.5 · snapshot enwiki-001294148166

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.