{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,2]],"date-time":"2026-10-02T07:57:19Z","timestamp":1790927839308,"version":"4.1.0"},"reference-count":25,"publisher":"Association for Computing Machinery (ACM)","issue":"ICFP","license":[{"start":{"date-parts":[[2017,8,29]],"date-time":"2017-08-29T00:00:00Z","timestamp":1503964800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/501100001732","name":"Danish National Research Foundation","doi-asserted-by":"crossref","award":["DNRF86-10"],"award-info":[{"award-number":["DNRF86-10"]}],"id":[{"id":"10.13039\/501100001732","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2017,8,29]]},"abstract":"<jats:p>How does one test a language implementation with QuickCheck (aka. property-based testing)? One approach is to generate programs following the grammar of the language. But in a statically-typed language such as OCaml too many of these candidate programs will be rejected as ill-typed by the type checker. As a refinement Pa\u0142ka et al. propose to generate programs in a goal-directed, bottom-up reading up of the typing relation. We have written such a generator. However many of the generated programs has output that depend on the evaluation order, which is commonly under-specified in languages such as OCaml, Scheme, C, C++, etc. In this paper we develop a type and effect system for conservatively detecting evaluation-order dependence and propose its goal-directed reading as a generator of programs that are independent of evaluation order. We illustrate the approach by generating programs to test OCaml's two compiler backends against each other and report on a number of bugs we have found doing so.<\/jats:p>","DOI":"10.1145\/3110259","type":"journal-article","created":{"date-parts":[[2017,8,29]],"date-time":"2017-08-29T18:19:41Z","timestamp":1504030781000},"page":"1-23","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":24,"title":["Effect-driven QuickChecking of compilers"],"prefix":"10.1145","volume":"1","author":[{"given":"Jan","family":"Midtgaard","sequence":"first","affiliation":[{"name":"DTU, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Mathias Nygaard","family":"Justesen","sequence":"additional","affiliation":[{"name":"DTU, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Patrick","family":"Kasting","sequence":"additional","affiliation":[{"name":"DTU, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Flemming","family":"Nielson","sequence":"additional","affiliation":[{"name":"DTU, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Hanne Riis","family":"Nielson","sequence":"additional","affiliation":[{"name":"DTU, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2017,8,29]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1142\/p132"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/567752.567756"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/781131.781153"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796815000143"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/351240.351266"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/512950.512973"},{"key":"e_1_2_1_7_1","volume-title":"24th European Symposium on Programming, ESOP 2015 (Lecture Notes in Computer Science), Jan Vitek (Ed.)","volume":"9032","author":"Fetscher Burke","year":"2015"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/319838.319848"},{"key":"e_1_2_1_9_1","unstructured":"James Gosling Bill Joy Guy Steele and Gilad Bracha. 2000. Java Language Specification Second Edition: The Java Series (2nd ed.). Addison-Wesley Boston MA USA.  James Gosling Bill Joy Guy Steele and Gilad Bracha. 2000. Java Language Specification Second Edition: The Java Series (2nd ed.). Addison-Wesley Boston MA USA."},{"key":"e_1_2_1_10_1","volume-title":"A List of Successes That Can Change the World - Essays Dedicated to Philip Wadler on the Occasion of His 60th Birthday (Lecture Notes in Computer Science), Sam Lindley, Conor McBride, Philip W","author":"Hughes John"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/2896921.2896928"},{"key":"e_1_2_1_12_1","unstructured":"Patrick Kasting and Mathias Nygaard Justesen. 2016. Quickchecking OCaml compilers by generating lambda terms. Unpublished course project report. Technical University of Denmark Lyngby Denmark.  Patrick Kasting and Mathias Nygaard Justesen. 2016. Quickchecking OCaml compilers by generating lambda terms. Unpublished course project report. Technical University of Denmark Lyngby Denmark."},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/2666356.2594334"},{"key":"e_1_2_1_14_1","unstructured":"Xavier Leroy. 1990. The Zinc experiment: an economical implementation of the ML language. Rapport Technique 117. INRIA Rocquencourt Le Chesnay France.  Xavier Leroy. 1990. The Zinc experiment: an economical implementation of the ML language. Rapport Technique 117. INRIA Rocquencourt Le Chesnay France."},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/349214.349230"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/73560.73564"},{"key":"e_1_2_1_17_1","unstructured":"John C. Martin. 1997. Introduction to Languages and the Theory of Computation. McGraw-Hill.  John C. Martin. 1997. Introduction to Languages and the Theory of Computation. McGraw-Hill."},{"key":"e_1_2_1_18_1","doi-asserted-by":"crossref","unstructured":"Flemming Nielson and Hanne Riis Nielson. 1999. Type and Effect Systems. In Correct System Design Recent Insight and Advances (to Hans Langmaack on the occasion of his retirement from his professorship at the University of Kiel) (Lecture Notes in Computer Science) Ernst-R\u00fcdiger Olderog and Bernhard Steffen (Eds.) Vol. 1710. Springer-Verlag 114\u2013136.  Flemming Nielson and Hanne Riis Nielson. 1999. Type and Effect Systems. In Correct System Design Recent Insight and Advances (to Hans Langmaack on the occasion of his retirement from his professorship at the University of Kiel) (Lecture Notes in Computer Science) Ernst-R\u00fcdiger Olderog and Bernhard Steffen (Eds.) Vol. 1710. Springer-Verlag 114\u2013136.","DOI":"10.1007\/3-540-48092-7_6"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-03811-6"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/1982595.1982615"},{"key":"e_1_2_1_21_1","unstructured":"Benjamin C. Pierce. 2002. Types and Programming Languages. The MIT Press.  Benjamin C. Pierce. 2002. Types and Programming Languages. The MIT Press."},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/2633357.2633365"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/2500365.2500616"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1006\/inco.1994.1093"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/1993498.1993532"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3110259","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3110259","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T04:38:44Z","timestamp":1750221524000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3110259"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2017,8,29]]},"references-count":25,"journal-issue":{"issue":"ICFP","published-print":{"date-parts":[[2017,8,29]]}},"alternative-id":["10.1145\/3110259"],"URL":"https:\/\/doi.org\/10.1145\/3110259","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2017,8,29]]},"assertion":[{"value":"2017-08-29","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}