summaryrefslogtreecommitdiff
path: root/support/highlight/langDefs/lisp.lang
diff options
context:
space:
mode:
Diffstat (limited to 'support/highlight/langDefs/lisp.lang')
-rw-r--r--support/highlight/langDefs/lisp.lang33
1 files changed, 33 insertions, 0 deletions
diff --git a/support/highlight/langDefs/lisp.lang b/support/highlight/langDefs/lisp.lang
new file mode 100644
index 0000000000..ac2ebc6df5
--- /dev/null
+++ b/support/highlight/langDefs/lisp.lang
@@ -0,0 +1,33 @@
+# Lisp language definition file
+#
+# Author: Andre Simon
+# Mail: andre.simon1@gmx.de
+# Date: 08.02.04
+# ------------------------------------------
+# This file is a part of highlight, a free source code converter released under the GPL.
+#
+# The file is used to describe keywords and special symbols of programming languages.
+# See README in the highlight directory for details.
+#
+# New definition files for future releases of highlight are always appreciated ;)
+#
+# ----------
+# andre.simon1@gmx.de
+# http:/www.andre-simon.de/
+
+$DESCRIPTION=Lisp
+
+
+$KEYWORDS(kwa)=regex(\(([\w\-\_]+))
+
+$STRINGDELIMITERS="
+
+$ML_COMMENT=;| |;
+
+$SL_COMMENT=;
+
+$IDENTIFIER=regex([a-zA-Z_][\w\-]*)
+
+$ESCCHAR=regex(\\\d{3}|\\x\p{XDigit}{2}|\\[ntvbrfa\\\?'"])
+
+$SYMBOLS= ( ) [ ] { } , : & < > ! + = / * ' @ # `