Next: , Up: Top   [Contents][Index]


1 Introduction

This document describes the compilation environment of Mercury. It describes

Mercury programs can be compiled to executables via any one of three target languages: C, Java and C#. The most frequently used target language is C, for two main reasons. The first is that several important parts of the Mercury system, such as ‘mdb’, ‘mprof’ and ‘mdprof’, are implemented only when targeting C. The second is that targeting C yields the fastest executables.