Hammurabi

The Hammurabi Project is an experiment in converting legal source material to the C# programming language. It’s an open source library with two components: First, it contains functions that make it easier to model legal rules. These functions support temporal logic, reasoning with partial knowledge, and some ontological relations among legal entities. This core library lays the groundwork for the second part of the project, which is to see if a machine executable “parallel corpus” can be created. The idea is to grow a body of source code that mirrors the structure of U.S. federal and state legislation, regulation, and case law.

Project leader: Michael Poulshock


The descriptions of current and past projects of CodeX non-residential fellows are provided to illustrate the kind of work our non-residential fellows are carrying out. These projects are listed here for informational purposes only and are not endorsed by CodeX, Stanford Law School, or Stanford University.