"Literate" mode

New Message Reply Date view Thread view Subject view Author view

From: Shin-Cheng Mu (shin-cheng.mu@LINACRE.OXFORD.AC.UK)
Date: 12 Jun 00, 01:00 EST


From: Shin-Cheng Mu <shin-cheng.mu@LINACRE.OXFORD.AC.UK>
Subject:      "Literate" mode

Hi,

I posed this question to the list a while ago but I am
still searching for an answer.

Some programming languages, in particular Haskell, has
a 'literate' mode in which only the lines starting with
some prompt (e.g. '>') are program codes. All the other
lines are comments. How do I get keyword highlighting
to work this way?

I was pointed to the code written by Vince Darley for
examples. But I still don't see how regModeKeywords
could do what I want.

Any help would be appreciated. Thank you very much. :)

sincerely,
Shin-Cheng Mu


New Message Reply Date view Thread view Subject view Author view

This archive was generated by das@users.sourceforge.net with hypermail 2b29 on 31 Mar 01, 11:51 EST