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 style of an author should be the image of his mind, but the choice and command of language is the fruit of exercise.
    Edward Gibbon (1737–1794)

    Language is an archeological vehicle ... the language we speak is a whole palimpsest of human effort and history.
    Russell Hoban (b. 1925)

    Sarcasm I now see to be, in general, the language of the Devil; for which reason I have long since as good as renounced it.
    Thomas Carlyle (1795–1881)