Reproduce “Programming Languages and Law: A Research Agenda” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

James Grimmelmann

The paper argues that programming-language theory can model legal structures, not merely help compute legal results. It examines legal domain-specific languages through logic programming, a 3,500-page French tax code with a legacy 1990 system, and property conveyances, showing how formal semantics expose assumptions and support auditing. It proposes language-aware tools, while limiting formalization to suitable rule-like areas.

Key insights

  • Legal texts exhibit fundamental structural and linguistic similarities to programming languages, making programming language (PL) theory uniquely suited for their analysis.
  • PL theory offers a principled, systematic framework to analyze legal structures in terms of their linguistic expressions, distinguishing it from other computer science applications in law like AI or data analysis.
  • Applying PL concepts can enhance the reliability, maintainability, and interpretability of legal systems and documents, while also deepening theoretical understanding of law itself.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.