Re: C-- source highlighting using source-highlight

2011-04-15 Thread Bas van Dijk
On 14 April 2011 17:04, Johan Tibell wrote: > I've thrown together a small source-highlight language file for C--. > You can use it to e.g. highlight C-- code when piped through less. Nice! It would also be nice to have highlighted C-- output in ghc-core[1] too! Bas [1] http://hackage.haskell.

C-- source highlighting using source-highlight

2011-04-14 Thread Johan Tibell
Hi, I've thrown together a small source-highlight language file for C--. You can use it to e.g. highlight C-- code when piped through less. ### Installion ### # This works on Debian/Ubuntu $ sudo apt-get install source-highlight # Put this file anywhere $ cat $HOME/cmm.lang comment start "//"