nemerle.syntax 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. # mcedit syntax file
  2. #
  3. # Copyright (c) 2004 The University of Wroclaw.
  4. # All rights reserved.
  5. #
  6. # Redistribution and use in source and binary forms, with or without
  7. # modification, are permitted provided that the following conditions
  8. # are met:
  9. # 1. Redistributions of source code must retain the above copyright
  10. # notice, this list of conditions and the following disclaimer.
  11. # 2. Redistributions in binary form must reproduce the above copyright
  12. # notice, this list of conditions and the following disclaimer in the
  13. # documentation and/or other materials provided with the distribution.
  14. # 3. The name of the University may not be used to endorse or promote
  15. # products derived from this software without specific prior
  16. # written permission.
  17. #
  18. # THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY ``AS IS'' AND ANY EXPRESS OR
  19. # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  20. # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
  21. # NO EVENT SHALL THE UNIVERSITY BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  22. # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
  23. # TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  24. # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  25. # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  26. # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  27. # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  28. #
  29. # Adapted from java.syntax by Jacek Sliwerski.
  30. context default
  31. keyword whole abstract yellow
  32. keyword whole and yellow
  33. keyword whole array yellow
  34. keyword whole as yellow
  35. keyword whole base yellow
  36. keyword whole bool yellow
  37. keyword whole catch yellow
  38. keyword whole const yellow
  39. keyword whole continue yellow
  40. keyword whole def yellow
  41. keyword whole else yellow
  42. keyword whole enum yellow
  43. keyword whole extends yellow
  44. keyword whole extern yellow
  45. keyword whole false yellow
  46. keyword whole finally yellow
  47. keyword whole float yellow
  48. keyword whole for yellow
  49. keyword whole foreach yellow
  50. keyword whole fun yellow
  51. keyword whole if yellow
  52. keyword whole implements yellow
  53. keyword whole in yellow
  54. keyword whole int yellow
  55. keyword whole interface yellow
  56. keyword whole internal yellow
  57. keyword whole list yellow
  58. keyword whole macro yellow
  59. keyword whole match yellow
  60. keyword whole module yellow
  61. keyword whole mutable yellow
  62. keyword whole namespace yellow
  63. keyword whole new yellow
  64. keyword whole null yellow
  65. keyword whole object yellow
  66. keyword whole option yellow
  67. keyword whole out yellow
  68. keyword whole override yellow
  69. keyword whole params yellow
  70. keyword whole private yellow
  71. keyword whole protected yellow
  72. keyword whole public yellow
  73. keyword whole ref yellow
  74. keyword whole sealed yellow
  75. keyword whole static yellow
  76. keyword whole string yellow
  77. keyword whole syntax yellow
  78. keyword whole this yellow
  79. keyword whole throw yellow
  80. keyword whole true yellow
  81. keyword whole try yellow
  82. keyword whole tymatch yellow
  83. keyword whole type yellow
  84. keyword whole typeof yellow
  85. keyword whole unless yellow
  86. keyword whole using yellow
  87. keyword whole variant yellow
  88. keyword whole virtual yellow
  89. keyword whole void yellow
  90. keyword whole when yellow
  91. keyword whole where yellow
  92. keyword whole while yellow
  93. keyword whole with yellow
  94. keyword /\* brown
  95. keyword \*/ brown
  96. keyword // brown
  97. keyword '\\\{"abtnvfr\}' brightgreen
  98. keyword '\\\{0123\}\{01234567\}\{01234567\}' brightgreen
  99. keyword '\\'' brightgreen
  100. keyword '\\\\' brightgreen
  101. keyword '\\0' brightgreen
  102. keyword '\{\s!"#$%&()\*\+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~嵗╯丰戍貝物洎悖停眾斯須號獄播噶擱藏霰匸�帊昅恘倳眑婭笫崷窙嗲睧颬睼麧緗鴇膹擨闀貘覷鏷禴矙𡜍𦶠�\}' brightgreen
  103. keyword %&& brightcyan
  104. keyword || brightcyan
  105. keyword && brightcyan
  106. keyword %| brightcyan
  107. keyword %& brightcyan
  108. keyword %^ brightcyan
  109. keyword :> brightcyan
  110. keyword <[ brightcyan
  111. keyword ]> brightcyan
  112. keyword > yellow
  113. keyword < yellow
  114. keyword \+ yellow
  115. keyword - yellow
  116. keyword \* yellow
  117. keyword / yellow
  118. keyword % yellow
  119. keyword = yellow
  120. keyword != yellow
  121. keyword == yellow
  122. keyword { brightcyan
  123. keyword } brightcyan
  124. keyword ( brightcyan
  125. keyword ) brightcyan
  126. keyword [ brightcyan
  127. keyword ] brightcyan
  128. keyword , brightcyan
  129. keyword : brightcyan
  130. keyword ? brightcyan
  131. keyword | brightcyan
  132. keyword ~ brightcyan
  133. keyword ! brightcyan
  134. keyword ; brightmagenta
  135. context exclusive /\* \*/ brown
  136. spellcheck
  137. context exclusive // \n brown
  138. spellcheck
  139. context linestart # \n brightred
  140. keyword \\\n yellow
  141. keyword /\**\*/ brown
  142. keyword //*\n brown
  143. keyword "+" red
  144. keyword <+> red
  145. context " " green
  146. spellcheck
  147. keyword $\[().abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_\*\] brightgreen
  148. keyword \\" brightgreen
  149. keyword %% brightgreen
  150. keyword %\[#0\s-\+,\]\[0123456789\*\]\[.\]\[0123456789\*\]\[L\]\{eEfgGoxX\} brightgreen
  151. keyword %\[0\s-\+,\]\[0123456789\*\]\[.\]\[0123456789\*\]\[hl\]\{diuxX\} brightgreen
  152. keyword %\[hl\]n brightgreen
  153. keyword %\[-\]\[0123456789\*\]\[.\]\[0123456789\*\]s brightgreen
  154. keyword %[*] brightgreen
  155. keyword %c brightgreen
  156. keyword %p brightgreen
  157. keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen
  158. keyword \\\\ brightgreen
  159. keyword \\' brightgreen
  160. keyword \\\{abtnvfr\} brightgreen