Representing legislative Rules as Code: Reducing the problems of ‘scaling up’

Paper by Andrew Mowbray, Philip Chung and Graham Greenleaf, about DataLex and the use of YLegis as a legislative drafting language.

Provides an example of an entire small statute written in the YLegis language, which can be translated automatically to YScript, which is the scripting language that powers the DataLex tool. This suggests that it might be possible to draft legislation in natural languages and in code simultaneously, rather than side-by-side, by using controlled natural languages like YLegis.