encyclopegia.org

Claire (programming language)

Claire is a high-level functional and object-oriented programming language with rule processing abilities.[src] It was designed by Yves Caseau at Bouygues' e-Lab research laboratory, and received its final definition in 2004.[src] Claire provides: *A simple object system with parametric classes and methods *Polymorphic and parametric functional programming *Production rules triggered by events *Versioned snapshots of the state of the whole system, or any part, supporting rollback and easy exploration of search spaces *Explicit relations between entities; for example, two entities might be declared inverses of one another *First-class sets with convenient syntax for set-based programming *An expressive set-based type system allowing both second-order static and dynamic typing Claire's reference implementation, consisting of an interpreter and compiler, was fully open-sourced with the release of version 3.3.46 in February 2009.[src] Another implementation, WebClaire, is supported commercially.[src] Claire has, since 2022, a new reference version, CLAIRE4, which is written on the Go language.[src] It has a new website with documentations and examples, together with a Github open source repository.[src]

Claire is a high-level functional and object-oriented programming language with rule processing abilities.[src] It was designed by Yves Caseau at Bouygues' e-Lab research laboratory, and received its final definition in 2004.[src] Claire provides: A simple object system with parametric classes and methods Polymorphic and parametric functional programming Production rules triggered by events Versioned snapshots of the state of the whole system, or any part, supporting rollback and easy exploration of search spaces Explicit relations between entities; for example, two entities might be declared inverses of one another First-class sets with convenient syntax for set-based programming An expressive set-based type system allowing both second-order static and dynamic typing Claire's reference implementation, consisting of an interpreter and compiler, was fully open-sourced with the release of version 3.3.46 in February 2009.[src] Another implementation, WebClaire, is supported commercially.[src] Claire has, since 2022, a new reference version, CLAIRE4, which is written on the Go language.[src] It has a new website with documentations and examples, together with a Github open source repository.[src] ==Overview== Claire is a general-purpose programming language, best suited to application software requiring sophisticated data modeling, rule processing or problem solving.[src] WebClaire adds extensions for fuller integration with the operating system and for programming web applications.[src] Though Claire can be used for complete projects, it is designed to integrate smoothly with C++, Java, or Go.[src] The key set of features that distinguishes Claire from other programming languages has been dictated by experience in solving complex optimization problems.[src] Two features not found in other mixed functional/object-oriented languages, such as OCaml, Scala and F#, are versioning and production rules.[src] Versions can be viewed as a stack of snapshots of some part of the system, which can be made as large (for expressiveness) or small (for efficiency) as necessary.[src] Creation and roll-back of versions permit backtracking, as found in logic programming, though Claire's backtracking may cover any user-defined structure rather than just a set of logic variables.[src] A production rule in Claire is composed of an event, a condition and a response to be evaluated if the condition is satisfied.[src] An event may be any change in an object's slot or the instantiation of a class, and a response may itself set off further events.[src] Such production rules are especially useful in describing reactive algorithms, such as those for constraint propagation.[src] Claire was created as a successor to LAURE, an expressive but complex language designed by Caseau in the 1980s that combined many paradigms.[src] Claire was intended to be both easier to learn than its predecessor and to impose no performance overhead relative to C++; it is thus a much smaller language, omitting features such as constraints and deductive rules, and is closer to C in spirit and syntax.[src] Its main users in industry have been the Bouygues and Thales Groups.[src] The new Claire 4 release brings gains in reliability (via Go's strength as underlying language) and in performance of compiler and interpreter.[src] ==Example== A function to compute the nth Fibonacci sequence number: fib(n:integer) : integer -> (if (n < 2) 1 else fib(n - 1) + fib(n - 2)) ==External links== Claire4-specific website Documentation, Claire, WebClaire "Introduction to the Claire Programming Language Version 3.2" by Yves Caseau and François Laburthe "Claire: Combining Sets, Search and Rules to Better Express Algorithms " by Yves Caseau, François-Xavier Josset and François Laburthe (2002).[src] A 26-page overview, written for academic audience, with benchmarks[src]

28 sentences · 28 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Claire (programming language)." encyclopegia.org, 2025, https://encyclopegia.org/wiki/claire-programming-language. Accessed 29 November 2026.

Chicago

"Claire (programming language)." encyclopegia.org. Accessed November 29, 2026. https://encyclopegia.org/wiki/claire-programming-language.

APA

encyclopegia.org. (2025). Claire (programming language). Retrieved November 29, 2026, from https://encyclopegia.org/wiki/claire-programming-language

Accessed November 29, 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=1317280819 · 0.5 · snapshot enwiki-001317280819

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
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

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