Revision: 243
http://pure-lang.svn.sourceforge.net/pure-lang/?rev=243&view=rev
Author: agraef
Date: 2008-06-16 00:59:35 -0700 (Mon, 16 Jun 2008)
Log Message:
-----------
Add syntax highlighting file for Andre Simon's highlight program.
Added Paths:
-----------
pure/trunk/etc/pure.lang
Added: pure/trunk/etc/pure.lang
===================================================================
--- pure/trunk/etc/pure.lang (rev 0)
+++ pure/trunk/etc/pure.lang 2008-06-16 07:59:35 UTC (rev 243)
@@ -0,0 +1,33 @@
+# Pure language definition file for highlight (http:/www.andre-simon.de/).
+# Copy this to your /usr/share/highlight/langDefs directory.
+
+$DESCRIPTION=Pure
+
+# Pure keywords.
+$KW_LIST(kwa)=infix infixl infixr prefix postfix nullary case else end extern
+if let of otherwise then using when with
+
+# Type identifiers used as tags and in extern declarations.
+$KW_LIST(kwc)=bigint bool char short int long double expr string pointer void
+
+# Other special symbols (lambda, parens, list brackets, type tags).
+$SYMBOLS= \ ( ) [ ] ::
+
+# Double-quoted strings and escapes.
+$STRINGDELIMITERS="
+$ESCCHAR=\
+$ALLOWEXTESCAPE=false
+
+# Comments (same as in C++, comments may not be nested).
+$SL_COMMENT=//
+$ML_COMMENT=/* */
+$ALLOWNESTEDCOMMENTS=false
+
+# Shebang (actually treated as a comment in Pure).
+$DIRECTIVE=#!
+
+# Pure is case-sensitive.
+$IGNORECASE=false
+
+# We don't have an indentation style (yet).
+$REFORMATTING=false
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|