crayon-syntax-highlighter/langs/lisp/lisp.txt
2019-08-30 19:30:19 +02:00

20 lines
594 B
Plaintext

### LISP LANGUAGE ###
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
NAME Lisp
VERSION 1.0
COMMENT (;.*?$)|(;\|.*?\|;)
STRING (?<!\\)".*?(?<!\\)"
STATEMENT \b(?alt:statement.txt)\b
RESERVED \b(?alt:reserved.txt)\b
TYPE \b(?alt:type.txt)\b
KEYWORD (?<=\()\s*[a-z-]*[a-z]\b
IDENTIFIER [a-z-]*[a-z]
CONSTANT (?default)
OPERATOR (?default)|\(|\)
SYMBOL (?default)