ECLi PSe - Language

Language

The ECLiPSe language is largely backward-compatible with Prolog and supports different dialects. Thanks to its declarative nature, it can be used both as a modelling language for the description of problems and as a general purpose programming language.

Beyond the basic Prolog data types, the following are available: strings, unlimited precision integer and rational numbers, and floating point intervals. Array syntax and structures with field names are also supported and especially useful in constraint modelling.

A logical iteration construct eliminates the need for most simple recursion patterns.

ECLiPSe provides comprehensive facilities to implement data-driven control behaviour. These include declarative delay-clauses as well as primitives for meta-programmed control like explicit goal suspension, flexible triggering facilities and execution priorities. Together with the attributed variable data type, this is the key to many extensions to the basic logic programming language, including all constraint-based functionality. The system calls user-definable event handlers when it encounters attri­bu­ted variables in certain contexts, e.g. unifi­ca­tion.

The module system controls the visibility of predicates, non-logical stores, source trans­formations and syntax settings. Module interfaces can be extended and restricted, and modules written in different language dialects can be mixed within one application.

Programs may contain structured comments from which reference documentation can be generated.

Read more about this topic:  ECLi PSe

Famous quotes containing the word language:

    The language of excitement is at best picturesque merely. You must be calm before you can utter oracles.
    Henry David Thoreau (1817–1862)

    Public speaking is done in the public tongue, the national or tribal language; and the language of our tribe is the men’s language. Of course women learn it. We’re not dumb. If you can tell Margaret Thatcher from Ronald Reagan, or Indira Gandhi from General Somoza, by anything they say, tell me how. This is a man’s world, so it talks a man’s language.
    Ursula K. Le Guin (b. 1929)

    Experiment is necessary in establishing an academy, but certain principles must apply to this business of art as to any other business which affects the artis tic sense of the community. Great art speaks a language which every intelligent person can understand. The people who call themselves modernists today speak a different language.
    Robert Menzies (1894–1978)