
arXiv: cs/0409038
Recent constraint logic programming (CLP) languages, such as HAL and Mercury, require type, mode and determinism declarations for predicates. This information allows the generation of efficient target code and the detection of many errors at compile-time. Unfortunately, mode checking in such languages is difficult. One of the main reasons is that, for each predicate mode declaration, the compiler is required to appropriately re-order literals in the predicate's definition. The task is further complicated by the need to handle complex instantiations (which interact with type declarations and higher-order predicates) and automatic initialization of solver variables. Here we define mode checking for strongly typed CLP languages which require reordering of clause body literals. In addition, we show how to handle a simple case of polymorphic modes by using the corresponding polymorphic types.
FOS: Computer and information sciences, Technology, Logic, cs.PL, mode checking, DEPENDENCIES, Logic programming, Computation Theory & Mathematics, Computer Science, Theory & Methods, 0801 Artificial Intelligence and Image Processing, regular grammars, abstract interpretation, D.3.2; F.3.2, 0802 Computation Theory and Mathematics, 4613 Theory of computation, Science & Technology, Computer Science - Programming Languages, strong modes, 4602 Artificial intelligence, D.3.2, 0803 Computer Software, dependencies, Computer Science, Software Engineering, constraint logic programming languages, CLP languages, Computer Science, Grammars and rewriting systems, Science & Technology - Other Topics, F.3.2, logic programs, Programming Languages (cs.PL)
FOS: Computer and information sciences, Technology, Logic, cs.PL, mode checking, DEPENDENCIES, Logic programming, Computation Theory & Mathematics, Computer Science, Theory & Methods, 0801 Artificial Intelligence and Image Processing, regular grammars, abstract interpretation, D.3.2; F.3.2, 0802 Computation Theory and Mathematics, 4613 Theory of computation, Science & Technology, Computer Science - Programming Languages, strong modes, 4602 Artificial intelligence, D.3.2, 0803 Computer Software, dependencies, Computer Science, Software Engineering, constraint logic programming languages, CLP languages, Computer Science, Grammars and rewriting systems, Science & Technology - Other Topics, F.3.2, logic programs, Programming Languages (cs.PL)
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 1 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
