[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-732872-105":59,"doc-detail-732872-en":130,"doc-similar-732872":201},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","concepts-of-programming-language-design","Concepts of Programming Language Design","","Programming language design concepts for software engineers and computer scientists, presenting an academic overview of how programming languages are specified and reasoned about. The material covers implementations, abstract machines, judgements and inference rules, inductive definitions, syntax from concrete to abstract forms, and both static and dynamic semantics. It compares small-step (SOS) and big-step evaluation approaches, addresses type safety, errors, exceptions, references, and explores advanced features like composite data types, parametric polymorphism, overloading, and subtyping with examples.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/concepts-of-programming-language-design/732872/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/concepts-of-programming-language-design/732872.png","ImageObject",300,407,{"name":92,"@type":93},"Aldword","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-27","2026-11-22",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What core topics are covered in the document’s discussion of programming language design?","Question",{"text":112,"@type":113},"It addresses language implementation, abstract machines, syntax (concrete to abstract), and semantics (static and dynamic), supported by formal reasoning concepts like judgements and inference rules.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does the document compare evaluation styles in operational semantics?",{"text":117,"@type":113},"It includes a comparison between small-step structural operational semantics (SOS) and big-step evaluation semantics to contrast how program execution is modeled.",{"name":119,"@type":110,"acceptedAnswer":120},"Which advanced language features are included beyond basic semantics?",{"text":121,"@type":113},"It covers type safety and exceptions, composite data types, parametric polymorphism and type inference, overloading and type classes, and subtyping principles as part of a broader design perspective.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},732872,1795382642,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":145,"preview_urls":146},2336478940917,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","Concepts  \nof  \nProgramming Language Design  \nGabriele Keller Liam O'Connor Tom Smeding  \nUtrecht University  \n2  \nContents  \n1 Introduction 7  \n1.1 The implementation of programming languages .................... 7  \n1.2 Abstract and virtual machines ............................. 9  \n2 Preliminaries 11  \n2.1 Judgements and Inference Rules ............................ 11  \n2.1.1 Derivable and Admissible Rules ......................... 15  \n2.1.2 Notation ...................................... 15  \n2.1.3 Inductive De􀀌nitions ............................... 16  \n2.1.4 Judgements and Relations ............................ 16  \n2.2 Rule Induction ...................................... 16  \n2.2.1 Ambiguity ..................................... 18  \n2.2.2 Simultaneous Induction ............................. 20  \n2.3 Examples ......................................... 23  \n2.3.1 Boolean Expressions ............................... 23  \n2.3.2 More Arithmetic ................................. 24  \n3 Syntax 25  \n3.1 From Concrete to Abstract Syntax ........................... 26  \n3.2 First Order Abstract Syntax ............................... 27  \n3.3 Scope of a Variable .................................... 28  \n3.4 Higher-Order Abstract Syntax ............................. 29  \n3.5 Substitution and 􀀋-equivalence ............................. 30  \n4 Semantics 33  \n4.1 Static Semantics ..................................... 33  \n4.2 Dynamic Semantics .................................... 34  \n4.2.1 Small Step or Structural Operational Semantics (SOS) ............ 35  \n4.2.2 Big Step Semantics ................................ 38  \n4.3 Comparing SOS and Evaluation Semantics ....................... 38  \n5 MinHs { a functional core language 43  \n5.1 Concrete Syntax ..................................... 44  \n5.2 Higher-order Abstract Syntax .............................. 46  \n5.3 Static Semantics ..................................... 46  \n5.3.1 Example ...................................... 48  \n5.4 Dynamic Semantics .................................... 48  \n6 TinyC 51  \n6.1 Language de􀀌nition .................................... 51  \n6.2 Static Semantics ..................................... 52  \n6.3 Dynamic Semantics .................................... 54  \n4 CONTENTS  \n6.3.1 The environment g ................................ 54  \n6.3.2 Program Execution ................................ 54  \n7 Abstract Machines 57  \n7.1 The C-Machine ...................................... 57  \n7.1.1 C-Machine States ................................ 58  \n7.1.2 Formalising the C-Machine ........................... 59  \n7.1.3 Example ...................................... 62  \n7.2 The E-Machine ...................................... 63  \n7.2.1 Example ...................................... 65  \n7.2.2 Closures ...................................... 66  \n8 Type Safety, Errors and Exceptions 69  \n8.1 Type Safety ........................................ 69  \n8.2 Dealing with Partiality .................................. 70  \n8.2.1 Exceptions .................................... 71  \n9 Composite Data Types 73  \n9.1 Products .......................................... 73  \n9.2 Sums ............................................ 74  \n9.3 Unit Type ......................................... 75  \n9.4 Recursive Types ..................................... 76  \n9.5 Haskell Datatypes .................................... 77  \n10 References 79  \n10.1 References in functional languages ........................... 79  \n10.2 References in stateful languages ............................. 80  \n10.3 References for TinyC ................................... 82  \n10.3.1 Static semantics of references .......................... 83  \n10.3.2 Dynamic semantics of references ........................ 84  \n10.4 Memory management .................................. 86  \n11 Parametric Polymorphism 89  \n11.1 Explicitly typed polymorphic MinHS .......................... 90  \n11.1.1 Polymorphic Types .","cbCaiu8ySDC0NZY6","https://ap.wps.com/l/cbCaiu8ySDC0NZY6","pdf",1065060,125,"English","# Contents\n## Introduction\n## Preliminaries\n## Syntax\n## Semantics\n## Abstract Machines\n## Type Safety, Errors and Exceptions\n## Composite Data Types\n## Parametric Polymorphism\n## Overloading\n## Featherweight Java\n## Subtyping","[{\"question\":\"What core topics are covered in the document’s discussion of programming language design?\",\"answer\":\"It addresses language implementation, abstract machines, syntax (concrete to abstract), and semantics (static and dynamic), supported by formal reasoning concepts like judgements and inference rules.\"},{\"question\":\"How does the document compare evaluation styles in operational semantics?\",\"answer\":\"It includes a comparison between small-step structural operational semantics (SOS) and big-step evaluation semantics to contrast how program execution is modeled.\"},{\"question\":\"Which advanced language features are included beyond basic semantics?\",\"answer\":\"It covers type safety and exceptions, composite data types, parametric polymorphism and type inference, overloading and type classes, and subtyping principles as part of a broader design perspective.\"}]","Concepts of Programming Language Design | PDF",315,13,[147,151,155,159,163,167,171,175,179,183,187,192,197],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/2b461436983d64a650bf743bac1b8504.webp",983,1390,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/027b2c2e452fb65b69a3e6adf5c146c5.webp",982,1388,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/25a2292de8b63928a2a034fe14ceda6d.webp",981,1387,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/f205eeaa1ca85fc39d9c676bcdcb5b61.webp",980,1385,{"page_no":24,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/f8341c29e3f80f808f827aa15bc46104.webp",979,1384,{"page_no":29,"url":168,"width":169,"height":170},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/225de9bec8e4c7e509b4a369dfd9bd2a.webp",978,1383,{"page_no":34,"url":172,"width":173,"height":174},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/7538db96000a5824c83f5a0ce21633c5.webp",977,1381,{"page_no":39,"url":176,"width":177,"height":178},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/bfe0efab3523f0847a1280b33a6e5bb7.webp",976,1380,{"page_no":44,"url":180,"width":181,"height":182},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/b369abcda5a7130bee399de813096cce.webp",975,1378,{"page_no":52,"url":184,"width":185,"height":186},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/32969954715089276d154be078e6be76.webp",974,1377,{"page_no":188,"url":189,"width":190,"height":191},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/21dd372daac79c6423032fc7bbea4e91.webp",973,1376,{"page_no":193,"url":194,"width":195,"height":196},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/19d23eff99929487296e5f03b4d7885c.webp",972,1374,{"page_no":145,"url":198,"width":199,"height":200},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/9b5c09107767c6e371fdbd89c2d89b89.webp",971,1373,{"list":202,"token":66},[203,210,216,222,229,235,242,248,255,261],{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":208,"category_name":40,"create_tm":209},39887,"Types and Programming Languages","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229792622722/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=6czGz0Ih5BcPyvPtilGBzoGOwA0%3D","types-and-programming-languages",26,1783087703,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":29,"category_name":40,"create_tm":215},685648,"CSC 347 - Concepts of Programming Languages - Course Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000172699/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=xB5nVeNS3njez0HL6kDK1v2QcyQ%3D","csc-347-concepts-of-programming-languages-course-overview",1794016319,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":145,"category_name":40,"create_tm":221},201856,"Polymorphic type inference for dynamic languages - reconstructing types for systems combining parametric, ad hoc, and subtyping polymorphism","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229882522555/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=9%2FkYugtYV9OEYexmX3ioXeuCSdQ%3D","polymorphic-type-inference-for-dynamic-languages-reconstructing-types-for-systems-combining-parametric-ad-hoc-and-subtyping-polymorphism",1788539563,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":227,"category_name":40,"create_tm":228},85885,"Mechanised operational semantics of Rowhammer","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809490130/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=wmlvdVt0dj9TfC68Z3rTMn0Loxk%3D","mechanised-operational-semantics-of-rowhammer",25,1784206943,{"doc_id":230,"doc_title":231,"file_type":137,"home_preview_img_url":232,"slug":233,"view_count":188,"category_name":40,"create_tm":234},135836,"Behaviour-Interaction-Priority in Functional Programming Languages - Formalisation and Implementation of Concurrency Frameworks in Haskell and Scala","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229862226216/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=Px6mCDN17LSVcysTJII9DblwzsI%3D","behaviour-interaction-priority-in-functional-programming-languages-formalisation-and-implementation-of-concurrency-frameworks-in-haskell-and-scala",1787323648,{"doc_id":236,"doc_title":237,"file_type":137,"home_preview_img_url":238,"slug":239,"view_count":240,"category_name":40,"create_tm":241},119134,"Physics-Informed Machine Learning for the Earth Sciences - Applications to Glaciology and Paleomagnetism - Doctoral Dissertation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835105354/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=78dP9HruMbQVQrCkSEQzVWi%2F6Ts%3D","physics-informed-machine-learning-for-the-earth-sciences-applications-to-glaciology-and-paleomagnetism-doctoral-dissertation",22,1785722620,{"doc_id":243,"doc_title":244,"file_type":137,"home_preview_img_url":245,"slug":246,"view_count":39,"category_name":40,"create_tm":247},599867,"The Use of Metaphors as a Parametric Design Teaching Model - A Case Study","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229954877106/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=tpwYWKsCFy%2BOvOxrEr1euGhPQII%3D","the-use-of-metaphors-as-a-parametric-design-teaching-model-a-case-study",1792089590,{"doc_id":249,"doc_title":250,"file_type":137,"home_preview_img_url":251,"slug":252,"view_count":253,"category_name":40,"create_tm":254},120288,"Reliable machine learning models in genomic medicine using conformal prediction - perspective review","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835325147/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=iU%2FY3tSXgyH%2FFLHsJ%2B9A7QXbmsI%3D","reliable-machine-learning-models-in-genomic-medicine-using-conformal-prediction-perspective-review",21,1785729250,{"doc_id":256,"doc_title":257,"file_type":137,"home_preview_img_url":258,"slug":259,"view_count":44,"category_name":40,"create_tm":260},505054,"Properties of Stable Model Semantics Extensions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229932021442/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=Q3tJC4Vw9%2BnMfM05fYi8Q3quZJQ%3D","properties-of-stable-model-semantics-extensions",1791087566,{"doc_id":262,"doc_title":263,"file_type":137,"home_preview_img_url":264,"slug":265,"view_count":266,"category_name":40,"create_tm":267},22799,"Master Machine Learning Algorithms","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229716013579/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=%2FFn8cNlWtIcAupDrPW7MdLuar44%3D","master-machine-learning-algorithms",66,1777628274]