| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190 |
- {
- "illegal": "\\S",
- "contains": [
- {
- "className": "meta",
- "begin": "^#!",
- "end": "$"
- },
- {
- "className": "number",
- "variants": [
- {
- "begin": "(\\-|\\+)?\\d+([.\/]\\d+)?",
- "relevance": 0
- },
- {
- "begin": "(\\-|\\+)?\\d+([.\/]\\d+)?[+\\-](\\-|\\+)?\\d+([.\/]\\d+)?i",
- "relevance": 0
- },
- {
- "begin": "#b[0-1]+(\/[0-1]+)?"
- },
- {
- "begin": "#o[0-7]+(\/[0-7]+)?"
- },
- {
- "begin": "#x[0-9a-f]+(\/[0-9a-f]+)?"
- }
- ]
- },
- {
- "className": "string",
- "begin": "\"",
- "end": "\"",
- "illegal": "\\n",
- "contains": [
- {
- "begin": "\\\\[\\s\\S]",
- "relevance": 0
- }
- ]
- },
- {
- "className": "symbol",
- "begin": "'[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+"
- },
- {
- "variants": [
- {
- "begin": "'"
- },
- {
- "begin": "`"
- }
- ],
- "contains": [
- {
- "begin": "\\(",
- "end": "\\)",
- "contains": [
- "self",
- {
- "className": "literal",
- "begin": "(#t|#f|#\\\\[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+|#\\\\.)"
- },
- {
- "$ref": "#contains.2"
- },
- {
- "$ref": "#contains.1"
- },
- {
- "begin": "[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",
- "relevance": 0
- },
- {
- "$ref": "#contains.3"
- }
- ]
- }
- ]
- },
- {
- "variants": [
- {
- "begin": "\\(",
- "end": "\\)"
- },
- {
- "begin": "\\[",
- "end": "\\]"
- }
- ],
- "contains": [
- {
- "begin": "lambda",
- "endsWithParent": true,
- "returnBegin": true,
- "contains": [
- {
- "className": "name",
- "begin": "[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",
- "lexemes": "[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",
- "keywords": {
- "builtin-name": "case-lambda call\/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let\/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit\/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... \/ ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"
- }
- },
- {
- "begin": "\\(",
- "end": "\\)",
- "endsParent": true,
- "contains": [
- {
- "$ref": "#contains.4.contains.0.contains.4"
- }
- ]
- }
- ]
- },
- {
- "$ref": "#contains.5.contains.0.contains.0"
- },
- {
- "endsWithParent": true,
- "relevance": 0,
- "contains": [
- {
- "$ref": "#contains.4.contains.0.contains.1"
- },
- {
- "$ref": "#contains.1"
- },
- {
- "$ref": "#contains.2"
- },
- {
- "$ref": "#contains.4.contains.0.contains.4"
- },
- {
- "$ref": "#contains.3"
- },
- {
- "$ref": "#contains.4"
- },
- {
- "$ref": "#contains.5"
- },
- {
- "className": "comment",
- "begin": ";",
- "end": "$",
- "contains": [
- {
- "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"
- },
- {
- "className": "doctag",
- "begin": "(?:TODO|FIXME|NOTE|BUG|XXX):",
- "relevance": 0
- }
- ],
- "relevance": 0
- },
- {
- "className": "comment",
- "begin": "#\\|",
- "end": "\\|#",
- "contains": [
- {
- "$ref": "#contains.5.contains.2.contains.7.contains.0"
- },
- {
- "className": "doctag",
- "begin": "(?:TODO|FIXME|NOTE|BUG|XXX):",
- "relevance": 0
- }
- ]
- }
- ]
- }
- ]
- },
- {
- "$ref": "#contains.5.contains.2.contains.7"
- },
- {
- "$ref": "#contains.5.contains.2.contains.8"
- }
- ]
- }
|