HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/highlight/langDefs/chpl.lang
-- Chapel language definition file for highlight http://www.andre-simon.de/
-- This file is written in Lua
--
-- Author: Lydia Duncan
-- Date  : April 28, 2016
--
-- The file is used to describe keywords and special symbols of programming languages.
-- See README in the highlight directory for details.

Description="Chapel"

Keywords={
  { Id=1,
   List={"as", "align", "atomic", "begin", "break", "by", "class", "cobegin",
         "coforall", "config", "const", "continue", "proc", "iter", "delete",
         "dmapped", "do", "domain", "else", "enum", "except", "export",
         "extern", "false", "for", "forall", "if", "in", "index", "inline",
         "inout", "label", "lambda", "let", "local", "module", "new", "nil",
         "noinit", "on", "only", "otherwise", "out", "param", "private",
         "public", "record", "reduce", "ref", "require", "return", "scan",
         "select", "serial", "single", "sparse", "subdomain", "sync", "then",
         "true", "type", "union", "use", "var", "when", "where", "while",
         "with", "yield", "zip"
        }
  },
  { Id=2,
    List= { "bool", "complex", "imag", "int", "opaque", "range", "real",
            "string", "uint"
          }
  },
  { Id=3,
    Regex=[[(\w+)\s*\(]]
  }
}

Strings = {
  Delimiter=[["|']]
}

Comments = {
   { Block=true,
     Nested=true,
     Delimiter = { [[\/\*]], [[\*\/]] }
   },
   {
     Block=false,
     Delimiter = { [[//]] }
   }
}

IgnoreCase=false

Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\/|\*|\%|\+|\-|=|\&|\?|<|>|\!|\~|\||\^|!|#]]

EnableIndentation=true