[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-424691-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-424691-en":130,"doc-similar-424691":163},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","programming-languages-and-law-a-research-agenda","Programming Languages and Law - A Research Agenda","","Programming Languages and Law: A Research Agenda proposes that code and law share a programming-language theory foundation for analyzing legal problems. It surveys prior research on programming languages and legal studies and identifies ten promising directions for future work. The agenda explains how programming-language concepts uniquely bridge computer science and law, and uses concrete examples to show their explanatory and practical power for understanding legal structures and interpretation.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/programming-languages-and-law-a-research-agenda/424691/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/programming-languages-and-law-a-research-agenda/424691.png","ImageObject",300,407,{"name":42,"@type":43},"kopisore","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-16","2026-09-28",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",10,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What relationship does the article draw between code and law?","Question",{"text":63,"@type":64},"The article argues that if code is law, then understanding programming-language concepts is a way of understanding law, and vice versa.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does programming-language theory help legal scholars in the article’s framing?",{"text":68,"@type":64},"It claims PL theory can help legal scholars write better code and provides a principled framework for analyzing legal structures in terms of linguistic expressions.",{"name":70,"@type":61,"acceptedAnswer":71},"What are the main goals of the proposed research agenda?",{"text":72,"@type":64},"The agenda aims to clarify how the programming languages-and-law combination is distinctive within computer science and law and to demonstrate, with concrete examples, the strong explanatory power of PL concepts in this domain.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},424691,1791432911,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,115,120,123,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":112,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":113,"slug":114},8,30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":55,"slug":125},"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":112,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":145,"preview_page_count":33,"preview_urls":146},962090880963,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","Programming Languages and Law  \nA Research Agenda  \nJames Grimmelmann  \n[james.grimmelmann@cornell.edu](james.grimmelmann@cornell.edu)[ ](james.grimmelmann@cornell.edu)Cornell University Law School and Cornell Tech New York City, NY, USA  \nABSTRACT  \nIf code is law, then the language of law is a programming language. Lawyers and legal scholars can learn about law by studying programming-language theory, and programming-language tools can be usefully applied to legal problems. This article surveys the history of research into programming languages and law and presents ten promising avenues for future efforts. Its goals are to explain how the combination of programming languages and law is distinctive within the broader field of computer science and law, and to demonstrate with concrete examples the remarkable power of programming-language concepts in this new domain.  \nCCS CONCEPTS  \n• Software and its engineering → General programming languages; Domain specific languages; • Social and professional topics → Computing / technology policy.  \nKEYWORDS  \nprogramming languages, law  \nACM Reference Format:  \nJames Grimmelmann. 2022. Programming Languages and Law: A Research Agenda. In Proceedings of the 2022 Symposium on Computer Science and Law (CSLAW’22), November 1–2, 2022, Washington, DC, USA. ACM, New York, NY, USA, 11 pages. [https://doi.org/10.1145/3511265.3550447](https://doi.org/10.1145/3511265.3550447)  \n1 INTRODUCTION  \nComputer science contains multitudes. It ranges from pure mathematics to quantum physics, from the heights of theory to the depths of systems engineering.  \nSome of its subfields speak to urgent problems law faces. Criminal procedure [60] and national security law [27] cannot regulate the world as it exists without taking account of whether, when, and how data can be kept private. Other subfields provide new perspectives on law. The “law as data” movement [9, 75] uses computational methods like topic modeling and decision-tree learning to analyze legal datasets in subjects as diverse as trademark infringement,[17] judicial rhetoric, [74] and the network structure of the United States Code. [59]  \nThis work is licensed under a Creative Commons Attribution International 4 .0 License.  \nCSLAW’22, November 1–2, 2022, Washington, DC, USA © 2022 Copyright held by the owner/author(s) .  \nACM ISBN 978-1-4503-9234-1/22/11 . [https://doi.org/10.1145/3511265.3550447](https://doi.org/10.1145/3511265.3550447)  \nI would like to argue that the computer-science field of programming-language (PL) theory speaks to law in both of these senses. Not only is it indispensable for answering certain kinds of practical legal questions, but its application can “illuminate the entire law.”  \n[36] Just as microeconomics provides a new and illuminating way to think about rights and remedies, and just as corpus linguistics provides a new and illuminating way to think about legal interpretation, PL theory provides new and illuminating ways to think about familiar issues from all across the law.  \nConsider, for example, the M++ project to formalize French tax law (described in more detail in Section 2.2) . M++ is distinguished from the kind of routine systems engineering that tax authorities around the world perform on their computer systems by its rigorous use of PL theory to design a new programming language for describing the provisions of the French tax code. On the one hand, M++ is useful because it is a clean, modern language that is amenable to correctness proofs, improving the reliability of tax computations. On the other hand, M++ programs mirror the structure of the tax laws they formalize. Instead of treating the rules of tax law as an ad hoc design document, M++ treats the tax code as though they were itself a program, one meant to be “executed” by lawyers and accountants. The goal is not just to do the same thing as the tax code, but to do it in the same way, section by section, clause by clause.  \nTo generalize, PL theory has","cbCaimhk27LzjXP1","https://ap.wps.com/l/cbCaimhk27LzjXP1","pdf",741695,11,"English","# Introduction\n## Programming language theory as a bridge to law\n## Examples and motivation\n## Prior research and calls for future work","[{\"question\":\"What relationship does the article draw between code and law?\",\"answer\":\"The article argues that if code is law, then understanding programming-language concepts is a way of understanding law, and vice versa.\"},{\"question\":\"How does programming-language theory help legal scholars in the article’s framing?\",\"answer\":\"It claims PL theory can help legal scholars write better code and provides a principled framework for analyzing legal structures in terms of linguistic expressions.\"},{\"question\":\"What are the main goals of the proposed research agenda?\",\"answer\":\"The agenda aims to clarify how the programming languages-and-law combination is distinctive within computer science and law and to demonstrate, with concrete examples, the strong explanatory power of PL concepts in this domain.\"}]","Programming Languages and Law - A Research Agenda | PDF",1790635075,28,[147,151,155,159],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/7cb744a2e5b7f5781629516db96cb3e7.webp",983,1272,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/b873a68c969c038d775169c3d6c650e1.webp",982,1270,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/4242092072924933075159c111a78c07.webp",981,1269,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/3296a30c94e2b69780af8eb2c69583ef.webp",980,1268,{"list":164,"token":11},[165,171,177,183,189,196,202,208,214,219],{"doc_id":166,"doc_title":167,"file_type":137,"home_preview_img_url":168,"slug":169,"view_count":26,"category_name":29,"create_tm":170},685642,"The next 7000 programming languages - Essay on programming-language evolution","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999084390/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796243219&Signature=XuLXYIGSY9wJemkOgaDlfgYv%2BcY%3D","the-next-7000-programming-languages-essay-on-programming-language-evolution",1794016124,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":173,"view_count":175,"category_name":29,"create_tm":176},160482,"taylor","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229872089003/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796243219&Signature=mPETmXekBvmvZ87aePLdFRg%2BFgk%3D",22,1788064025,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":112,"category_name":29,"create_tm":182},488436,"Eleanor Jane Smith - Law CV","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926857800/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796243219&Signature=xcGV7gGJtmWSPW6yLFlIMBnY4OY%3D","eleanor-jane-smith-law-cv",1790814083,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":30,"category_name":29,"create_tm":188},732872,"Concepts of Programming Language Design","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031780247/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796243219&Signature=z8%2FvjvF70XycZe9PwR06z8ov1nA%3D","concepts-of-programming-language-design",1795382642,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":194,"category_name":29,"create_tm":195},82424,"Quantum Orchestras: a Concrete Semantics for Recursive Hybrid Programs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808891846/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796243219&Signature=Q07uyGUiAdexLk2XWHlsMF0Ea0w%3D","quantum-orchestras-a-concrete-semantics-for-recursive-hybrid-programs",27,1784180298,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":102,"category_name":29,"create_tm":201},591757,"Needs of Students and Lecturers on Linear Programming as an Instructional Strategy in Solving National Economic Problems - read online free","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229955005041/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796243219&Signature=vcacJ2PhV6K7aTHbYKXeNrfiVj8%3D","needs-of-students-and-lecturers-on-linear-programming-as-an-instructional-strategy-in-solving-national-economic-problems-read-online-free",1792073144,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":26,"category_name":29,"create_tm":207},702823,"An introduction to Quarto: A Versatile Open-source Tool for Data Reporting and Visualization - Paper DV-456","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012890521/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796243219&Signature=8vgGcgyD%2FfVQm2mtmigeAuFwitI%3D","an-introduction-to-quarto-a-versatile-open-source-tool-for-data-reporting-and-visualization-paper-dv-456",1794549738,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":97,"category_name":29,"create_tm":213},590005,"The Role and Significance of Law No. 24 / 2009 and its Implications for the Javanese Language - A Case Study in Yogyakarta, Indonesia","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229954914859/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796243219&Signature=92oBdk0B7ZYOUgspImk%2B3T4hsFE%3D","the-role-and-significance-of-law-no-24-2009-and-its-implications-for-the-javanese-language-a-case-study-in-yogyakarta-indonesia",1792068588,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":216,"view_count":97,"category_name":29,"create_tm":218},685655,"2_iis_2025_281-291","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000172849/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796243219&Signature=Ilxu8p%2FFMr2nBAOM1v1KRrJaU5s%3D",1794016334,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":224,"category_name":29,"create_tm":225},493065,"Tri-Lingual Legal Glossary - English-Marathi-Hindi","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229928413721/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796243219&Signature=IgjaLJ4zTkC36%2BSf524luAMVC%2Bk%3D","tri-lingual-legal-glossary-english-marathi-hindi",18,1790874566]