{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2024,6,24]],"date-time":"2024-06-24T15:52:55Z","timestamp":1719244375066},"reference-count":52,"publisher":"Association for Computing Machinery (ACM)","issue":"5","license":[{"start":{"date-parts":[[2010,9,1]],"date-time":"2010-09-01T00:00:00Z","timestamp":1283299200000},"content-version":"tdm","delay-in-days":0,"URL":"http:\/\/www.springer.com\/tdm"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Form. Asp. Comput."],"published-print":{"date-parts":[[2010,9]]},"abstract":"<jats:title>Abstract<\/jats:title>\n          <jats:p>In this paper we describe an algebraic approach to construct provably correct compilers for object-oriented languages; this is illustrated for programs written in a language similar to a sequential subset of Java. It includes recursive classes, inheritance, dynamic binding, recursion, type casts and test, assignment, and class-based visibility, but a copy semantics. In our approach, we tackle the problem of compiler correctness by reducing the task of compilation to that of program refinement. Compilation is identified with the reduction of a source program to a normal form that models the execution of object code. The normal form is generated by a series of correctness-preserving transformations that are proved sound from the basic laws of the language; therefore it is correct by construction. The main advantages of our approach are the characterisation of compilation within a uniform framework, where comparisons and translations between semantics are avoided, and the modularity and extensibility of the resulting compiler.<\/jats:p>","DOI":"10.1007\/s00165-009-0124-9","type":"journal-article","created":{"date-parts":[[2009,10,12]],"date-time":"2009-10-12T16:17:39Z","timestamp":1255364259000},"page":"489-535","source":"Crossref","is-referenced-by-count":7,"title":["An algebraic approach to the design of compilers for object-oriented languages"],"prefix":"10.1145","volume":"22","author":[{"given":"Adolfo","family":"Duran","sequence":"first","affiliation":[{"name":"Universidade Federal da Bahia, Centro de Processamento de Dados MEFES Research Group, CEP 40170-110, Salvador, BA, Brazil"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Ana","family":"Cavalcanti","sequence":"additional","affiliation":[{"name":"Department of Computer Science, University of York, YO10 5DD, York, UK"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Augusto","family":"Sampaio","sequence":"additional","affiliation":[{"name":"Universidade Federal de Pernambuco, Centro de Inform\u00e1tica, Caixa Postal 7851, CEP 50732-970, Recife, PE, Brazil"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","reference":[{"key":"e_1_2_1_2_1_2","volume-title":"Compilers: principles, techniques, and tools","author":"Aho AV","year":"1985"},{"key":"e_1_2_1_2_2_2","unstructured":"Back R (1980) Correct preserving program refinements: proof theory and application volume 131 of Mathematical centre tracts. Mathematical Centre Amsterdam"},{"key":"e_1_2_1_2_3_2","doi-asserted-by":"crossref","unstructured":"B\u00f6rger E Batory DS (2008) Coupling design and verification in software product lines. In: FoIKS pp 1\u20134","DOI":"10.1007\/978-3-540-77684-0_1"},{"key":"e_1_2_1_2_4_2","unstructured":"Blech JO Gr\u00e9goire B (2008) Certifying code generation with Coq. In: Workshop Compiler Optimization meets Compiler Verification (COCV 2008) ENTCS. Elsevier"},{"key":"e_1_2_1_2_5_2","unstructured":"Blech JO Gr\u00e9goire B (2008) Certifying code generation with Coq: A tool description. In: Workshop Compiler Optimization meets Compiler Verification (COCV 2008) ENTCS. Elsevier"},{"key":"e_1_2_1_2_6_2","unstructured":"Bowen M (1998) Handel-C Language Reference Manual 2.1. Embedded Solutions Limited"},{"key":"e_1_2_1_2_7_2","doi-asserted-by":"crossref","unstructured":"B\u00f6rger E Schulte W (1998) Defining the java virtual machine as platform for provably correct java compilation. In: MFCS \u201998: Proceedings of the 23rd international symposium on mathematical foundations of computer science. Springer London pp 17\u201335","DOI":"10.1007\/BFb0055755"},{"key":"e_1_2_1_2_8_2","doi-asserted-by":"crossref","unstructured":"Borba P Sampaio A Corn\u00e9lio M (2003) A refinement algebra for object-oriented programming. In: ECOOP 2003: European conference on object-oriented programming 2003 vol 2743. LNCS Springer pp 457\u2013482","DOI":"10.1007\/978-3-540-45070-2_20"},{"key":"e_1_2_1_2_9_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.scico.2004.03.003"},{"key":"e_1_2_1_2_10_2","doi-asserted-by":"crossref","unstructured":"Back R von Wright J (1990) Refinement calculus part I: sequential nondeterministic programs. In: REX workshop: Proceedings on stepwise refinement of distributed systems: models formalisms correctness Springer pp 42\u201366","DOI":"10.1007\/3-540-52559-9_60"},{"key":"e_1_2_1_2_11_2","volume-title":"Refinement calculus: a systematic introduction","author":"Back R","year":"1990"},{"key":"e_1_2_1_2_12_2","doi-asserted-by":"crossref","unstructured":"Corn\u00e9lio M Cavalcanti A Sampaio A (2002) Refactoring by Transformation. In: REFINE 2002 Workshop Electronic notes in theoretical computer science vol 70 Springer pp 641\u2013660","DOI":"10.1016\/S1571-0661(05)82564-2"},{"key":"e_1_2_1_2_13_2","doi-asserted-by":"publisher","DOI":"10.1109\/32.879810"},{"key":"e_1_2_1_2_14_2","unstructured":"Corn\u00e9lio M (2004) Applying object-oriented refactoring and patterns as formal refinements. PhD thesis Universidade Federal de Pernambuco"},{"key":"e_1_2_1_2_15_2","doi-asserted-by":"crossref","unstructured":"Duran A Cavalcanti A Sampaio A (2002) Refinement algebra for formal bytecode generation. In: ICFEM 2002-4th international conference on formal engineering methods (LNCS) vol 2495. Springer Shanghai pp 347\u2013358","DOI":"10.1007\/3-540-36103-0_36"},{"key":"e_1_2_1_2_16_2","doi-asserted-by":"crossref","unstructured":"Duran A Cavalcanti A Sampaio A (2003) A strategy for compiling classes inheritance and dynamic binding. In: FME 2003-International symposium of formal methods Europe vol 2805 pp 301\u2013320. Pisa September 2003. LNCS Springer","DOI":"10.1007\/978-3-540-45236-2_18"},{"key":"e_1_2_1_2_17_2","doi-asserted-by":"publisher","DOI":"10.1145\/514952.514955"},{"key":"e_1_2_1_2_18_2","volume-title":"A discipline of programming","author":"Dijkstra EW","year":"1976"},{"key":"e_1_2_1_2_19_2","unstructured":"Duran A (2005) An algebraic approach to the design of compilers for object-oriented languages. PhD thesis Universidade Federal de Pernambuco. Available at http:\/\/www.les.ufba.br\/duranthesis\/"},{"key":"e_1_2_1_2_20_2","volume-title":"Refactoring: improving the design of existing code","author":"Fowler M","year":"1999"},{"key":"e_1_2_1_2_21_2","volume-title":"The Java Language Specification","author":"Gosling J","year":"2000","edition":"2"},{"key":"e_1_2_1_2_22_2","unstructured":"Hayes IJ (1998) Separating timing and calculation in real-time refinement. In: Gundy J Schwenke M Vickers T (eds) Pacific\u201998: international refinement workshop and formal methods Discrete mathematics and theoretical computer science Springer pp 1\u201316"},{"key":"e_1_2_1_2_23_2","doi-asserted-by":"crossref","unstructured":"Harwood W Cavalcanti ALC Woodcock JCP (2008) A theory of pointers for the UTP. In: Fitzgerald JS Haxthausen AE Yenigun H (eds) Theoretical aspects of computing (Lecture Notes in Computer Science) vol 5160. Springer Berlin pp 141\u2013155","DOI":"10.1007\/978-3-540-85762-4_10"},{"key":"e_1_2_1_2_24_2","doi-asserted-by":"crossref","unstructured":"He J (1993) Hybrid parallel programming and implementation of synchronised communication. In: MFCS \u201993: Proceedings of the 18th international symposium on mathematical foundations of computer science (LNCS) vol 711. Springer London pp 537\u2013546","DOI":"10.1007\/3-540-57182-5_45"},{"key":"e_1_2_1_2_25_2","doi-asserted-by":"crossref","first-page":"701","DOI":"10.1007\/BF01191809","article-title":"Normal form approach to compiler design","volume":"30","author":"Hoare CAR","year":"1993","journal-title":"Acta Inform"},{"key":"e_1_2_1_2_26_2","volume-title":"Unifying theories of programming","author":"Hoare CAR","year":"1998"},{"key":"e_1_2_1_2_27_2","doi-asserted-by":"crossref","unstructured":"Hayes IJ Utting M (1998) Deadlines are termination. In: Gries D de Roever W-P (eds) PROCOMET\u201998: IFIP\u2014international conference on programming concepts and methods. Chapman and Hall pp 186\u2013204","DOI":"10.1007\/978-0-387-35358-6_15"},{"key":"e_1_2_1_2_28_2","doi-asserted-by":"crossref","unstructured":"Klein G Nipkow T (2006) A machine-checked model for a Java-like language virtual machine and compiler. ACM Trans Program Lang Syst 28(4):619\u2013695 http:\/\/doi.acm.org\/10.1145\/1146809.1146811","DOI":"10.1145\/1146809.1146811"},{"key":"e_1_2_1_2_29_2","doi-asserted-by":"publisher","DOI":"10.1145\/1538788.1538814"},{"key":"e_1_2_1_2_30_2","doi-asserted-by":"publisher","DOI":"10.1016\/S0304-3975(01)00047-0"},{"key":"e_1_2_1_2_31_2","volume-title":"NET framework essentials","author":"Lam H","year":"2001"},{"key":"e_1_2_1_2_32_2","volume-title":"The Java virtual machine specification","author":"Lindholm T","year":"1997"},{"key":"e_1_2_1_2_33_2","doi-asserted-by":"crossref","unstructured":"M\u00fcller-Olm M (1997) Modular compiler verification: a refinement-algebraic approach advocating stepwise abstraction. Springer","DOI":"10.1007\/BFb0027453"},{"key":"e_1_2_1_2_34_2","volume-title":"Programming from specifications","author":"Morgan C","year":"1994","edition":"2"},{"key":"e_1_2_1_2_35_2","doi-asserted-by":"crossref","unstructured":"McCarthy J Painter J (1967) Correctness of a compiler for arithmetic expressions. In: Symposium on applied mathematics vol 19. American Mathematical Society pp 33\u201341","DOI":"10.1090\/psapm\/019\/0242403"},{"key":"e_1_2_1_2_36_2","doi-asserted-by":"crossref","unstructured":"Nipkow T Oheimb D (1998) Java-light is type-safe\u2014definitely. In: POPL \u201998: Proceedings of the 25th ACM SIGPLAN- SIGACT symposium on principles of programming languages. ACM Press New York pp 161\u2013170","DOI":"10.1145\/268946.268960"},{"key":"e_1_2_1_2_37_2","unstructured":"Opdyke W (1992) Refactoring object-oriented frameworks. PhD thesis University of Illinois at Urbana-Champaign"},{"key":"e_1_2_1_2_38_2","unstructured":"Patterson DA Hennessy JL (2005) Computer organization and design: The Hardware\/software Interface. Morgan Kaufmann"},{"key":"e_1_2_1_2_39_2","unstructured":"Platt DS (2001) Introducing Microsoft .NET. Microsoft Press"},{"key":"e_1_2_1_2_40_2","doi-asserted-by":"publisher","DOI":"10.5555\/539407"},{"key":"e_1_2_1_2_41_2","doi-asserted-by":"crossref","unstructured":"Perna JI Woodcock J (2007) A denotational semantics for Handel-C hardware compilation. In: ICFEM pp 266\u2013285","DOI":"10.1007\/978-3-540-76650-6_16"},{"key":"e_1_2_1_2_42_2","unstructured":"Perna JI Woodcock J (2007) Proving wire-wise correctness for Handel-C compilation in HOL. Technical Report YCS-2008-429 Computer Science Department The University of York December"},{"key":"e_1_2_1_2_43_2","unstructured":"Perna JI Woodcock J (2008) Wire-wise correctness for handel-C synthesis in HOL. In: Pace GJ Singh S (eds) Seventh International workshop on designing correct circuits (DCC) pp 86\u2013100 March 2008"},{"key":"e_1_2_1_2_44_2","doi-asserted-by":"crossref","unstructured":"Sampaio A (1997) An algebraic approach to compiler design vol 4 of AMAST Series in Computing. World Scientific","DOI":"10.1142\/2870"},{"key":"e_1_2_1_2_45_2","doi-asserted-by":"crossref","unstructured":"Santos TLVL Cavalcanti ALC Sampaio ACA (2006) Object Orientation in the UTP. In: Dunne S Stoddart B (eds) Unifying theories of programming (Lecture Notes in Computer Science) vol 4010. Springer pp 18\u201337","DOI":"10.1007\/11768173_2"},{"key":"e_1_2_1_2_46_2","doi-asserted-by":"crossref","unstructured":"Serrano M (1999) Wide classes. Lecture Notes in Computer Science","DOI":"10.1007\/3-540-48743-3_18"},{"key":"e_1_2_1_2_47_2","doi-asserted-by":"crossref","unstructured":"St\u00e4rk R Schmid J B\u00f6rger E (2001) Java and the Java Virtual Machine-Definition Verification Validation. Springer","DOI":"10.1007\/978-3-642-59495-3"},{"key":"e_1_2_1_2_48_2","first-page":"217","article-title":"Laws of object-orientation with reference semantics","volume":"0","author":"Silva L","year":"2008","journal-title":"Software engineering and formal methods. Int Confer"},{"key":"e_1_2_1_2_49_2","unstructured":"Tian YH (2006) Mechanically verifying correctness of CPS compilation. In: CATS \u201906: Proceedings of the 12th computing: the Australasian theroy symposium Darlinghurst Australia Australian Computer Society Inc. pp 41\u201351"},{"key":"e_1_2_1_2_50_2","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(81)90080-3"},{"key":"e_1_2_1_2_51_2","doi-asserted-by":"crossref","unstructured":"Watson G (2003) Compilation by refinement for a practical assembly language. In: Formal methods and software engineering. ICFEM 2003: 5th international conference on formal engineering methods (LNCS) vol 2885. Springer Singapore November 2003 pp 286\u2013305","DOI":"10.1007\/978-3-540-39893-6_17"},{"key":"e_1_2_1_2_52_2","doi-asserted-by":"crossref","unstructured":"Wildman L (2002) A formal basis for a program compilation proof tool. In: FME \u201902: Proceedings of the international symposium of formal methods Europe on formal methods\u2014getting IT right (LNCS) vol 2391. Springer London pp 491\u2013510","DOI":"10.1007\/3-540-45614-7_28"}],"container-title":["Formal Aspects of Computing"],"original-title":[],"language":"en","link":[{"URL":"http:\/\/link.springer.com\/content\/pdf\/10.1007\/s00165-009-0124-9.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"http:\/\/link.springer.com\/article\/10.1007\/s00165-009-0124-9\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1007\/s00165-009-0124-9","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,1,6]],"date-time":"2022-01-06T15:53:37Z","timestamp":1641484417000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1007\/s00165-009-0124-9"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2010,9]]},"references-count":52,"journal-issue":{"issue":"5","published-print":{"date-parts":[[2010,9]]}},"alternative-id":["10.1007\/s00165-009-0124-9"],"URL":"https:\/\/doi.org\/10.1007\/s00165-009-0124-9","relation":{},"ISSN":["0934-5043","1433-299X"],"issn-type":[{"value":"0934-5043","type":"print"},{"value":"1433-299X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2010,9]]}}}