public class LangHs extends Lang
Registers a language handler for Haskell. To use, include prettify.js and this file in your HTML page. Then put your code in an HTML tag like
(my lisp code)The lang-cl class identifies the language as common lisp. This file supports the following language extensions: lang-cl - Common Lisp lang-el - Emacs Lisp lang-lisp - Lisp lang-scm - Scheme I used http://www.informatik.uni-freiburg.de/~thiemann/haskell/haskell98-report-html/syntax-iso.html as the basis, but ignore the way the ncomment production nests since this makes the lexical grammar irregular. It might be possible to support ncomments using the lookbehind filter.
extendedLangs, fallthroughStylePatterns, shortcutStylePatterns| Constructor and Description |
|---|
LangHs() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
getFileExtensions() |
getExtendedLangs, getFallthroughStylePatterns, getShortcutStylePatterns, setExtendedLangs, setFallthroughStylePatterns, setShortcutStylePatternsCopyright © 2015. All rights reserved.