Compile Slm to HTML.