clean.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "aliases": [
  3. "clean",
  4. "icl",
  5. "dcl"
  6. ],
  7. "keywords": {
  8. "keyword": "if let in with where case of class instance otherwise implementation definition system module from import qualified as special code inline foreign export ccall stdcall generic derive infix infixl infixr",
  9. "built_in": "Int Real Char Bool",
  10. "literal": "True False"
  11. },
  12. "contains": [
  13. {
  14. "className": "comment",
  15. "begin": "\/\/",
  16. "end": "$",
  17. "contains": [
  18. {
  19. "begin": "\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"
  20. },
  21. {
  22. "className": "doctag",
  23. "begin": "(?:TODO|FIXME|NOTE|BUG|XXX):",
  24. "relevance": 0
  25. }
  26. ]
  27. },
  28. {
  29. "className": "comment",
  30. "begin": "\/\\*",
  31. "end": "\\*\/",
  32. "contains": [
  33. {
  34. "$ref": "#contains.0.contains.0"
  35. },
  36. {
  37. "className": "doctag",
  38. "begin": "(?:TODO|FIXME|NOTE|BUG|XXX):",
  39. "relevance": 0
  40. }
  41. ]
  42. },
  43. {
  44. "className": "string",
  45. "begin": "'",
  46. "end": "'",
  47. "illegal": "\\n",
  48. "contains": [
  49. {
  50. "begin": "\\\\[\\s\\S]",
  51. "relevance": 0
  52. }
  53. ]
  54. },
  55. {
  56. "className": "string",
  57. "begin": "\"",
  58. "end": "\"",
  59. "illegal": "\\n",
  60. "contains": [
  61. {
  62. "$ref": "#contains.2.contains.0"
  63. }
  64. ]
  65. },
  66. {
  67. "className": "number",
  68. "begin": "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",
  69. "relevance": 0
  70. },
  71. {
  72. "begin": "->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"
  73. }
  74. ]
  75. }