OnWorks favicon

HsColour - Online in the Cloud

Run HsColour in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command HsColour that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



HsColour - generate colourised output for Haskell code


HsColour options [file.hs]


HsColour is a program that colourises Haskell code. It currently has six output formats:
ANSI terminal codes, HTML 3.2 with <font> tags, HTML 4.01 with CSS, XHTML 1.0 with inline
CSS styling, LaTeX, and mIRC chat client codes.

Flag reference:
Print out version information.

-help A rudimentary help message.

Write the output to the specified file.

-tty Write output with ANSI terminal code colours (this is the default).

-html Write output in HTML 3.2 format with font tags.

-css Write output in HTML 4.01 format with CSS styling.

-icss Write output in XHTML 1.0 format with inline CSS styling.

-latex Write output as LaTeX source code.

-mirc Output for IRC.

-lit When outputting HTML etc, inform HsColour that the input Haskell code is Literate

When outputting LaTeX, inform HsColour that the input Haskell code is Literate

In HTML mode add named anchors.

Create output fragments (ie omit the HTML DOCTYPE header, CSS stylesheet link, or
LaTeX prologue) for embedding in a larger document.

Print out the default CSS definitions, in case you lose the .css file.

-nolit Turn off -lit mode.

Turn off -anchor mode.

Turn off -partial mode.

The HsColour homepage is at http://www.cs.york.ac.uk/fp/darcs/hscolour/ .


Copyright © 2003-2009 Malcolm Wallace and Bjorn Bringert

This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute
copies of this program under the terms of the GNU General Public License. For more
information about these matters, see the file named COPYING.

Use HsColour online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Image Downloader
    Image Downloader
    Crawl and download images using
    Selenium Using python3 and PyQt5.
    Supported Search Engine: Google, Bing,
    Baidu. Keywords input from the keyboard
    or input from ...
    Download Image Downloader
  • 2
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    Download Eclipse Tomcat Plugin
  • 3
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 4
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 5
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 6
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • More »

Linux commands