|
jEdit example source code file (literate-haskell.xml)
The jEdit literate-haskell.xml source code<?xml version="1.0"?> <!DOCTYPE MODE SYSTEM "xmode.dtd"> <!-- Literate Haskell mode by Cameron Morrison (c.morrison@iinet.net.au) Modified version of the Haskell mode by Kristian Ovaska (kristian.ovaska@helsinki.fi) Based on Haskell 98 --> <MODE> <PROPS> <PROPERTY NAME="commentStart" VALUE="{-" /> <PROPERTY NAME="commentEnd" VALUE="-}" /> <PROPERTY NAME="lineComment" VALUE="--" /> <!-- apparently, this is required... --> <PROPERTY NAME="tabSize" VALUE="8" /> <PROPERTY NAME="indentSize" VALUE="8" /> </PROPS> <RULES IGNORE_CASE="FALSE" DEFAULT="COMMENT4"> <EOL_SPAN AT_WHITESPACE_END="TRUE" TYPE="FUNCTION" DELEGATE="haskell::MAIN">> <!-- for LaTeX-style --> <EOL_SPAN AT_LINE_START="TRUE" TYPE="COMMENT3">% <SPAN TYPE="LITERAL3" DELEGATE="haskell::MAIN"> <BEGIN>\begin{code} <END>\end{code} </SPAN> <!-- <EOL_SPAN_REGEXP HASH_CHAR="\" AT_LINE_START="TRUE" DELEGATE="latex::MAIN" TYPE="KEYWORD1" >\\\w+</EOL_SPAN_REGEXP> --> </RULES> </MODE> Other jEdit examples (source code examples)Here is a short list of links related to this jEdit literate-haskell.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.