SMU has started a research programme to turn legal concepts into code. Lawyers can then use this code to generate contracts and legal documents easily.