Abstract
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. However, mode checking in such languages is difficult since the compiler is required to appropriately re-order literals in the predicate’s definition for each predicate mode declaration. The task is further complicated by the need to handle complex instantiations which interact with type declarations, higher order functions and predicates, and automatic initialization of solver variables. Here we give the first formal treatment of mode checking in strongly typed CLP languages which require reordering of clause body literals during mode checking. We also sketch the mode checking algorithms used in the HAL compiler.
Original language | English |
---|---|
Title of host publication | Computational Logic – CL 2000 |
Subtitle of host publication | First International Conference London, UK, July 24-28, 2000 Proceedings |
Editors | John Lloyd, Veronica Dahl, Ulrich Furbach, Manfred Kerber, Kung-Kiu Lau, Catuscia Palamidessi, Luís Moniz Pereira, Yehoshua Sagiv, Peter J. Stuckey |
Place of Publication | Berlin Germany |
Publisher | Springer |
Pages | 1270-1284 |
Number of pages | 15 |
ISBN (Print) | 3540677976 |
DOIs | |
Publication status | Published - 2000 |
Event | International Conference on Computational Logic 2000 - London, United Kingdom Duration: 24 Jul 2000 → 28 Jul 2000 Conference number: 1st https://link-springer-com.ezproxy.lib.monash.edu.au/book/10.1007/3-540-44957-4 (Proceedings) |
Publication series
Name | Lecture Notes in Computer Science |
---|---|
Publisher | Springer |
Volume | 1861 |
ISSN (Print) | 0302-9743 |
Conference
Conference | International Conference on Computational Logic 2000 |
---|---|
Abbreviated title | CL 2000 |
Country/Territory | United Kingdom |
City | London |
Period | 24/07/00 → 28/07/00 |
Internet address |