{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,5,13]],"date-time":"2025-05-13T22:01:12Z","timestamp":1747173672901,"version":"3.40.5"},"reference-count":15,"publisher":"Cambridge University Press (CUP)","issue":"5","license":[{"start":{"date-parts":[[2022,6,27]],"date-time":"2022-06-27T00:00:00Z","timestamp":1656288000000},"content-version":"unspecified","delay-in-days":0,"URL":"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/"}],"content-domain":{"domain":["cambridge.org"],"crossmark-restriction":true},"short-container-title":["Theory and Practice of Logic Programming"],"published-print":{"date-parts":[[2022,9]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>Even though the core of the Prolog programming language has been standardized by ISO since 1995, it remains difficult to write complex Prolog programs that can run unmodified on multiple Prolog implementations. Indeed, implementations sometimes deviate from the ISO standard and the standard itself fails to cover many features that are essential in practice. Most Prolog applications thus have to rely on nonstandard features, often making them dependent on one particular Prolog implementation and incompatible with others. We examine one such Prolog application: ProB, which has been developed for over 20 years in SICStus Prolog. The article describes how we managed to refactor the codebase of ProB to also support SWI-Prolog, with the goal of verifying ProB\u2019s results using two independent toolchains. This required a multitude of adjustments, ranging from extending the SICStus emulation in SWI-Prolog on to better modularizing the monolithic ProB codebase. We also describe notable compatibility issues and other differences that we encountered in the process, and how we were able to deal with them with few major code changes.<\/jats:p>","DOI":"10.1017\/s1471068422000230","type":"journal-article","created":{"date-parts":[[2022,6,27]],"date-time":"2022-06-27T09:17:55Z","timestamp":1656321475000},"page":"755-769","update-policy":"https:\/\/doi.org\/10.1017\/policypage","source":"Crossref","is-referenced-by-count":1,"title":["Making ProB Compatible with SWI-Prolog"],"prefix":"10.1017","volume":"22","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-6722-6296","authenticated-orcid":false,"given":"DAVID","family":"GELE\u00dfUS","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"MICHAEL","family":"LEUSCHEL","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"56","published-online":{"date-parts":[[2022,6,27]]},"reference":[{"key":"S1471068422000230_ref11","doi-asserted-by":"crossref","unstructured":"Leuschel, M. , Elphick, D. , Varea, M. , Craig, S. , and Fontaine, M. 2006. The Ecce and Logen partial evaluators and their web interfaces. In Proceedings PEPM. IBM Press, 88\u201394.","DOI":"10.1145\/1111542.1111557"},{"key":"S1471068422000230_ref15","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068411000494"},{"key":"S1471068422000230_ref13","unstructured":"van Noord, G. 2006. At Last Parsing Is Now Operational. In Proceedings TALN. 20\u201342."},{"key":"S1471068422000230_ref9","unstructured":"ISO\/IEC WDTS 13211\u20133 2021. Definite clause grammar rules. Working Draft TS N279, ISO. 08."},{"key":"S1471068422000230_ref5","unstructured":"EN50128 2011. Railway applications \u2013 communication, signalling and processing systems \u2013 software for railway control and protection systems. European standard, CENELEC."},{"key":"S1471068422000230_ref10","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068422000102"},{"key":"S1471068422000230_ref7","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068411000457"},{"key":"S1471068422000230_ref1","doi-asserted-by":"publisher","DOI":"10.4204\/EPTCS.149.3"},{"key":"S1471068422000230_ref12","doi-asserted-by":"crossref","unstructured":"Moura, P. 2013. A portable and efficient implementation of coinductive logic programming. In Practical Aspects of Declarative Languages. LNCS, vol. 7752. Springer, 77\u201392.","DOI":"10.1007\/978-3-642-45284-0_6"},{"key":"S1471068422000230_ref3","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068411000482"},{"key":"S1471068422000230_ref6","doi-asserted-by":"crossref","unstructured":"Haemmerl\u00e9, R. and Fages, F. 2006. Modules for Prolog revisited. In Logic Programming, S. Etalle and M. Truszczy\u0144ski, Eds. Springer, Berlin, Heidelberg, 41\u201355.","DOI":"10.1007\/11799573_6"},{"key":"S1471068422000230_ref14","doi-asserted-by":"crossref","unstructured":"Wielemaker, J. and Costa, V. S. 2011. On the portability of Prolog applications. In Practical Aspects of Declarative Languages. Springer, Berlin, Heidelberg, 69\u201383.","DOI":"10.1007\/978-3-642-18378-2_8"},{"key":"S1471068422000230_ref2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-58298-2_8"},{"key":"S1471068422000230_ref4","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068411000512"},{"key":"S1471068422000230_ref8","unstructured":"ISO\/IEC 13211-1:1995 1995. Information technology \u2014 programming languages \u2014 Prolog \u2014 part 1: General core. Standard, ISO. 06."}],"container-title":["Theory and Practice of Logic Programming"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S1471068422000230","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,8,15]],"date-time":"2022-08-15T01:07:28Z","timestamp":1660525648000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S1471068422000230\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,6,27]]},"references-count":15,"journal-issue":{"issue":"5","published-print":{"date-parts":[[2022,9]]}},"alternative-id":["S1471068422000230"],"URL":"https:\/\/doi.org\/10.1017\/s1471068422000230","relation":{},"ISSN":["1471-0684","1475-3081"],"issn-type":[{"type":"print","value":"1471-0684"},{"type":"electronic","value":"1475-3081"}],"subject":[],"published":{"date-parts":[[2022,6,27]]},"assertion":[{"value":"\u00a9 The Author(s), 2022. Published by Cambridge University Press","name":"copyright","label":"Copyright","group":{"name":"copyright_and_licensing","label":"Copyright and Licensing"}},{"value":"This is an Open Access article, distributed under the terms of the Creative Commons Attribution-ShareAlike licence (http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/), which permits re-use, distribution, and reproduction in any medium, provided the same Creative Commons licence is used to distribute the re-used or adapted article and the original article is properly cited.","name":"license","label":"License","group":{"name":"copyright_and_licensing","label":"Copyright and Licensing"}},{"value":"This content has been made available to all.","name":"free","label":"Free to read"}]}}