diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
commit | 718c552901d703c502ccbefdfc3c9028d608b947 (patch) | |
tree | 46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/python/Pygments/py2/pygments/lexers/lisp.py | |
parent | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff) | |
download | ydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/python/Pygments/py2/pygments/lexers/lisp.py')
-rw-r--r-- | contrib/python/Pygments/py2/pygments/lexers/lisp.py | 2214 |
1 files changed, 1107 insertions, 1107 deletions
diff --git a/contrib/python/Pygments/py2/pygments/lexers/lisp.py b/contrib/python/Pygments/py2/pygments/lexers/lisp.py index 601d5a5f27..8e5a0fcadb 100644 --- a/contrib/python/Pygments/py2/pygments/lexers/lisp.py +++ b/contrib/python/Pygments/py2/pygments/lexers/lisp.py @@ -5,7 +5,7 @@ Lexers for Lispy languages. - :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -18,8 +18,8 @@ from pygments.token import Text, Comment, Operator, Keyword, Name, String, \ from pygments.lexers.python import PythonLexer __all__ = ['SchemeLexer', 'CommonLispLexer', 'HyLexer', 'RacketLexer', - 'NewLispLexer', 'EmacsLispLexer', 'ShenLexer', 'CPSALexer', - 'XtlangLexer', 'FennelLexer'] + 'NewLispLexer', 'EmacsLispLexer', 'ShenLexer', 'CPSALexer', + 'XtlangLexer', 'FennelLexer'] class SchemeLexer(RegexLexer): @@ -139,7 +139,7 @@ class SchemeLexer(RegexLexer): (r"(?<=#\()" + valid_name, Name.Variable), # highlight the builtins - (r"(?<=\()(%s)" % '|'.join(re.escape(entry) + ' ' for entry in builtins), + (r"(?<=\()(%s)" % '|'.join(re.escape(entry) + ' ' for entry in builtins), Name.Builtin), # the remaining functions @@ -321,7 +321,7 @@ class CommonLispLexer(RegexLexer): (r'#\d+#', Operator), # read-time comment - (r'#+nil' + terminated + r'\s*\(', Comment.Preproc, 'commented-form'), + (r'#+nil' + terminated + r'\s*\(', Comment.Preproc, 'commented-form'), # read-time conditional (r'#[+-]', Operator), @@ -333,7 +333,7 @@ class CommonLispLexer(RegexLexer): (r'(t|nil)' + terminated, Name.Constant), # functions and variables - (r'\*' + symbol + r'\*', Name.Variable.Global), + (r'\*' + symbol + r'\*', Name.Variable.Global), (symbol, Name.Variable), # parentheses @@ -382,7 +382,7 @@ class HyLexer(RegexLexer): # valid names for identifiers # well, names can only not consist fully of numbers # but this should be good enough for now - valid_name = r'(?!#)[\w!$%*+<=>?/.#-:]+' + valid_name = r'(?!#)[\w!$%*+<=>?/.#-:]+' def _multi_escape(entries): return words(entries, suffix=' ') @@ -471,785 +471,785 @@ class RacketLexer(RegexLexer): # Generated by example.rkt _keywords = ( - u'#%app', u'#%datum', u'#%declare', u'#%expression', u'#%module-begin', - u'#%plain-app', u'#%plain-lambda', u'#%plain-module-begin', - u'#%printing-module-begin', u'#%provide', u'#%require', - u'#%stratified-body', u'#%top', u'#%top-interaction', - u'#%variable-reference', u'->', u'->*', u'->*m', u'->d', u'->dm', u'->i', - u'->m', u'...', u':do-in', u'==', u'=>', u'_', u'absent', u'abstract', - u'all-defined-out', u'all-from-out', u'and', u'any', u'augment', u'augment*', - u'augment-final', u'augment-final*', u'augride', u'augride*', u'begin', - u'begin-for-syntax', u'begin0', u'case', u'case->', u'case->m', - u'case-lambda', u'class', u'class*', u'class-field-accessor', - u'class-field-mutator', u'class/c', u'class/derived', u'combine-in', - u'combine-out', u'command-line', u'compound-unit', u'compound-unit/infer', - u'cond', u'cons/dc', u'contract', u'contract-out', u'contract-struct', - u'contracted', u'define', u'define-compound-unit', - u'define-compound-unit/infer', u'define-contract-struct', - u'define-custom-hash-types', u'define-custom-set-types', - u'define-for-syntax', u'define-local-member-name', u'define-logger', - u'define-match-expander', u'define-member-name', - u'define-module-boundary-contract', u'define-namespace-anchor', - u'define-opt/c', u'define-sequence-syntax', u'define-serializable-class', - u'define-serializable-class*', u'define-signature', - u'define-signature-form', u'define-struct', u'define-struct/contract', - u'define-struct/derived', u'define-syntax', u'define-syntax-rule', - u'define-syntaxes', u'define-unit', u'define-unit-binding', - u'define-unit-from-context', u'define-unit/contract', - u'define-unit/new-import-export', u'define-unit/s', u'define-values', - u'define-values-for-export', u'define-values-for-syntax', - u'define-values/invoke-unit', u'define-values/invoke-unit/infer', - u'define/augment', u'define/augment-final', u'define/augride', - u'define/contract', u'define/final-prop', u'define/match', - u'define/overment', u'define/override', u'define/override-final', - u'define/private', u'define/public', u'define/public-final', - u'define/pubment', u'define/subexpression-pos-prop', - u'define/subexpression-pos-prop/name', u'delay', u'delay/idle', - u'delay/name', u'delay/strict', u'delay/sync', u'delay/thread', u'do', - u'else', u'except', u'except-in', u'except-out', u'export', u'extends', - u'failure-cont', u'false', u'false/c', u'field', u'field-bound?', u'file', - u'flat-murec-contract', u'flat-rec-contract', u'for', u'for*', u'for*/and', - u'for*/async', u'for*/first', u'for*/fold', u'for*/fold/derived', - u'for*/hash', u'for*/hasheq', u'for*/hasheqv', u'for*/last', u'for*/list', - u'for*/lists', u'for*/mutable-set', u'for*/mutable-seteq', - u'for*/mutable-seteqv', u'for*/or', u'for*/product', u'for*/set', - u'for*/seteq', u'for*/seteqv', u'for*/stream', u'for*/sum', u'for*/vector', - u'for*/weak-set', u'for*/weak-seteq', u'for*/weak-seteqv', u'for-label', - u'for-meta', u'for-syntax', u'for-template', u'for/and', u'for/async', - u'for/first', u'for/fold', u'for/fold/derived', u'for/hash', u'for/hasheq', - u'for/hasheqv', u'for/last', u'for/list', u'for/lists', u'for/mutable-set', - u'for/mutable-seteq', u'for/mutable-seteqv', u'for/or', u'for/product', - u'for/set', u'for/seteq', u'for/seteqv', u'for/stream', u'for/sum', - u'for/vector', u'for/weak-set', u'for/weak-seteq', u'for/weak-seteqv', - u'gen:custom-write', u'gen:dict', u'gen:equal+hash', u'gen:set', - u'gen:stream', u'generic', u'get-field', u'hash/dc', u'if', u'implies', - u'import', u'include', u'include-at/relative-to', - u'include-at/relative-to/reader', u'include/reader', u'inherit', - u'inherit-field', u'inherit/inner', u'inherit/super', u'init', - u'init-depend', u'init-field', u'init-rest', u'inner', u'inspect', - u'instantiate', u'interface', u'interface*', u'invariant-assertion', - u'invoke-unit', u'invoke-unit/infer', u'lambda', u'lazy', u'let', u'let*', - u'let*-values', u'let-syntax', u'let-syntaxes', u'let-values', u'let/cc', - u'let/ec', u'letrec', u'letrec-syntax', u'letrec-syntaxes', - u'letrec-syntaxes+values', u'letrec-values', u'lib', u'link', u'local', - u'local-require', u'log-debug', u'log-error', u'log-fatal', u'log-info', - u'log-warning', u'match', u'match*', u'match*/derived', u'match-define', - u'match-define-values', u'match-lambda', u'match-lambda*', - u'match-lambda**', u'match-let', u'match-let*', u'match-let*-values', - u'match-let-values', u'match-letrec', u'match-letrec-values', - u'match/derived', u'match/values', u'member-name-key', u'mixin', u'module', - u'module*', u'module+', u'nand', u'new', u'nor', u'object-contract', - u'object/c', u'only', u'only-in', u'only-meta-in', u'open', u'opt/c', u'or', - u'overment', u'overment*', u'override', u'override*', u'override-final', - u'override-final*', u'parameterize', u'parameterize*', - u'parameterize-break', u'parametric->/c', u'place', u'place*', - u'place/context', u'planet', u'prefix', u'prefix-in', u'prefix-out', - u'private', u'private*', u'prompt-tag/c', u'protect-out', u'provide', - u'provide-signature-elements', u'provide/contract', u'public', u'public*', - u'public-final', u'public-final*', u'pubment', u'pubment*', u'quasiquote', - u'quasisyntax', u'quasisyntax/loc', u'quote', u'quote-syntax', - u'quote-syntax/prune', u'recontract-out', u'recursive-contract', - u'relative-in', u'rename', u'rename-in', u'rename-inner', u'rename-out', - u'rename-super', u'require', u'send', u'send*', u'send+', u'send-generic', - u'send/apply', u'send/keyword-apply', u'set!', u'set!-values', - u'set-field!', u'shared', u'stream', u'stream*', u'stream-cons', u'struct', - u'struct*', u'struct-copy', u'struct-field-index', u'struct-out', - u'struct/c', u'struct/ctc', u'struct/dc', u'submod', u'super', - u'super-instantiate', u'super-make-object', u'super-new', u'syntax', - u'syntax-case', u'syntax-case*', u'syntax-id-rules', u'syntax-rules', - u'syntax/loc', u'tag', u'this', u'this%', u'thunk', u'thunk*', u'time', - u'unconstrained-domain->', u'unit', u'unit-from-context', u'unit/c', - u'unit/new-import-export', u'unit/s', u'unless', u'unquote', - u'unquote-splicing', u'unsyntax', u'unsyntax-splicing', u'values/drop', - u'when', u'with-continuation-mark', u'with-contract', - u'with-contract-continuation-mark', u'with-handlers', u'with-handlers*', - u'with-method', u'with-syntax', u'λ' + u'#%app', u'#%datum', u'#%declare', u'#%expression', u'#%module-begin', + u'#%plain-app', u'#%plain-lambda', u'#%plain-module-begin', + u'#%printing-module-begin', u'#%provide', u'#%require', + u'#%stratified-body', u'#%top', u'#%top-interaction', + u'#%variable-reference', u'->', u'->*', u'->*m', u'->d', u'->dm', u'->i', + u'->m', u'...', u':do-in', u'==', u'=>', u'_', u'absent', u'abstract', + u'all-defined-out', u'all-from-out', u'and', u'any', u'augment', u'augment*', + u'augment-final', u'augment-final*', u'augride', u'augride*', u'begin', + u'begin-for-syntax', u'begin0', u'case', u'case->', u'case->m', + u'case-lambda', u'class', u'class*', u'class-field-accessor', + u'class-field-mutator', u'class/c', u'class/derived', u'combine-in', + u'combine-out', u'command-line', u'compound-unit', u'compound-unit/infer', + u'cond', u'cons/dc', u'contract', u'contract-out', u'contract-struct', + u'contracted', u'define', u'define-compound-unit', + u'define-compound-unit/infer', u'define-contract-struct', + u'define-custom-hash-types', u'define-custom-set-types', + u'define-for-syntax', u'define-local-member-name', u'define-logger', + u'define-match-expander', u'define-member-name', + u'define-module-boundary-contract', u'define-namespace-anchor', + u'define-opt/c', u'define-sequence-syntax', u'define-serializable-class', + u'define-serializable-class*', u'define-signature', + u'define-signature-form', u'define-struct', u'define-struct/contract', + u'define-struct/derived', u'define-syntax', u'define-syntax-rule', + u'define-syntaxes', u'define-unit', u'define-unit-binding', + u'define-unit-from-context', u'define-unit/contract', + u'define-unit/new-import-export', u'define-unit/s', u'define-values', + u'define-values-for-export', u'define-values-for-syntax', + u'define-values/invoke-unit', u'define-values/invoke-unit/infer', + u'define/augment', u'define/augment-final', u'define/augride', + u'define/contract', u'define/final-prop', u'define/match', + u'define/overment', u'define/override', u'define/override-final', + u'define/private', u'define/public', u'define/public-final', + u'define/pubment', u'define/subexpression-pos-prop', + u'define/subexpression-pos-prop/name', u'delay', u'delay/idle', + u'delay/name', u'delay/strict', u'delay/sync', u'delay/thread', u'do', + u'else', u'except', u'except-in', u'except-out', u'export', u'extends', + u'failure-cont', u'false', u'false/c', u'field', u'field-bound?', u'file', + u'flat-murec-contract', u'flat-rec-contract', u'for', u'for*', u'for*/and', + u'for*/async', u'for*/first', u'for*/fold', u'for*/fold/derived', + u'for*/hash', u'for*/hasheq', u'for*/hasheqv', u'for*/last', u'for*/list', + u'for*/lists', u'for*/mutable-set', u'for*/mutable-seteq', + u'for*/mutable-seteqv', u'for*/or', u'for*/product', u'for*/set', + u'for*/seteq', u'for*/seteqv', u'for*/stream', u'for*/sum', u'for*/vector', + u'for*/weak-set', u'for*/weak-seteq', u'for*/weak-seteqv', u'for-label', + u'for-meta', u'for-syntax', u'for-template', u'for/and', u'for/async', + u'for/first', u'for/fold', u'for/fold/derived', u'for/hash', u'for/hasheq', + u'for/hasheqv', u'for/last', u'for/list', u'for/lists', u'for/mutable-set', + u'for/mutable-seteq', u'for/mutable-seteqv', u'for/or', u'for/product', + u'for/set', u'for/seteq', u'for/seteqv', u'for/stream', u'for/sum', + u'for/vector', u'for/weak-set', u'for/weak-seteq', u'for/weak-seteqv', + u'gen:custom-write', u'gen:dict', u'gen:equal+hash', u'gen:set', + u'gen:stream', u'generic', u'get-field', u'hash/dc', u'if', u'implies', + u'import', u'include', u'include-at/relative-to', + u'include-at/relative-to/reader', u'include/reader', u'inherit', + u'inherit-field', u'inherit/inner', u'inherit/super', u'init', + u'init-depend', u'init-field', u'init-rest', u'inner', u'inspect', + u'instantiate', u'interface', u'interface*', u'invariant-assertion', + u'invoke-unit', u'invoke-unit/infer', u'lambda', u'lazy', u'let', u'let*', + u'let*-values', u'let-syntax', u'let-syntaxes', u'let-values', u'let/cc', + u'let/ec', u'letrec', u'letrec-syntax', u'letrec-syntaxes', + u'letrec-syntaxes+values', u'letrec-values', u'lib', u'link', u'local', + u'local-require', u'log-debug', u'log-error', u'log-fatal', u'log-info', + u'log-warning', u'match', u'match*', u'match*/derived', u'match-define', + u'match-define-values', u'match-lambda', u'match-lambda*', + u'match-lambda**', u'match-let', u'match-let*', u'match-let*-values', + u'match-let-values', u'match-letrec', u'match-letrec-values', + u'match/derived', u'match/values', u'member-name-key', u'mixin', u'module', + u'module*', u'module+', u'nand', u'new', u'nor', u'object-contract', + u'object/c', u'only', u'only-in', u'only-meta-in', u'open', u'opt/c', u'or', + u'overment', u'overment*', u'override', u'override*', u'override-final', + u'override-final*', u'parameterize', u'parameterize*', + u'parameterize-break', u'parametric->/c', u'place', u'place*', + u'place/context', u'planet', u'prefix', u'prefix-in', u'prefix-out', + u'private', u'private*', u'prompt-tag/c', u'protect-out', u'provide', + u'provide-signature-elements', u'provide/contract', u'public', u'public*', + u'public-final', u'public-final*', u'pubment', u'pubment*', u'quasiquote', + u'quasisyntax', u'quasisyntax/loc', u'quote', u'quote-syntax', + u'quote-syntax/prune', u'recontract-out', u'recursive-contract', + u'relative-in', u'rename', u'rename-in', u'rename-inner', u'rename-out', + u'rename-super', u'require', u'send', u'send*', u'send+', u'send-generic', + u'send/apply', u'send/keyword-apply', u'set!', u'set!-values', + u'set-field!', u'shared', u'stream', u'stream*', u'stream-cons', u'struct', + u'struct*', u'struct-copy', u'struct-field-index', u'struct-out', + u'struct/c', u'struct/ctc', u'struct/dc', u'submod', u'super', + u'super-instantiate', u'super-make-object', u'super-new', u'syntax', + u'syntax-case', u'syntax-case*', u'syntax-id-rules', u'syntax-rules', + u'syntax/loc', u'tag', u'this', u'this%', u'thunk', u'thunk*', u'time', + u'unconstrained-domain->', u'unit', u'unit-from-context', u'unit/c', + u'unit/new-import-export', u'unit/s', u'unless', u'unquote', + u'unquote-splicing', u'unsyntax', u'unsyntax-splicing', u'values/drop', + u'when', u'with-continuation-mark', u'with-contract', + u'with-contract-continuation-mark', u'with-handlers', u'with-handlers*', + u'with-method', u'with-syntax', u'λ' ) # Generated by example.rkt _builtins = ( - u'*', u'*list/c', u'+', u'-', u'/', u'<', u'</c', u'<=', u'<=/c', u'=', u'=/c', - u'>', u'>/c', u'>=', u'>=/c', u'abort-current-continuation', u'abs', - u'absolute-path?', u'acos', u'add-between', u'add1', u'alarm-evt', - u'always-evt', u'and/c', u'andmap', u'angle', u'any/c', u'append', u'append*', - u'append-map', u'apply', u'argmax', u'argmin', u'arithmetic-shift', - u'arity-at-least', u'arity-at-least-value', u'arity-at-least?', - u'arity-checking-wrapper', u'arity-includes?', u'arity=?', - u'arrow-contract-info', u'arrow-contract-info-accepts-arglist', - u'arrow-contract-info-chaperone-procedure', - u'arrow-contract-info-check-first-order', u'arrow-contract-info?', - u'asin', u'assf', u'assoc', u'assq', u'assv', u'atan', - u'bad-number-of-results', u'banner', u'base->-doms/c', u'base->-rngs/c', - u'base->?', u'between/c', u'bitwise-and', u'bitwise-bit-field', - u'bitwise-bit-set?', u'bitwise-ior', u'bitwise-not', u'bitwise-xor', - u'blame-add-car-context', u'blame-add-cdr-context', u'blame-add-context', - u'blame-add-missing-party', u'blame-add-nth-arg-context', - u'blame-add-range-context', u'blame-add-unknown-context', - u'blame-context', u'blame-contract', u'blame-fmt->-string', - u'blame-missing-party?', u'blame-negative', u'blame-original?', - u'blame-positive', u'blame-replace-negative', u'blame-source', - u'blame-swap', u'blame-swapped?', u'blame-update', u'blame-value', - u'blame?', u'boolean=?', u'boolean?', u'bound-identifier=?', u'box', - u'box-cas!', u'box-immutable', u'box-immutable/c', u'box/c', u'box?', - u'break-enabled', u'break-parameterization?', u'break-thread', - u'build-chaperone-contract-property', u'build-compound-type-name', - u'build-contract-property', u'build-flat-contract-property', - u'build-list', u'build-path', u'build-path/convention-type', - u'build-string', u'build-vector', u'byte-pregexp', u'byte-pregexp?', - u'byte-ready?', u'byte-regexp', u'byte-regexp?', u'byte?', u'bytes', - u'bytes->immutable-bytes', u'bytes->list', u'bytes->path', - u'bytes->path-element', u'bytes->string/latin-1', u'bytes->string/locale', - u'bytes->string/utf-8', u'bytes-append', u'bytes-append*', - u'bytes-close-converter', u'bytes-convert', u'bytes-convert-end', - u'bytes-converter?', u'bytes-copy', u'bytes-copy!', - u'bytes-environment-variable-name?', u'bytes-fill!', u'bytes-join', - u'bytes-length', u'bytes-no-nuls?', u'bytes-open-converter', u'bytes-ref', - u'bytes-set!', u'bytes-utf-8-index', u'bytes-utf-8-length', - u'bytes-utf-8-ref', u'bytes<?', u'bytes=?', u'bytes>?', u'bytes?', u'caaaar', - u'caaadr', u'caaar', u'caadar', u'caaddr', u'caadr', u'caar', u'cadaar', - u'cadadr', u'cadar', u'caddar', u'cadddr', u'caddr', u'cadr', - u'call-in-nested-thread', u'call-with-atomic-output-file', - u'call-with-break-parameterization', - u'call-with-composable-continuation', u'call-with-continuation-barrier', - u'call-with-continuation-prompt', u'call-with-current-continuation', - u'call-with-default-reading-parameterization', - u'call-with-escape-continuation', u'call-with-exception-handler', - u'call-with-file-lock/timeout', u'call-with-immediate-continuation-mark', - u'call-with-input-bytes', u'call-with-input-file', - u'call-with-input-file*', u'call-with-input-string', - u'call-with-output-bytes', u'call-with-output-file', - u'call-with-output-file*', u'call-with-output-string', - u'call-with-parameterization', u'call-with-semaphore', - u'call-with-semaphore/enable-break', u'call-with-values', u'call/cc', - u'call/ec', u'car', u'cartesian-product', u'cdaaar', u'cdaadr', u'cdaar', - u'cdadar', u'cdaddr', u'cdadr', u'cdar', u'cddaar', u'cddadr', u'cddar', - u'cdddar', u'cddddr', u'cdddr', u'cddr', u'cdr', u'ceiling', u'channel-get', - u'channel-put', u'channel-put-evt', u'channel-put-evt?', - u'channel-try-get', u'channel/c', u'channel?', u'chaperone-box', - u'chaperone-channel', u'chaperone-continuation-mark-key', - u'chaperone-contract-property?', u'chaperone-contract?', u'chaperone-evt', - u'chaperone-hash', u'chaperone-hash-set', u'chaperone-of?', - u'chaperone-procedure', u'chaperone-procedure*', u'chaperone-prompt-tag', - u'chaperone-struct', u'chaperone-struct-type', u'chaperone-vector', - u'chaperone?', u'char->integer', u'char-alphabetic?', u'char-blank?', - u'char-ci<=?', u'char-ci<?', u'char-ci=?', u'char-ci>=?', u'char-ci>?', - u'char-downcase', u'char-foldcase', u'char-general-category', - u'char-graphic?', u'char-in', u'char-in/c', u'char-iso-control?', - u'char-lower-case?', u'char-numeric?', u'char-punctuation?', - u'char-ready?', u'char-symbolic?', u'char-title-case?', u'char-titlecase', - u'char-upcase', u'char-upper-case?', u'char-utf-8-length', - u'char-whitespace?', u'char<=?', u'char<?', u'char=?', u'char>=?', u'char>?', - u'char?', u'check-duplicate-identifier', u'check-duplicates', - u'checked-procedure-check-and-extract', u'choice-evt', - u'class->interface', u'class-info', u'class-seal', u'class-unseal', - u'class?', u'cleanse-path', u'close-input-port', u'close-output-port', - u'coerce-chaperone-contract', u'coerce-chaperone-contracts', - u'coerce-contract', u'coerce-contract/f', u'coerce-contracts', - u'coerce-flat-contract', u'coerce-flat-contracts', u'collect-garbage', - u'collection-file-path', u'collection-path', u'combinations', u'compile', - u'compile-allow-set!-undefined', u'compile-context-preservation-enabled', - u'compile-enforce-module-constants', u'compile-syntax', - u'compiled-expression-recompile', u'compiled-expression?', - u'compiled-module-expression?', u'complete-path?', u'complex?', u'compose', - u'compose1', u'conjoin', u'conjugate', u'cons', u'cons/c', u'cons?', u'const', - u'continuation-mark-key/c', u'continuation-mark-key?', - u'continuation-mark-set->context', u'continuation-mark-set->list', - u'continuation-mark-set->list*', u'continuation-mark-set-first', - u'continuation-mark-set?', u'continuation-marks', - u'continuation-prompt-available?', u'continuation-prompt-tag?', - u'continuation?', u'contract-continuation-mark-key', - u'contract-custom-write-property-proc', u'contract-exercise', - u'contract-first-order', u'contract-first-order-passes?', - u'contract-late-neg-projection', u'contract-name', u'contract-proc', - u'contract-projection', u'contract-property?', - u'contract-random-generate', u'contract-random-generate-fail', - u'contract-random-generate-fail?', - u'contract-random-generate-get-current-environment', - u'contract-random-generate-stash', u'contract-random-generate/choose', - u'contract-stronger?', u'contract-struct-exercise', - u'contract-struct-generate', u'contract-struct-late-neg-projection', - u'contract-struct-list-contract?', u'contract-val-first-projection', - u'contract?', u'convert-stream', u'copy-directory/files', u'copy-file', - u'copy-port', u'cos', u'cosh', u'count', u'current-blame-format', - u'current-break-parameterization', u'current-code-inspector', - u'current-command-line-arguments', u'current-compile', - u'current-compiled-file-roots', u'current-continuation-marks', - u'current-contract-region', u'current-custodian', u'current-directory', - u'current-directory-for-user', u'current-drive', - u'current-environment-variables', u'current-error-port', u'current-eval', - u'current-evt-pseudo-random-generator', - u'current-force-delete-permissions', u'current-future', - u'current-gc-milliseconds', u'current-get-interaction-input-port', - u'current-inexact-milliseconds', u'current-input-port', - u'current-inspector', u'current-library-collection-links', - u'current-library-collection-paths', u'current-load', - u'current-load-extension', u'current-load-relative-directory', - u'current-load/use-compiled', u'current-locale', u'current-logger', - u'current-memory-use', u'current-milliseconds', - u'current-module-declare-name', u'current-module-declare-source', - u'current-module-name-resolver', u'current-module-path-for-load', - u'current-namespace', u'current-output-port', u'current-parameterization', - u'current-plumber', u'current-preserved-thread-cell-values', - u'current-print', u'current-process-milliseconds', u'current-prompt-read', - u'current-pseudo-random-generator', u'current-read-interaction', - u'current-reader-guard', u'current-readtable', u'current-seconds', - u'current-security-guard', u'current-subprocess-custodian-mode', - u'current-thread', u'current-thread-group', - u'current-thread-initial-stack-size', - u'current-write-relative-directory', u'curry', u'curryr', - u'custodian-box-value', u'custodian-box?', u'custodian-limit-memory', - u'custodian-managed-list', u'custodian-memory-accounting-available?', - u'custodian-require-memory', u'custodian-shutdown-all', u'custodian?', - u'custom-print-quotable-accessor', u'custom-print-quotable?', - u'custom-write-accessor', u'custom-write-property-proc', u'custom-write?', - u'date', u'date*', u'date*-nanosecond', u'date*-time-zone-name', u'date*?', - u'date-day', u'date-dst?', u'date-hour', u'date-minute', u'date-month', - u'date-second', u'date-time-zone-offset', u'date-week-day', u'date-year', - u'date-year-day', u'date?', u'datum->syntax', u'datum-intern-literal', - u'default-continuation-prompt-tag', u'degrees->radians', - u'delete-directory', u'delete-directory/files', u'delete-file', - u'denominator', u'dict->list', u'dict-can-functional-set?', - u'dict-can-remove-keys?', u'dict-clear', u'dict-clear!', u'dict-copy', - u'dict-count', u'dict-empty?', u'dict-for-each', u'dict-has-key?', - u'dict-implements/c', u'dict-implements?', u'dict-iter-contract', - u'dict-iterate-first', u'dict-iterate-key', u'dict-iterate-next', - u'dict-iterate-value', u'dict-key-contract', u'dict-keys', u'dict-map', - u'dict-mutable?', u'dict-ref', u'dict-ref!', u'dict-remove', - u'dict-remove!', u'dict-set', u'dict-set!', u'dict-set*', u'dict-set*!', - u'dict-update', u'dict-update!', u'dict-value-contract', u'dict-values', - u'dict?', u'directory-exists?', u'directory-list', u'disjoin', u'display', - u'display-lines', u'display-lines-to-file', u'display-to-file', - u'displayln', u'double-flonum?', u'drop', u'drop-common-prefix', - u'drop-right', u'dropf', u'dropf-right', u'dump-memory-stats', - u'dup-input-port', u'dup-output-port', u'dynamic->*', u'dynamic-get-field', - u'dynamic-object/c', u'dynamic-place', u'dynamic-place*', - u'dynamic-require', u'dynamic-require-for-syntax', u'dynamic-send', - u'dynamic-set-field!', u'dynamic-wind', u'eighth', u'empty', - u'empty-sequence', u'empty-stream', u'empty?', - u'environment-variables-copy', u'environment-variables-names', - u'environment-variables-ref', u'environment-variables-set!', - u'environment-variables?', u'eof', u'eof-evt', u'eof-object?', - u'ephemeron-value', u'ephemeron?', u'eprintf', u'eq-contract-val', - u'eq-contract?', u'eq-hash-code', u'eq?', u'equal-contract-val', - u'equal-contract?', u'equal-hash-code', u'equal-secondary-hash-code', - u'equal<%>', u'equal?', u'equal?/recur', u'eqv-hash-code', u'eqv?', u'error', - u'error-display-handler', u'error-escape-handler', - u'error-print-context-length', u'error-print-source-location', - u'error-print-width', u'error-value->string-handler', u'eval', - u'eval-jit-enabled', u'eval-syntax', u'even?', u'evt/c', u'evt?', - u'exact->inexact', u'exact-ceiling', u'exact-floor', u'exact-integer?', - u'exact-nonnegative-integer?', u'exact-positive-integer?', u'exact-round', - u'exact-truncate', u'exact?', u'executable-yield-handler', u'exit', - u'exit-handler', u'exn', u'exn-continuation-marks', u'exn-message', - u'exn:break', u'exn:break-continuation', u'exn:break:hang-up', - u'exn:break:hang-up?', u'exn:break:terminate', u'exn:break:terminate?', - u'exn:break?', u'exn:fail', u'exn:fail:contract', - u'exn:fail:contract:arity', u'exn:fail:contract:arity?', - u'exn:fail:contract:blame', u'exn:fail:contract:blame-object', - u'exn:fail:contract:blame?', u'exn:fail:contract:continuation', - u'exn:fail:contract:continuation?', u'exn:fail:contract:divide-by-zero', - u'exn:fail:contract:divide-by-zero?', - u'exn:fail:contract:non-fixnum-result', - u'exn:fail:contract:non-fixnum-result?', u'exn:fail:contract:variable', - u'exn:fail:contract:variable-id', u'exn:fail:contract:variable?', - u'exn:fail:contract?', u'exn:fail:filesystem', - u'exn:fail:filesystem:errno', u'exn:fail:filesystem:errno-errno', - u'exn:fail:filesystem:errno?', u'exn:fail:filesystem:exists', - u'exn:fail:filesystem:exists?', u'exn:fail:filesystem:missing-module', - u'exn:fail:filesystem:missing-module-path', - u'exn:fail:filesystem:missing-module?', u'exn:fail:filesystem:version', - u'exn:fail:filesystem:version?', u'exn:fail:filesystem?', - u'exn:fail:network', u'exn:fail:network:errno', - u'exn:fail:network:errno-errno', u'exn:fail:network:errno?', - u'exn:fail:network?', u'exn:fail:object', u'exn:fail:object?', - u'exn:fail:out-of-memory', u'exn:fail:out-of-memory?', u'exn:fail:read', - u'exn:fail:read-srclocs', u'exn:fail:read:eof', u'exn:fail:read:eof?', - u'exn:fail:read:non-char', u'exn:fail:read:non-char?', u'exn:fail:read?', - u'exn:fail:syntax', u'exn:fail:syntax-exprs', - u'exn:fail:syntax:missing-module', - u'exn:fail:syntax:missing-module-path', - u'exn:fail:syntax:missing-module?', u'exn:fail:syntax:unbound', - u'exn:fail:syntax:unbound?', u'exn:fail:syntax?', u'exn:fail:unsupported', - u'exn:fail:unsupported?', u'exn:fail:user', u'exn:fail:user?', - u'exn:fail?', u'exn:misc:match?', u'exn:missing-module-accessor', - u'exn:missing-module?', u'exn:srclocs-accessor', u'exn:srclocs?', u'exn?', - u'exp', u'expand', u'expand-once', u'expand-syntax', u'expand-syntax-once', - u'expand-syntax-to-top-form', u'expand-to-top-form', u'expand-user-path', - u'explode-path', u'expt', u'externalizable<%>', u'failure-result/c', - u'false?', u'field-names', u'fifth', u'file->bytes', u'file->bytes-lines', - u'file->lines', u'file->list', u'file->string', u'file->value', - u'file-exists?', u'file-name-from-path', u'file-or-directory-identity', - u'file-or-directory-modify-seconds', u'file-or-directory-permissions', - u'file-position', u'file-position*', u'file-size', - u'file-stream-buffer-mode', u'file-stream-port?', u'file-truncate', - u'filename-extension', u'filesystem-change-evt', - u'filesystem-change-evt-cancel', u'filesystem-change-evt?', - u'filesystem-root-list', u'filter', u'filter-map', u'filter-not', - u'filter-read-input-port', u'find-executable-path', u'find-files', - u'find-library-collection-links', u'find-library-collection-paths', - u'find-relative-path', u'find-system-path', u'findf', u'first', - u'first-or/c', u'fixnum?', u'flat-contract', u'flat-contract-predicate', - u'flat-contract-property?', u'flat-contract?', u'flat-named-contract', - u'flatten', u'floating-point-bytes->real', u'flonum?', u'floor', - u'flush-output', u'fold-files', u'foldl', u'foldr', u'for-each', u'force', - u'format', u'fourth', u'fprintf', u'free-identifier=?', - u'free-label-identifier=?', u'free-template-identifier=?', - u'free-transformer-identifier=?', u'fsemaphore-count', u'fsemaphore-post', - u'fsemaphore-try-wait?', u'fsemaphore-wait', u'fsemaphore?', u'future', - u'future?', u'futures-enabled?', u'gcd', u'generate-member-key', - u'generate-temporaries', u'generic-set?', u'generic?', u'gensym', - u'get-output-bytes', u'get-output-string', u'get-preference', - u'get/build-late-neg-projection', u'get/build-val-first-projection', - u'getenv', u'global-port-print-handler', u'group-by', u'group-execute-bit', - u'group-read-bit', u'group-write-bit', u'guard-evt', u'handle-evt', - u'handle-evt?', u'has-blame?', u'has-contract?', u'hash', u'hash->list', - u'hash-clear', u'hash-clear!', u'hash-copy', u'hash-copy-clear', - u'hash-count', u'hash-empty?', u'hash-eq?', u'hash-equal?', u'hash-eqv?', - u'hash-for-each', u'hash-has-key?', u'hash-iterate-first', - u'hash-iterate-key', u'hash-iterate-key+value', u'hash-iterate-next', - u'hash-iterate-pair', u'hash-iterate-value', u'hash-keys', u'hash-map', - u'hash-placeholder?', u'hash-ref', u'hash-ref!', u'hash-remove', - u'hash-remove!', u'hash-set', u'hash-set!', u'hash-set*', u'hash-set*!', - u'hash-update', u'hash-update!', u'hash-values', u'hash-weak?', u'hash/c', - u'hash?', u'hasheq', u'hasheqv', u'identifier-binding', - u'identifier-binding-symbol', u'identifier-label-binding', - u'identifier-prune-lexical-context', - u'identifier-prune-to-source-module', - u'identifier-remove-from-definition-context', - u'identifier-template-binding', u'identifier-transformer-binding', - u'identifier?', u'identity', u'if/c', u'imag-part', u'immutable?', - u'impersonate-box', u'impersonate-channel', - u'impersonate-continuation-mark-key', u'impersonate-hash', - u'impersonate-hash-set', u'impersonate-procedure', - u'impersonate-procedure*', u'impersonate-prompt-tag', - u'impersonate-struct', u'impersonate-vector', u'impersonator-contract?', - u'impersonator-ephemeron', u'impersonator-of?', - u'impersonator-prop:application-mark', u'impersonator-prop:blame', - u'impersonator-prop:contracted', - u'impersonator-property-accessor-procedure?', u'impersonator-property?', - u'impersonator?', u'implementation?', u'implementation?/c', u'in-bytes', - u'in-bytes-lines', u'in-combinations', u'in-cycle', u'in-dict', - u'in-dict-keys', u'in-dict-pairs', u'in-dict-values', u'in-directory', - u'in-hash', u'in-hash-keys', u'in-hash-pairs', u'in-hash-values', - u'in-immutable-hash', u'in-immutable-hash-keys', - u'in-immutable-hash-pairs', u'in-immutable-hash-values', - u'in-immutable-set', u'in-indexed', u'in-input-port-bytes', - u'in-input-port-chars', u'in-lines', u'in-list', u'in-mlist', - u'in-mutable-hash', u'in-mutable-hash-keys', u'in-mutable-hash-pairs', - u'in-mutable-hash-values', u'in-mutable-set', u'in-naturals', - u'in-parallel', u'in-permutations', u'in-port', u'in-producer', u'in-range', - u'in-sequences', u'in-set', u'in-slice', u'in-stream', u'in-string', - u'in-syntax', u'in-value', u'in-values*-sequence', u'in-values-sequence', - u'in-vector', u'in-weak-hash', u'in-weak-hash-keys', u'in-weak-hash-pairs', - u'in-weak-hash-values', u'in-weak-set', u'inexact->exact', - u'inexact-real?', u'inexact?', u'infinite?', u'input-port-append', - u'input-port?', u'inspector?', u'instanceof/c', u'integer->char', - u'integer->integer-bytes', u'integer-bytes->integer', u'integer-in', - u'integer-length', u'integer-sqrt', u'integer-sqrt/remainder', u'integer?', - u'interface->method-names', u'interface-extension?', u'interface?', - u'internal-definition-context-binding-identifiers', - u'internal-definition-context-introduce', - u'internal-definition-context-seal', u'internal-definition-context?', - u'is-a?', u'is-a?/c', u'keyword->string', u'keyword-apply', u'keyword<?', - u'keyword?', u'keywords-match', u'kill-thread', u'last', u'last-pair', - u'lcm', u'length', u'liberal-define-context?', u'link-exists?', u'list', - u'list*', u'list*of', u'list->bytes', u'list->mutable-set', - u'list->mutable-seteq', u'list->mutable-seteqv', u'list->set', - u'list->seteq', u'list->seteqv', u'list->string', u'list->vector', - u'list->weak-set', u'list->weak-seteq', u'list->weak-seteqv', - u'list-contract?', u'list-prefix?', u'list-ref', u'list-set', u'list-tail', - u'list-update', u'list/c', u'list?', u'listen-port-number?', u'listof', - u'load', u'load-extension', u'load-on-demand-enabled', u'load-relative', - u'load-relative-extension', u'load/cd', u'load/use-compiled', - u'local-expand', u'local-expand/capture-lifts', - u'local-transformer-expand', u'local-transformer-expand/capture-lifts', - u'locale-string-encoding', u'log', u'log-all-levels', u'log-level-evt', - u'log-level?', u'log-max-level', u'log-message', u'log-receiver?', - u'logger-name', u'logger?', u'magnitude', u'make-arity-at-least', - u'make-base-empty-namespace', u'make-base-namespace', u'make-bytes', - u'make-channel', u'make-chaperone-contract', - u'make-continuation-mark-key', u'make-continuation-prompt-tag', - u'make-contract', u'make-custodian', u'make-custodian-box', - u'make-custom-hash', u'make-custom-hash-types', u'make-custom-set', - u'make-custom-set-types', u'make-date', u'make-date*', - u'make-derived-parameter', u'make-directory', u'make-directory*', - u'make-do-sequence', u'make-empty-namespace', - u'make-environment-variables', u'make-ephemeron', u'make-exn', - u'make-exn:break', u'make-exn:break:hang-up', u'make-exn:break:terminate', - u'make-exn:fail', u'make-exn:fail:contract', - u'make-exn:fail:contract:arity', u'make-exn:fail:contract:blame', - u'make-exn:fail:contract:continuation', - u'make-exn:fail:contract:divide-by-zero', - u'make-exn:fail:contract:non-fixnum-result', - u'make-exn:fail:contract:variable', u'make-exn:fail:filesystem', - u'make-exn:fail:filesystem:errno', u'make-exn:fail:filesystem:exists', - u'make-exn:fail:filesystem:missing-module', - u'make-exn:fail:filesystem:version', u'make-exn:fail:network', - u'make-exn:fail:network:errno', u'make-exn:fail:object', - u'make-exn:fail:out-of-memory', u'make-exn:fail:read', - u'make-exn:fail:read:eof', u'make-exn:fail:read:non-char', - u'make-exn:fail:syntax', u'make-exn:fail:syntax:missing-module', - u'make-exn:fail:syntax:unbound', u'make-exn:fail:unsupported', - u'make-exn:fail:user', u'make-file-or-directory-link', - u'make-flat-contract', u'make-fsemaphore', u'make-generic', - u'make-handle-get-preference-locked', u'make-hash', - u'make-hash-placeholder', u'make-hasheq', u'make-hasheq-placeholder', - u'make-hasheqv', u'make-hasheqv-placeholder', - u'make-immutable-custom-hash', u'make-immutable-hash', - u'make-immutable-hasheq', u'make-immutable-hasheqv', - u'make-impersonator-property', u'make-input-port', - u'make-input-port/read-to-peek', u'make-inspector', - u'make-keyword-procedure', u'make-known-char-range-list', - u'make-limited-input-port', u'make-list', u'make-lock-file-name', - u'make-log-receiver', u'make-logger', u'make-mixin-contract', - u'make-mutable-custom-set', u'make-none/c', u'make-object', - u'make-output-port', u'make-parameter', u'make-parent-directory*', - u'make-phantom-bytes', u'make-pipe', u'make-pipe-with-specials', - u'make-placeholder', u'make-plumber', u'make-polar', u'make-prefab-struct', - u'make-primitive-class', u'make-proj-contract', - u'make-pseudo-random-generator', u'make-reader-graph', u'make-readtable', - u'make-rectangular', u'make-rename-transformer', - u'make-resolved-module-path', u'make-security-guard', u'make-semaphore', - u'make-set!-transformer', u'make-shared-bytes', u'make-sibling-inspector', - u'make-special-comment', u'make-srcloc', u'make-string', - u'make-struct-field-accessor', u'make-struct-field-mutator', - u'make-struct-type', u'make-struct-type-property', - u'make-syntax-delta-introducer', u'make-syntax-introducer', - u'make-temporary-file', u'make-tentative-pretty-print-output-port', - u'make-thread-cell', u'make-thread-group', u'make-vector', - u'make-weak-box', u'make-weak-custom-hash', u'make-weak-custom-set', - u'make-weak-hash', u'make-weak-hasheq', u'make-weak-hasheqv', - u'make-will-executor', u'map', u'match-equality-test', - u'matches-arity-exactly?', u'max', u'mcar', u'mcdr', u'mcons', u'member', - u'member-name-key-hash-code', u'member-name-key=?', u'member-name-key?', - u'memf', u'memq', u'memv', u'merge-input', u'method-in-interface?', u'min', - u'mixin-contract', u'module->exports', u'module->imports', - u'module->language-info', u'module->namespace', - u'module-compiled-cross-phase-persistent?', u'module-compiled-exports', - u'module-compiled-imports', u'module-compiled-language-info', - u'module-compiled-name', u'module-compiled-submodules', - u'module-declared?', u'module-path-index-join', - u'module-path-index-resolve', u'module-path-index-split', - u'module-path-index-submodule', u'module-path-index?', u'module-path?', - u'module-predefined?', u'module-provide-protected?', u'modulo', u'mpair?', - u'mutable-set', u'mutable-seteq', u'mutable-seteqv', u'n->th', - u'nack-guard-evt', u'namespace-anchor->empty-namespace', - u'namespace-anchor->namespace', u'namespace-anchor?', - u'namespace-attach-module', u'namespace-attach-module-declaration', - u'namespace-base-phase', u'namespace-mapped-symbols', - u'namespace-module-identifier', u'namespace-module-registry', - u'namespace-require', u'namespace-require/constant', - u'namespace-require/copy', u'namespace-require/expansion-time', - u'namespace-set-variable-value!', u'namespace-symbol->identifier', - u'namespace-syntax-introduce', u'namespace-undefine-variable!', - u'namespace-unprotect-module', u'namespace-variable-value', u'namespace?', - u'nan?', u'natural-number/c', u'negate', u'negative?', u'never-evt', - u'new-∀/c', u'new-∃/c', u'newline', u'ninth', u'non-empty-listof', - u'non-empty-string?', u'none/c', u'normal-case-path', u'normalize-arity', - u'normalize-path', u'normalized-arity?', u'not', u'not/c', u'null', u'null?', - u'number->string', u'number?', u'numerator', u'object%', u'object->vector', - u'object-info', u'object-interface', u'object-method-arity-includes?', - u'object-name', u'object-or-false=?', u'object=?', u'object?', u'odd?', - u'one-of/c', u'open-input-bytes', u'open-input-file', - u'open-input-output-file', u'open-input-string', u'open-output-bytes', - u'open-output-file', u'open-output-nowhere', u'open-output-string', - u'or/c', u'order-of-magnitude', u'ormap', u'other-execute-bit', - u'other-read-bit', u'other-write-bit', u'output-port?', u'pair?', - u'parameter-procedure=?', u'parameter/c', u'parameter?', - u'parameterization?', u'parse-command-line', u'partition', u'path->bytes', - u'path->complete-path', u'path->directory-path', u'path->string', - u'path-add-suffix', u'path-convention-type', u'path-element->bytes', - u'path-element->string', u'path-element?', u'path-for-some-system?', - u'path-list-string->path-list', u'path-only', u'path-replace-suffix', - u'path-string?', u'path<?', u'path?', u'pathlist-closure', u'peek-byte', - u'peek-byte-or-special', u'peek-bytes', u'peek-bytes!', u'peek-bytes!-evt', - u'peek-bytes-avail!', u'peek-bytes-avail!*', u'peek-bytes-avail!-evt', - u'peek-bytes-avail!/enable-break', u'peek-bytes-evt', u'peek-char', - u'peek-char-or-special', u'peek-string', u'peek-string!', - u'peek-string!-evt', u'peek-string-evt', u'peeking-input-port', - u'permutations', u'phantom-bytes?', u'pi', u'pi.f', u'pipe-content-length', - u'place-break', u'place-channel', u'place-channel-get', - u'place-channel-put', u'place-channel-put/get', u'place-channel?', - u'place-dead-evt', u'place-enabled?', u'place-kill', u'place-location?', - u'place-message-allowed?', u'place-sleep', u'place-wait', u'place?', - u'placeholder-get', u'placeholder-set!', u'placeholder?', - u'plumber-add-flush!', u'plumber-flush-all', - u'plumber-flush-handle-remove!', u'plumber-flush-handle?', u'plumber?', - u'poll-guard-evt', u'port->bytes', u'port->bytes-lines', u'port->lines', - u'port->list', u'port->string', u'port-closed-evt', u'port-closed?', - u'port-commit-peeked', u'port-count-lines!', u'port-count-lines-enabled', - u'port-counts-lines?', u'port-display-handler', u'port-file-identity', - u'port-file-unlock', u'port-next-location', u'port-number?', - u'port-print-handler', u'port-progress-evt', - u'port-provides-progress-evts?', u'port-read-handler', - u'port-try-file-lock?', u'port-write-handler', u'port-writes-atomic?', - u'port-writes-special?', u'port?', u'positive?', u'predicate/c', - u'prefab-key->struct-type', u'prefab-key?', u'prefab-struct-key', - u'preferences-lock-file-mode', u'pregexp', u'pregexp?', u'pretty-display', - u'pretty-format', u'pretty-print', u'pretty-print-.-symbol-without-bars', - u'pretty-print-abbreviate-read-macros', u'pretty-print-columns', - u'pretty-print-current-style-table', u'pretty-print-depth', - u'pretty-print-exact-as-decimal', u'pretty-print-extend-style-table', - u'pretty-print-handler', u'pretty-print-newline', - u'pretty-print-post-print-hook', u'pretty-print-pre-print-hook', - u'pretty-print-print-hook', u'pretty-print-print-line', - u'pretty-print-remap-stylable', u'pretty-print-show-inexactness', - u'pretty-print-size-hook', u'pretty-print-style-table?', - u'pretty-printing', u'pretty-write', u'primitive-closure?', - u'primitive-result-arity', u'primitive?', u'print', u'print-as-expression', - u'print-boolean-long-form', u'print-box', u'print-graph', - u'print-hash-table', u'print-mpair-curly-braces', - u'print-pair-curly-braces', u'print-reader-abbreviations', - u'print-struct', u'print-syntax-width', u'print-unreadable', - u'print-vector-length', u'printable/c', u'printable<%>', u'printf', - u'println', u'procedure->method', u'procedure-arity', - u'procedure-arity-includes/c', u'procedure-arity-includes?', - u'procedure-arity?', u'procedure-closure-contents-eq?', - u'procedure-extract-target', u'procedure-keywords', - u'procedure-reduce-arity', u'procedure-reduce-keyword-arity', - u'procedure-rename', u'procedure-result-arity', u'procedure-specialize', - u'procedure-struct-type?', u'procedure?', u'process', u'process*', - u'process*/ports', u'process/ports', u'processor-count', u'progress-evt?', - u'promise-forced?', u'promise-running?', u'promise/c', u'promise/name?', - u'promise?', u'prop:arity-string', u'prop:arrow-contract', - u'prop:arrow-contract-get-info', u'prop:arrow-contract?', u'prop:blame', - u'prop:chaperone-contract', u'prop:checked-procedure', u'prop:contract', - u'prop:contracted', u'prop:custom-print-quotable', u'prop:custom-write', - u'prop:dict', u'prop:dict/contract', u'prop:equal+hash', u'prop:evt', - u'prop:exn:missing-module', u'prop:exn:srclocs', - u'prop:expansion-contexts', u'prop:flat-contract', - u'prop:impersonator-of', u'prop:input-port', - u'prop:liberal-define-context', u'prop:object-name', - u'prop:opt-chaperone-contract', u'prop:opt-chaperone-contract-get-test', - u'prop:opt-chaperone-contract?', u'prop:orc-contract', - u'prop:orc-contract-get-subcontracts', u'prop:orc-contract?', - u'prop:output-port', u'prop:place-location', u'prop:procedure', - u'prop:recursive-contract', u'prop:recursive-contract-unroll', - u'prop:recursive-contract?', u'prop:rename-transformer', u'prop:sequence', - u'prop:set!-transformer', u'prop:stream', u'proper-subset?', - u'pseudo-random-generator->vector', u'pseudo-random-generator-vector?', - u'pseudo-random-generator?', u'put-preferences', u'putenv', u'quotient', - u'quotient/remainder', u'radians->degrees', u'raise', - u'raise-argument-error', u'raise-arguments-error', u'raise-arity-error', - u'raise-blame-error', u'raise-contract-error', u'raise-mismatch-error', - u'raise-not-cons-blame-error', u'raise-range-error', - u'raise-result-error', u'raise-syntax-error', u'raise-type-error', - u'raise-user-error', u'random', u'random-seed', u'range', u'rational?', - u'rationalize', u'read', u'read-accept-bar-quote', u'read-accept-box', - u'read-accept-compiled', u'read-accept-dot', u'read-accept-graph', - u'read-accept-infix-dot', u'read-accept-lang', u'read-accept-quasiquote', - u'read-accept-reader', u'read-byte', u'read-byte-or-special', - u'read-bytes', u'read-bytes!', u'read-bytes!-evt', u'read-bytes-avail!', - u'read-bytes-avail!*', u'read-bytes-avail!-evt', - u'read-bytes-avail!/enable-break', u'read-bytes-evt', u'read-bytes-line', - u'read-bytes-line-evt', u'read-case-sensitive', u'read-cdot', u'read-char', - u'read-char-or-special', u'read-curly-brace-as-paren', - u'read-curly-brace-with-tag', u'read-decimal-as-inexact', - u'read-eval-print-loop', u'read-language', u'read-line', u'read-line-evt', - u'read-on-demand-source', u'read-square-bracket-as-paren', - u'read-square-bracket-with-tag', u'read-string', u'read-string!', - u'read-string!-evt', u'read-string-evt', u'read-syntax', - u'read-syntax/recursive', u'read/recursive', u'readtable-mapping', - u'readtable?', u'real->decimal-string', u'real->double-flonum', - u'real->floating-point-bytes', u'real->single-flonum', u'real-in', - u'real-part', u'real?', u'reencode-input-port', u'reencode-output-port', - u'regexp', u'regexp-match', u'regexp-match*', u'regexp-match-evt', - u'regexp-match-exact?', u'regexp-match-peek', - u'regexp-match-peek-immediate', u'regexp-match-peek-positions', - u'regexp-match-peek-positions*', - u'regexp-match-peek-positions-immediate', - u'regexp-match-peek-positions-immediate/end', - u'regexp-match-peek-positions/end', u'regexp-match-positions', - u'regexp-match-positions*', u'regexp-match-positions/end', - u'regexp-match/end', u'regexp-match?', u'regexp-max-lookbehind', - u'regexp-quote', u'regexp-replace', u'regexp-replace*', - u'regexp-replace-quote', u'regexp-replaces', u'regexp-split', - u'regexp-try-match', u'regexp?', u'relative-path?', u'relocate-input-port', - u'relocate-output-port', u'remainder', u'remf', u'remf*', u'remove', - u'remove*', u'remove-duplicates', u'remq', u'remq*', u'remv', u'remv*', - u'rename-contract', u'rename-file-or-directory', - u'rename-transformer-target', u'rename-transformer?', u'replace-evt', - u'reroot-path', u'resolve-path', u'resolved-module-path-name', - u'resolved-module-path?', u'rest', u'reverse', u'round', u'second', - u'seconds->date', u'security-guard?', u'semaphore-peek-evt', - u'semaphore-peek-evt?', u'semaphore-post', u'semaphore-try-wait?', - u'semaphore-wait', u'semaphore-wait/enable-break', u'semaphore?', - u'sequence->list', u'sequence->stream', u'sequence-add-between', - u'sequence-andmap', u'sequence-append', u'sequence-count', - u'sequence-filter', u'sequence-fold', u'sequence-for-each', - u'sequence-generate', u'sequence-generate*', u'sequence-length', - u'sequence-map', u'sequence-ormap', u'sequence-ref', u'sequence-tail', - u'sequence/c', u'sequence?', u'set', u'set!-transformer-procedure', - u'set!-transformer?', u'set->list', u'set->stream', u'set-add', u'set-add!', - u'set-box!', u'set-clear', u'set-clear!', u'set-copy', u'set-copy-clear', - u'set-count', u'set-empty?', u'set-eq?', u'set-equal?', u'set-eqv?', - u'set-first', u'set-for-each', u'set-implements/c', u'set-implements?', - u'set-intersect', u'set-intersect!', u'set-map', u'set-mcar!', u'set-mcdr!', - u'set-member?', u'set-mutable?', u'set-phantom-bytes!', - u'set-port-next-location!', u'set-remove', u'set-remove!', u'set-rest', - u'set-some-basic-contracts!', u'set-subtract', u'set-subtract!', - u'set-symmetric-difference', u'set-symmetric-difference!', u'set-union', - u'set-union!', u'set-weak?', u'set/c', u'set=?', u'set?', u'seteq', u'seteqv', - u'seventh', u'sgn', u'shared-bytes', u'shell-execute', u'shrink-path-wrt', - u'shuffle', u'simple-form-path', u'simplify-path', u'sin', - u'single-flonum?', u'sinh', u'sixth', u'skip-projection-wrapper?', u'sleep', - u'some-system-path->string', u'sort', u'special-comment-value', - u'special-comment?', u'special-filter-input-port', u'split-at', - u'split-at-right', u'split-common-prefix', u'split-path', u'splitf-at', - u'splitf-at-right', u'sqr', u'sqrt', u'srcloc', u'srcloc->string', - u'srcloc-column', u'srcloc-line', u'srcloc-position', u'srcloc-source', - u'srcloc-span', u'srcloc?', u'stop-after', u'stop-before', u'stream->list', - u'stream-add-between', u'stream-andmap', u'stream-append', u'stream-count', - u'stream-empty?', u'stream-filter', u'stream-first', u'stream-fold', - u'stream-for-each', u'stream-length', u'stream-map', u'stream-ormap', - u'stream-ref', u'stream-rest', u'stream-tail', u'stream/c', u'stream?', - u'string', u'string->bytes/latin-1', u'string->bytes/locale', - u'string->bytes/utf-8', u'string->immutable-string', u'string->keyword', - u'string->list', u'string->number', u'string->path', - u'string->path-element', u'string->some-system-path', u'string->symbol', - u'string->uninterned-symbol', u'string->unreadable-symbol', - u'string-append', u'string-append*', u'string-ci<=?', u'string-ci<?', - u'string-ci=?', u'string-ci>=?', u'string-ci>?', u'string-contains?', - u'string-copy', u'string-copy!', u'string-downcase', - u'string-environment-variable-name?', u'string-fill!', u'string-foldcase', - u'string-join', u'string-len/c', u'string-length', u'string-locale-ci<?', - u'string-locale-ci=?', u'string-locale-ci>?', u'string-locale-downcase', - u'string-locale-upcase', u'string-locale<?', u'string-locale=?', - u'string-locale>?', u'string-no-nuls?', u'string-normalize-nfc', - u'string-normalize-nfd', u'string-normalize-nfkc', - u'string-normalize-nfkd', u'string-normalize-spaces', u'string-port?', - u'string-prefix?', u'string-ref', u'string-replace', u'string-set!', - u'string-split', u'string-suffix?', u'string-titlecase', u'string-trim', - u'string-upcase', u'string-utf-8-length', u'string<=?', u'string<?', - u'string=?', u'string>=?', u'string>?', u'string?', u'struct->vector', - u'struct-accessor-procedure?', u'struct-constructor-procedure?', - u'struct-info', u'struct-mutator-procedure?', - u'struct-predicate-procedure?', u'struct-type-info', - u'struct-type-make-constructor', u'struct-type-make-predicate', - u'struct-type-property-accessor-procedure?', u'struct-type-property/c', - u'struct-type-property?', u'struct-type?', u'struct:arity-at-least', - u'struct:arrow-contract-info', u'struct:date', u'struct:date*', - u'struct:exn', u'struct:exn:break', u'struct:exn:break:hang-up', - u'struct:exn:break:terminate', u'struct:exn:fail', - u'struct:exn:fail:contract', u'struct:exn:fail:contract:arity', - u'struct:exn:fail:contract:blame', - u'struct:exn:fail:contract:continuation', - u'struct:exn:fail:contract:divide-by-zero', - u'struct:exn:fail:contract:non-fixnum-result', - u'struct:exn:fail:contract:variable', u'struct:exn:fail:filesystem', - u'struct:exn:fail:filesystem:errno', - u'struct:exn:fail:filesystem:exists', - u'struct:exn:fail:filesystem:missing-module', - u'struct:exn:fail:filesystem:version', u'struct:exn:fail:network', - u'struct:exn:fail:network:errno', u'struct:exn:fail:object', - u'struct:exn:fail:out-of-memory', u'struct:exn:fail:read', - u'struct:exn:fail:read:eof', u'struct:exn:fail:read:non-char', - u'struct:exn:fail:syntax', u'struct:exn:fail:syntax:missing-module', - u'struct:exn:fail:syntax:unbound', u'struct:exn:fail:unsupported', - u'struct:exn:fail:user', u'struct:srcloc', - u'struct:wrapped-extra-arg-arrow', u'struct?', u'sub1', u'subbytes', - u'subclass?', u'subclass?/c', u'subprocess', u'subprocess-group-enabled', - u'subprocess-kill', u'subprocess-pid', u'subprocess-status', - u'subprocess-wait', u'subprocess?', u'subset?', u'substring', u'suggest/c', - u'symbol->string', u'symbol-interned?', u'symbol-unreadable?', u'symbol<?', - u'symbol=?', u'symbol?', u'symbols', u'sync', u'sync/enable-break', - u'sync/timeout', u'sync/timeout/enable-break', u'syntax->datum', - u'syntax->list', u'syntax-arm', u'syntax-column', u'syntax-debug-info', - u'syntax-disarm', u'syntax-e', u'syntax-line', - u'syntax-local-bind-syntaxes', u'syntax-local-certifier', - u'syntax-local-context', u'syntax-local-expand-expression', - u'syntax-local-get-shadower', u'syntax-local-identifier-as-binding', - u'syntax-local-introduce', u'syntax-local-lift-context', - u'syntax-local-lift-expression', u'syntax-local-lift-module', - u'syntax-local-lift-module-end-declaration', - u'syntax-local-lift-provide', u'syntax-local-lift-require', - u'syntax-local-lift-values-expression', - u'syntax-local-make-definition-context', - u'syntax-local-make-delta-introducer', - u'syntax-local-module-defined-identifiers', - u'syntax-local-module-exports', - u'syntax-local-module-required-identifiers', u'syntax-local-name', - u'syntax-local-phase-level', u'syntax-local-submodules', - u'syntax-local-transforming-module-provides?', u'syntax-local-value', - u'syntax-local-value/immediate', u'syntax-original?', u'syntax-position', - u'syntax-property', u'syntax-property-preserved?', - u'syntax-property-symbol-keys', u'syntax-protect', u'syntax-rearm', - u'syntax-recertify', u'syntax-shift-phase-level', u'syntax-source', - u'syntax-source-module', u'syntax-span', u'syntax-taint', - u'syntax-tainted?', u'syntax-track-origin', - u'syntax-transforming-module-expression?', - u'syntax-transforming-with-lifts?', u'syntax-transforming?', u'syntax/c', - u'syntax?', u'system', u'system*', u'system*/exit-code', - u'system-big-endian?', u'system-idle-evt', u'system-language+country', - u'system-library-subpath', u'system-path-convention-type', u'system-type', - u'system/exit-code', u'tail-marks-match?', u'take', u'take-common-prefix', - u'take-right', u'takef', u'takef-right', u'tan', u'tanh', - u'tcp-abandon-port', u'tcp-accept', u'tcp-accept-evt', - u'tcp-accept-ready?', u'tcp-accept/enable-break', u'tcp-addresses', - u'tcp-close', u'tcp-connect', u'tcp-connect/enable-break', u'tcp-listen', - u'tcp-listener?', u'tcp-port?', u'tentative-pretty-print-port-cancel', - u'tentative-pretty-print-port-transfer', u'tenth', u'terminal-port?', - u'the-unsupplied-arg', u'third', u'thread', u'thread-cell-ref', - u'thread-cell-set!', u'thread-cell-values?', u'thread-cell?', - u'thread-dead-evt', u'thread-dead?', u'thread-group?', u'thread-receive', - u'thread-receive-evt', u'thread-resume', u'thread-resume-evt', - u'thread-rewind-receive', u'thread-running?', u'thread-send', - u'thread-suspend', u'thread-suspend-evt', u'thread-try-receive', - u'thread-wait', u'thread/suspend-to-kill', u'thread?', u'time-apply', - u'touch', u'transplant-input-port', u'transplant-output-port', u'true', - u'truncate', u'udp-addresses', u'udp-bind!', u'udp-bound?', u'udp-close', - u'udp-connect!', u'udp-connected?', u'udp-multicast-interface', - u'udp-multicast-join-group!', u'udp-multicast-leave-group!', - u'udp-multicast-loopback?', u'udp-multicast-set-interface!', - u'udp-multicast-set-loopback!', u'udp-multicast-set-ttl!', - u'udp-multicast-ttl', u'udp-open-socket', u'udp-receive!', - u'udp-receive!*', u'udp-receive!-evt', u'udp-receive!/enable-break', - u'udp-receive-ready-evt', u'udp-send', u'udp-send*', u'udp-send-evt', - u'udp-send-ready-evt', u'udp-send-to', u'udp-send-to*', u'udp-send-to-evt', - u'udp-send-to/enable-break', u'udp-send/enable-break', u'udp?', u'unbox', - u'uncaught-exception-handler', u'unit?', u'unspecified-dom', - u'unsupplied-arg?', u'use-collection-link-paths', - u'use-compiled-file-paths', u'use-user-specific-search-paths', - u'user-execute-bit', u'user-read-bit', u'user-write-bit', u'value-blame', - u'value-contract', u'values', u'variable-reference->empty-namespace', - u'variable-reference->module-base-phase', - u'variable-reference->module-declaration-inspector', - u'variable-reference->module-path-index', - u'variable-reference->module-source', u'variable-reference->namespace', - u'variable-reference->phase', - u'variable-reference->resolved-module-path', - u'variable-reference-constant?', u'variable-reference?', u'vector', - u'vector->immutable-vector', u'vector->list', - u'vector->pseudo-random-generator', u'vector->pseudo-random-generator!', - u'vector->values', u'vector-append', u'vector-argmax', u'vector-argmin', - u'vector-copy', u'vector-copy!', u'vector-count', u'vector-drop', - u'vector-drop-right', u'vector-fill!', u'vector-filter', - u'vector-filter-not', u'vector-immutable', u'vector-immutable/c', - u'vector-immutableof', u'vector-length', u'vector-map', u'vector-map!', - u'vector-member', u'vector-memq', u'vector-memv', u'vector-ref', - u'vector-set!', u'vector-set*!', u'vector-set-performance-stats!', - u'vector-split-at', u'vector-split-at-right', u'vector-take', - u'vector-take-right', u'vector/c', u'vector?', u'vectorof', u'version', - u'void', u'void?', u'weak-box-value', u'weak-box?', u'weak-set', - u'weak-seteq', u'weak-seteqv', u'will-execute', u'will-executor?', - u'will-register', u'will-try-execute', u'with-input-from-bytes', - u'with-input-from-file', u'with-input-from-string', - u'with-output-to-bytes', u'with-output-to-file', u'with-output-to-string', - u'would-be-future', u'wrap-evt', u'wrapped-extra-arg-arrow', - u'wrapped-extra-arg-arrow-extra-neg-party-argument', - u'wrapped-extra-arg-arrow-real-func', u'wrapped-extra-arg-arrow?', - u'writable<%>', u'write', u'write-byte', u'write-bytes', - u'write-bytes-avail', u'write-bytes-avail*', u'write-bytes-avail-evt', - u'write-bytes-avail/enable-break', u'write-char', u'write-special', - u'write-special-avail*', u'write-special-evt', u'write-string', - u'write-to-file', u'writeln', u'xor', u'zero?', u'~.a', u'~.s', u'~.v', u'~a', - u'~e', u'~r', u'~s', u'~v' + u'*', u'*list/c', u'+', u'-', u'/', u'<', u'</c', u'<=', u'<=/c', u'=', u'=/c', + u'>', u'>/c', u'>=', u'>=/c', u'abort-current-continuation', u'abs', + u'absolute-path?', u'acos', u'add-between', u'add1', u'alarm-evt', + u'always-evt', u'and/c', u'andmap', u'angle', u'any/c', u'append', u'append*', + u'append-map', u'apply', u'argmax', u'argmin', u'arithmetic-shift', + u'arity-at-least', u'arity-at-least-value', u'arity-at-least?', + u'arity-checking-wrapper', u'arity-includes?', u'arity=?', + u'arrow-contract-info', u'arrow-contract-info-accepts-arglist', + u'arrow-contract-info-chaperone-procedure', + u'arrow-contract-info-check-first-order', u'arrow-contract-info?', + u'asin', u'assf', u'assoc', u'assq', u'assv', u'atan', + u'bad-number-of-results', u'banner', u'base->-doms/c', u'base->-rngs/c', + u'base->?', u'between/c', u'bitwise-and', u'bitwise-bit-field', + u'bitwise-bit-set?', u'bitwise-ior', u'bitwise-not', u'bitwise-xor', + u'blame-add-car-context', u'blame-add-cdr-context', u'blame-add-context', + u'blame-add-missing-party', u'blame-add-nth-arg-context', + u'blame-add-range-context', u'blame-add-unknown-context', + u'blame-context', u'blame-contract', u'blame-fmt->-string', + u'blame-missing-party?', u'blame-negative', u'blame-original?', + u'blame-positive', u'blame-replace-negative', u'blame-source', + u'blame-swap', u'blame-swapped?', u'blame-update', u'blame-value', + u'blame?', u'boolean=?', u'boolean?', u'bound-identifier=?', u'box', + u'box-cas!', u'box-immutable', u'box-immutable/c', u'box/c', u'box?', + u'break-enabled', u'break-parameterization?', u'break-thread', + u'build-chaperone-contract-property', u'build-compound-type-name', + u'build-contract-property', u'build-flat-contract-property', + u'build-list', u'build-path', u'build-path/convention-type', + u'build-string', u'build-vector', u'byte-pregexp', u'byte-pregexp?', + u'byte-ready?', u'byte-regexp', u'byte-regexp?', u'byte?', u'bytes', + u'bytes->immutable-bytes', u'bytes->list', u'bytes->path', + u'bytes->path-element', u'bytes->string/latin-1', u'bytes->string/locale', + u'bytes->string/utf-8', u'bytes-append', u'bytes-append*', + u'bytes-close-converter', u'bytes-convert', u'bytes-convert-end', + u'bytes-converter?', u'bytes-copy', u'bytes-copy!', + u'bytes-environment-variable-name?', u'bytes-fill!', u'bytes-join', + u'bytes-length', u'bytes-no-nuls?', u'bytes-open-converter', u'bytes-ref', + u'bytes-set!', u'bytes-utf-8-index', u'bytes-utf-8-length', + u'bytes-utf-8-ref', u'bytes<?', u'bytes=?', u'bytes>?', u'bytes?', u'caaaar', + u'caaadr', u'caaar', u'caadar', u'caaddr', u'caadr', u'caar', u'cadaar', + u'cadadr', u'cadar', u'caddar', u'cadddr', u'caddr', u'cadr', + u'call-in-nested-thread', u'call-with-atomic-output-file', + u'call-with-break-parameterization', + u'call-with-composable-continuation', u'call-with-continuation-barrier', + u'call-with-continuation-prompt', u'call-with-current-continuation', + u'call-with-default-reading-parameterization', + u'call-with-escape-continuation', u'call-with-exception-handler', + u'call-with-file-lock/timeout', u'call-with-immediate-continuation-mark', + u'call-with-input-bytes', u'call-with-input-file', + u'call-with-input-file*', u'call-with-input-string', + u'call-with-output-bytes', u'call-with-output-file', + u'call-with-output-file*', u'call-with-output-string', + u'call-with-parameterization', u'call-with-semaphore', + u'call-with-semaphore/enable-break', u'call-with-values', u'call/cc', + u'call/ec', u'car', u'cartesian-product', u'cdaaar', u'cdaadr', u'cdaar', + u'cdadar', u'cdaddr', u'cdadr', u'cdar', u'cddaar', u'cddadr', u'cddar', + u'cdddar', u'cddddr', u'cdddr', u'cddr', u'cdr', u'ceiling', u'channel-get', + u'channel-put', u'channel-put-evt', u'channel-put-evt?', + u'channel-try-get', u'channel/c', u'channel?', u'chaperone-box', + u'chaperone-channel', u'chaperone-continuation-mark-key', + u'chaperone-contract-property?', u'chaperone-contract?', u'chaperone-evt', + u'chaperone-hash', u'chaperone-hash-set', u'chaperone-of?', + u'chaperone-procedure', u'chaperone-procedure*', u'chaperone-prompt-tag', + u'chaperone-struct', u'chaperone-struct-type', u'chaperone-vector', + u'chaperone?', u'char->integer', u'char-alphabetic?', u'char-blank?', + u'char-ci<=?', u'char-ci<?', u'char-ci=?', u'char-ci>=?', u'char-ci>?', + u'char-downcase', u'char-foldcase', u'char-general-category', + u'char-graphic?', u'char-in', u'char-in/c', u'char-iso-control?', + u'char-lower-case?', u'char-numeric?', u'char-punctuation?', + u'char-ready?', u'char-symbolic?', u'char-title-case?', u'char-titlecase', + u'char-upcase', u'char-upper-case?', u'char-utf-8-length', + u'char-whitespace?', u'char<=?', u'char<?', u'char=?', u'char>=?', u'char>?', + u'char?', u'check-duplicate-identifier', u'check-duplicates', + u'checked-procedure-check-and-extract', u'choice-evt', + u'class->interface', u'class-info', u'class-seal', u'class-unseal', + u'class?', u'cleanse-path', u'close-input-port', u'close-output-port', + u'coerce-chaperone-contract', u'coerce-chaperone-contracts', + u'coerce-contract', u'coerce-contract/f', u'coerce-contracts', + u'coerce-flat-contract', u'coerce-flat-contracts', u'collect-garbage', + u'collection-file-path', u'collection-path', u'combinations', u'compile', + u'compile-allow-set!-undefined', u'compile-context-preservation-enabled', + u'compile-enforce-module-constants', u'compile-syntax', + u'compiled-expression-recompile', u'compiled-expression?', + u'compiled-module-expression?', u'complete-path?', u'complex?', u'compose', + u'compose1', u'conjoin', u'conjugate', u'cons', u'cons/c', u'cons?', u'const', + u'continuation-mark-key/c', u'continuation-mark-key?', + u'continuation-mark-set->context', u'continuation-mark-set->list', + u'continuation-mark-set->list*', u'continuation-mark-set-first', + u'continuation-mark-set?', u'continuation-marks', + u'continuation-prompt-available?', u'continuation-prompt-tag?', + u'continuation?', u'contract-continuation-mark-key', + u'contract-custom-write-property-proc', u'contract-exercise', + u'contract-first-order', u'contract-first-order-passes?', + u'contract-late-neg-projection', u'contract-name', u'contract-proc', + u'contract-projection', u'contract-property?', + u'contract-random-generate', u'contract-random-generate-fail', + u'contract-random-generate-fail?', + u'contract-random-generate-get-current-environment', + u'contract-random-generate-stash', u'contract-random-generate/choose', + u'contract-stronger?', u'contract-struct-exercise', + u'contract-struct-generate', u'contract-struct-late-neg-projection', + u'contract-struct-list-contract?', u'contract-val-first-projection', + u'contract?', u'convert-stream', u'copy-directory/files', u'copy-file', + u'copy-port', u'cos', u'cosh', u'count', u'current-blame-format', + u'current-break-parameterization', u'current-code-inspector', + u'current-command-line-arguments', u'current-compile', + u'current-compiled-file-roots', u'current-continuation-marks', + u'current-contract-region', u'current-custodian', u'current-directory', + u'current-directory-for-user', u'current-drive', + u'current-environment-variables', u'current-error-port', u'current-eval', + u'current-evt-pseudo-random-generator', + u'current-force-delete-permissions', u'current-future', + u'current-gc-milliseconds', u'current-get-interaction-input-port', + u'current-inexact-milliseconds', u'current-input-port', + u'current-inspector', u'current-library-collection-links', + u'current-library-collection-paths', u'current-load', + u'current-load-extension', u'current-load-relative-directory', + u'current-load/use-compiled', u'current-locale', u'current-logger', + u'current-memory-use', u'current-milliseconds', + u'current-module-declare-name', u'current-module-declare-source', + u'current-module-name-resolver', u'current-module-path-for-load', + u'current-namespace', u'current-output-port', u'current-parameterization', + u'current-plumber', u'current-preserved-thread-cell-values', + u'current-print', u'current-process-milliseconds', u'current-prompt-read', + u'current-pseudo-random-generator', u'current-read-interaction', + u'current-reader-guard', u'current-readtable', u'current-seconds', + u'current-security-guard', u'current-subprocess-custodian-mode', + u'current-thread', u'current-thread-group', + u'current-thread-initial-stack-size', + u'current-write-relative-directory', u'curry', u'curryr', + u'custodian-box-value', u'custodian-box?', u'custodian-limit-memory', + u'custodian-managed-list', u'custodian-memory-accounting-available?', + u'custodian-require-memory', u'custodian-shutdown-all', u'custodian?', + u'custom-print-quotable-accessor', u'custom-print-quotable?', + u'custom-write-accessor', u'custom-write-property-proc', u'custom-write?', + u'date', u'date*', u'date*-nanosecond', u'date*-time-zone-name', u'date*?', + u'date-day', u'date-dst?', u'date-hour', u'date-minute', u'date-month', + u'date-second', u'date-time-zone-offset', u'date-week-day', u'date-year', + u'date-year-day', u'date?', u'datum->syntax', u'datum-intern-literal', + u'default-continuation-prompt-tag', u'degrees->radians', + u'delete-directory', u'delete-directory/files', u'delete-file', + u'denominator', u'dict->list', u'dict-can-functional-set?', + u'dict-can-remove-keys?', u'dict-clear', u'dict-clear!', u'dict-copy', + u'dict-count', u'dict-empty?', u'dict-for-each', u'dict-has-key?', + u'dict-implements/c', u'dict-implements?', u'dict-iter-contract', + u'dict-iterate-first', u'dict-iterate-key', u'dict-iterate-next', + u'dict-iterate-value', u'dict-key-contract', u'dict-keys', u'dict-map', + u'dict-mutable?', u'dict-ref', u'dict-ref!', u'dict-remove', + u'dict-remove!', u'dict-set', u'dict-set!', u'dict-set*', u'dict-set*!', + u'dict-update', u'dict-update!', u'dict-value-contract', u'dict-values', + u'dict?', u'directory-exists?', u'directory-list', u'disjoin', u'display', + u'display-lines', u'display-lines-to-file', u'display-to-file', + u'displayln', u'double-flonum?', u'drop', u'drop-common-prefix', + u'drop-right', u'dropf', u'dropf-right', u'dump-memory-stats', + u'dup-input-port', u'dup-output-port', u'dynamic->*', u'dynamic-get-field', + u'dynamic-object/c', u'dynamic-place', u'dynamic-place*', + u'dynamic-require', u'dynamic-require-for-syntax', u'dynamic-send', + u'dynamic-set-field!', u'dynamic-wind', u'eighth', u'empty', + u'empty-sequence', u'empty-stream', u'empty?', + u'environment-variables-copy', u'environment-variables-names', + u'environment-variables-ref', u'environment-variables-set!', + u'environment-variables?', u'eof', u'eof-evt', u'eof-object?', + u'ephemeron-value', u'ephemeron?', u'eprintf', u'eq-contract-val', + u'eq-contract?', u'eq-hash-code', u'eq?', u'equal-contract-val', + u'equal-contract?', u'equal-hash-code', u'equal-secondary-hash-code', + u'equal<%>', u'equal?', u'equal?/recur', u'eqv-hash-code', u'eqv?', u'error', + u'error-display-handler', u'error-escape-handler', + u'error-print-context-length', u'error-print-source-location', + u'error-print-width', u'error-value->string-handler', u'eval', + u'eval-jit-enabled', u'eval-syntax', u'even?', u'evt/c', u'evt?', + u'exact->inexact', u'exact-ceiling', u'exact-floor', u'exact-integer?', + u'exact-nonnegative-integer?', u'exact-positive-integer?', u'exact-round', + u'exact-truncate', u'exact?', u'executable-yield-handler', u'exit', + u'exit-handler', u'exn', u'exn-continuation-marks', u'exn-message', + u'exn:break', u'exn:break-continuation', u'exn:break:hang-up', + u'exn:break:hang-up?', u'exn:break:terminate', u'exn:break:terminate?', + u'exn:break?', u'exn:fail', u'exn:fail:contract', + u'exn:fail:contract:arity', u'exn:fail:contract:arity?', + u'exn:fail:contract:blame', u'exn:fail:contract:blame-object', + u'exn:fail:contract:blame?', u'exn:fail:contract:continuation', + u'exn:fail:contract:continuation?', u'exn:fail:contract:divide-by-zero', + u'exn:fail:contract:divide-by-zero?', + u'exn:fail:contract:non-fixnum-result', + u'exn:fail:contract:non-fixnum-result?', u'exn:fail:contract:variable', + u'exn:fail:contract:variable-id', u'exn:fail:contract:variable?', + u'exn:fail:contract?', u'exn:fail:filesystem', + u'exn:fail:filesystem:errno', u'exn:fail:filesystem:errno-errno', + u'exn:fail:filesystem:errno?', u'exn:fail:filesystem:exists', + u'exn:fail:filesystem:exists?', u'exn:fail:filesystem:missing-module', + u'exn:fail:filesystem:missing-module-path', + u'exn:fail:filesystem:missing-module?', u'exn:fail:filesystem:version', + u'exn:fail:filesystem:version?', u'exn:fail:filesystem?', + u'exn:fail:network', u'exn:fail:network:errno', + u'exn:fail:network:errno-errno', u'exn:fail:network:errno?', + u'exn:fail:network?', u'exn:fail:object', u'exn:fail:object?', + u'exn:fail:out-of-memory', u'exn:fail:out-of-memory?', u'exn:fail:read', + u'exn:fail:read-srclocs', u'exn:fail:read:eof', u'exn:fail:read:eof?', + u'exn:fail:read:non-char', u'exn:fail:read:non-char?', u'exn:fail:read?', + u'exn:fail:syntax', u'exn:fail:syntax-exprs', + u'exn:fail:syntax:missing-module', + u'exn:fail:syntax:missing-module-path', + u'exn:fail:syntax:missing-module?', u'exn:fail:syntax:unbound', + u'exn:fail:syntax:unbound?', u'exn:fail:syntax?', u'exn:fail:unsupported', + u'exn:fail:unsupported?', u'exn:fail:user', u'exn:fail:user?', + u'exn:fail?', u'exn:misc:match?', u'exn:missing-module-accessor', + u'exn:missing-module?', u'exn:srclocs-accessor', u'exn:srclocs?', u'exn?', + u'exp', u'expand', u'expand-once', u'expand-syntax', u'expand-syntax-once', + u'expand-syntax-to-top-form', u'expand-to-top-form', u'expand-user-path', + u'explode-path', u'expt', u'externalizable<%>', u'failure-result/c', + u'false?', u'field-names', u'fifth', u'file->bytes', u'file->bytes-lines', + u'file->lines', u'file->list', u'file->string', u'file->value', + u'file-exists?', u'file-name-from-path', u'file-or-directory-identity', + u'file-or-directory-modify-seconds', u'file-or-directory-permissions', + u'file-position', u'file-position*', u'file-size', + u'file-stream-buffer-mode', u'file-stream-port?', u'file-truncate', + u'filename-extension', u'filesystem-change-evt', + u'filesystem-change-evt-cancel', u'filesystem-change-evt?', + u'filesystem-root-list', u'filter', u'filter-map', u'filter-not', + u'filter-read-input-port', u'find-executable-path', u'find-files', + u'find-library-collection-links', u'find-library-collection-paths', + u'find-relative-path', u'find-system-path', u'findf', u'first', + u'first-or/c', u'fixnum?', u'flat-contract', u'flat-contract-predicate', + u'flat-contract-property?', u'flat-contract?', u'flat-named-contract', + u'flatten', u'floating-point-bytes->real', u'flonum?', u'floor', + u'flush-output', u'fold-files', u'foldl', u'foldr', u'for-each', u'force', + u'format', u'fourth', u'fprintf', u'free-identifier=?', + u'free-label-identifier=?', u'free-template-identifier=?', + u'free-transformer-identifier=?', u'fsemaphore-count', u'fsemaphore-post', + u'fsemaphore-try-wait?', u'fsemaphore-wait', u'fsemaphore?', u'future', + u'future?', u'futures-enabled?', u'gcd', u'generate-member-key', + u'generate-temporaries', u'generic-set?', u'generic?', u'gensym', + u'get-output-bytes', u'get-output-string', u'get-preference', + u'get/build-late-neg-projection', u'get/build-val-first-projection', + u'getenv', u'global-port-print-handler', u'group-by', u'group-execute-bit', + u'group-read-bit', u'group-write-bit', u'guard-evt', u'handle-evt', + u'handle-evt?', u'has-blame?', u'has-contract?', u'hash', u'hash->list', + u'hash-clear', u'hash-clear!', u'hash-copy', u'hash-copy-clear', + u'hash-count', u'hash-empty?', u'hash-eq?', u'hash-equal?', u'hash-eqv?', + u'hash-for-each', u'hash-has-key?', u'hash-iterate-first', + u'hash-iterate-key', u'hash-iterate-key+value', u'hash-iterate-next', + u'hash-iterate-pair', u'hash-iterate-value', u'hash-keys', u'hash-map', + u'hash-placeholder?', u'hash-ref', u'hash-ref!', u'hash-remove', + u'hash-remove!', u'hash-set', u'hash-set!', u'hash-set*', u'hash-set*!', + u'hash-update', u'hash-update!', u'hash-values', u'hash-weak?', u'hash/c', + u'hash?', u'hasheq', u'hasheqv', u'identifier-binding', + u'identifier-binding-symbol', u'identifier-label-binding', + u'identifier-prune-lexical-context', + u'identifier-prune-to-source-module', + u'identifier-remove-from-definition-context', + u'identifier-template-binding', u'identifier-transformer-binding', + u'identifier?', u'identity', u'if/c', u'imag-part', u'immutable?', + u'impersonate-box', u'impersonate-channel', + u'impersonate-continuation-mark-key', u'impersonate-hash', + u'impersonate-hash-set', u'impersonate-procedure', + u'impersonate-procedure*', u'impersonate-prompt-tag', + u'impersonate-struct', u'impersonate-vector', u'impersonator-contract?', + u'impersonator-ephemeron', u'impersonator-of?', + u'impersonator-prop:application-mark', u'impersonator-prop:blame', + u'impersonator-prop:contracted', + u'impersonator-property-accessor-procedure?', u'impersonator-property?', + u'impersonator?', u'implementation?', u'implementation?/c', u'in-bytes', + u'in-bytes-lines', u'in-combinations', u'in-cycle', u'in-dict', + u'in-dict-keys', u'in-dict-pairs', u'in-dict-values', u'in-directory', + u'in-hash', u'in-hash-keys', u'in-hash-pairs', u'in-hash-values', + u'in-immutable-hash', u'in-immutable-hash-keys', + u'in-immutable-hash-pairs', u'in-immutable-hash-values', + u'in-immutable-set', u'in-indexed', u'in-input-port-bytes', + u'in-input-port-chars', u'in-lines', u'in-list', u'in-mlist', + u'in-mutable-hash', u'in-mutable-hash-keys', u'in-mutable-hash-pairs', + u'in-mutable-hash-values', u'in-mutable-set', u'in-naturals', + u'in-parallel', u'in-permutations', u'in-port', u'in-producer', u'in-range', + u'in-sequences', u'in-set', u'in-slice', u'in-stream', u'in-string', + u'in-syntax', u'in-value', u'in-values*-sequence', u'in-values-sequence', + u'in-vector', u'in-weak-hash', u'in-weak-hash-keys', u'in-weak-hash-pairs', + u'in-weak-hash-values', u'in-weak-set', u'inexact->exact', + u'inexact-real?', u'inexact?', u'infinite?', u'input-port-append', + u'input-port?', u'inspector?', u'instanceof/c', u'integer->char', + u'integer->integer-bytes', u'integer-bytes->integer', u'integer-in', + u'integer-length', u'integer-sqrt', u'integer-sqrt/remainder', u'integer?', + u'interface->method-names', u'interface-extension?', u'interface?', + u'internal-definition-context-binding-identifiers', + u'internal-definition-context-introduce', + u'internal-definition-context-seal', u'internal-definition-context?', + u'is-a?', u'is-a?/c', u'keyword->string', u'keyword-apply', u'keyword<?', + u'keyword?', u'keywords-match', u'kill-thread', u'last', u'last-pair', + u'lcm', u'length', u'liberal-define-context?', u'link-exists?', u'list', + u'list*', u'list*of', u'list->bytes', u'list->mutable-set', + u'list->mutable-seteq', u'list->mutable-seteqv', u'list->set', + u'list->seteq', u'list->seteqv', u'list->string', u'list->vector', + u'list->weak-set', u'list->weak-seteq', u'list->weak-seteqv', + u'list-contract?', u'list-prefix?', u'list-ref', u'list-set', u'list-tail', + u'list-update', u'list/c', u'list?', u'listen-port-number?', u'listof', + u'load', u'load-extension', u'load-on-demand-enabled', u'load-relative', + u'load-relative-extension', u'load/cd', u'load/use-compiled', + u'local-expand', u'local-expand/capture-lifts', + u'local-transformer-expand', u'local-transformer-expand/capture-lifts', + u'locale-string-encoding', u'log', u'log-all-levels', u'log-level-evt', + u'log-level?', u'log-max-level', u'log-message', u'log-receiver?', + u'logger-name', u'logger?', u'magnitude', u'make-arity-at-least', + u'make-base-empty-namespace', u'make-base-namespace', u'make-bytes', + u'make-channel', u'make-chaperone-contract', + u'make-continuation-mark-key', u'make-continuation-prompt-tag', + u'make-contract', u'make-custodian', u'make-custodian-box', + u'make-custom-hash', u'make-custom-hash-types', u'make-custom-set', + u'make-custom-set-types', u'make-date', u'make-date*', + u'make-derived-parameter', u'make-directory', u'make-directory*', + u'make-do-sequence', u'make-empty-namespace', + u'make-environment-variables', u'make-ephemeron', u'make-exn', + u'make-exn:break', u'make-exn:break:hang-up', u'make-exn:break:terminate', + u'make-exn:fail', u'make-exn:fail:contract', + u'make-exn:fail:contract:arity', u'make-exn:fail:contract:blame', + u'make-exn:fail:contract:continuation', + u'make-exn:fail:contract:divide-by-zero', + u'make-exn:fail:contract:non-fixnum-result', + u'make-exn:fail:contract:variable', u'make-exn:fail:filesystem', + u'make-exn:fail:filesystem:errno', u'make-exn:fail:filesystem:exists', + u'make-exn:fail:filesystem:missing-module', + u'make-exn:fail:filesystem:version', u'make-exn:fail:network', + u'make-exn:fail:network:errno', u'make-exn:fail:object', + u'make-exn:fail:out-of-memory', u'make-exn:fail:read', + u'make-exn:fail:read:eof', u'make-exn:fail:read:non-char', + u'make-exn:fail:syntax', u'make-exn:fail:syntax:missing-module', + u'make-exn:fail:syntax:unbound', u'make-exn:fail:unsupported', + u'make-exn:fail:user', u'make-file-or-directory-link', + u'make-flat-contract', u'make-fsemaphore', u'make-generic', + u'make-handle-get-preference-locked', u'make-hash', + u'make-hash-placeholder', u'make-hasheq', u'make-hasheq-placeholder', + u'make-hasheqv', u'make-hasheqv-placeholder', + u'make-immutable-custom-hash', u'make-immutable-hash', + u'make-immutable-hasheq', u'make-immutable-hasheqv', + u'make-impersonator-property', u'make-input-port', + u'make-input-port/read-to-peek', u'make-inspector', + u'make-keyword-procedure', u'make-known-char-range-list', + u'make-limited-input-port', u'make-list', u'make-lock-file-name', + u'make-log-receiver', u'make-logger', u'make-mixin-contract', + u'make-mutable-custom-set', u'make-none/c', u'make-object', + u'make-output-port', u'make-parameter', u'make-parent-directory*', + u'make-phantom-bytes', u'make-pipe', u'make-pipe-with-specials', + u'make-placeholder', u'make-plumber', u'make-polar', u'make-prefab-struct', + u'make-primitive-class', u'make-proj-contract', + u'make-pseudo-random-generator', u'make-reader-graph', u'make-readtable', + u'make-rectangular', u'make-rename-transformer', + u'make-resolved-module-path', u'make-security-guard', u'make-semaphore', + u'make-set!-transformer', u'make-shared-bytes', u'make-sibling-inspector', + u'make-special-comment', u'make-srcloc', u'make-string', + u'make-struct-field-accessor', u'make-struct-field-mutator', + u'make-struct-type', u'make-struct-type-property', + u'make-syntax-delta-introducer', u'make-syntax-introducer', + u'make-temporary-file', u'make-tentative-pretty-print-output-port', + u'make-thread-cell', u'make-thread-group', u'make-vector', + u'make-weak-box', u'make-weak-custom-hash', u'make-weak-custom-set', + u'make-weak-hash', u'make-weak-hasheq', u'make-weak-hasheqv', + u'make-will-executor', u'map', u'match-equality-test', + u'matches-arity-exactly?', u'max', u'mcar', u'mcdr', u'mcons', u'member', + u'member-name-key-hash-code', u'member-name-key=?', u'member-name-key?', + u'memf', u'memq', u'memv', u'merge-input', u'method-in-interface?', u'min', + u'mixin-contract', u'module->exports', u'module->imports', + u'module->language-info', u'module->namespace', + u'module-compiled-cross-phase-persistent?', u'module-compiled-exports', + u'module-compiled-imports', u'module-compiled-language-info', + u'module-compiled-name', u'module-compiled-submodules', + u'module-declared?', u'module-path-index-join', + u'module-path-index-resolve', u'module-path-index-split', + u'module-path-index-submodule', u'module-path-index?', u'module-path?', + u'module-predefined?', u'module-provide-protected?', u'modulo', u'mpair?', + u'mutable-set', u'mutable-seteq', u'mutable-seteqv', u'n->th', + u'nack-guard-evt', u'namespace-anchor->empty-namespace', + u'namespace-anchor->namespace', u'namespace-anchor?', + u'namespace-attach-module', u'namespace-attach-module-declaration', + u'namespace-base-phase', u'namespace-mapped-symbols', + u'namespace-module-identifier', u'namespace-module-registry', + u'namespace-require', u'namespace-require/constant', + u'namespace-require/copy', u'namespace-require/expansion-time', + u'namespace-set-variable-value!', u'namespace-symbol->identifier', + u'namespace-syntax-introduce', u'namespace-undefine-variable!', + u'namespace-unprotect-module', u'namespace-variable-value', u'namespace?', + u'nan?', u'natural-number/c', u'negate', u'negative?', u'never-evt', + u'new-∀/c', u'new-∃/c', u'newline', u'ninth', u'non-empty-listof', + u'non-empty-string?', u'none/c', u'normal-case-path', u'normalize-arity', + u'normalize-path', u'normalized-arity?', u'not', u'not/c', u'null', u'null?', + u'number->string', u'number?', u'numerator', u'object%', u'object->vector', + u'object-info', u'object-interface', u'object-method-arity-includes?', + u'object-name', u'object-or-false=?', u'object=?', u'object?', u'odd?', + u'one-of/c', u'open-input-bytes', u'open-input-file', + u'open-input-output-file', u'open-input-string', u'open-output-bytes', + u'open-output-file', u'open-output-nowhere', u'open-output-string', + u'or/c', u'order-of-magnitude', u'ormap', u'other-execute-bit', + u'other-read-bit', u'other-write-bit', u'output-port?', u'pair?', + u'parameter-procedure=?', u'parameter/c', u'parameter?', + u'parameterization?', u'parse-command-line', u'partition', u'path->bytes', + u'path->complete-path', u'path->directory-path', u'path->string', + u'path-add-suffix', u'path-convention-type', u'path-element->bytes', + u'path-element->string', u'path-element?', u'path-for-some-system?', + u'path-list-string->path-list', u'path-only', u'path-replace-suffix', + u'path-string?', u'path<?', u'path?', u'pathlist-closure', u'peek-byte', + u'peek-byte-or-special', u'peek-bytes', u'peek-bytes!', u'peek-bytes!-evt', + u'peek-bytes-avail!', u'peek-bytes-avail!*', u'peek-bytes-avail!-evt', + u'peek-bytes-avail!/enable-break', u'peek-bytes-evt', u'peek-char', + u'peek-char-or-special', u'peek-string', u'peek-string!', + u'peek-string!-evt', u'peek-string-evt', u'peeking-input-port', + u'permutations', u'phantom-bytes?', u'pi', u'pi.f', u'pipe-content-length', + u'place-break', u'place-channel', u'place-channel-get', + u'place-channel-put', u'place-channel-put/get', u'place-channel?', + u'place-dead-evt', u'place-enabled?', u'place-kill', u'place-location?', + u'place-message-allowed?', u'place-sleep', u'place-wait', u'place?', + u'placeholder-get', u'placeholder-set!', u'placeholder?', + u'plumber-add-flush!', u'plumber-flush-all', + u'plumber-flush-handle-remove!', u'plumber-flush-handle?', u'plumber?', + u'poll-guard-evt', u'port->bytes', u'port->bytes-lines', u'port->lines', + u'port->list', u'port->string', u'port-closed-evt', u'port-closed?', + u'port-commit-peeked', u'port-count-lines!', u'port-count-lines-enabled', + u'port-counts-lines?', u'port-display-handler', u'port-file-identity', + u'port-file-unlock', u'port-next-location', u'port-number?', + u'port-print-handler', u'port-progress-evt', + u'port-provides-progress-evts?', u'port-read-handler', + u'port-try-file-lock?', u'port-write-handler', u'port-writes-atomic?', + u'port-writes-special?', u'port?', u'positive?', u'predicate/c', + u'prefab-key->struct-type', u'prefab-key?', u'prefab-struct-key', + u'preferences-lock-file-mode', u'pregexp', u'pregexp?', u'pretty-display', + u'pretty-format', u'pretty-print', u'pretty-print-.-symbol-without-bars', + u'pretty-print-abbreviate-read-macros', u'pretty-print-columns', + u'pretty-print-current-style-table', u'pretty-print-depth', + u'pretty-print-exact-as-decimal', u'pretty-print-extend-style-table', + u'pretty-print-handler', u'pretty-print-newline', + u'pretty-print-post-print-hook', u'pretty-print-pre-print-hook', + u'pretty-print-print-hook', u'pretty-print-print-line', + u'pretty-print-remap-stylable', u'pretty-print-show-inexactness', + u'pretty-print-size-hook', u'pretty-print-style-table?', + u'pretty-printing', u'pretty-write', u'primitive-closure?', + u'primitive-result-arity', u'primitive?', u'print', u'print-as-expression', + u'print-boolean-long-form', u'print-box', u'print-graph', + u'print-hash-table', u'print-mpair-curly-braces', + u'print-pair-curly-braces', u'print-reader-abbreviations', + u'print-struct', u'print-syntax-width', u'print-unreadable', + u'print-vector-length', u'printable/c', u'printable<%>', u'printf', + u'println', u'procedure->method', u'procedure-arity', + u'procedure-arity-includes/c', u'procedure-arity-includes?', + u'procedure-arity?', u'procedure-closure-contents-eq?', + u'procedure-extract-target', u'procedure-keywords', + u'procedure-reduce-arity', u'procedure-reduce-keyword-arity', + u'procedure-rename', u'procedure-result-arity', u'procedure-specialize', + u'procedure-struct-type?', u'procedure?', u'process', u'process*', + u'process*/ports', u'process/ports', u'processor-count', u'progress-evt?', + u'promise-forced?', u'promise-running?', u'promise/c', u'promise/name?', + u'promise?', u'prop:arity-string', u'prop:arrow-contract', + u'prop:arrow-contract-get-info', u'prop:arrow-contract?', u'prop:blame', + u'prop:chaperone-contract', u'prop:checked-procedure', u'prop:contract', + u'prop:contracted', u'prop:custom-print-quotable', u'prop:custom-write', + u'prop:dict', u'prop:dict/contract', u'prop:equal+hash', u'prop:evt', + u'prop:exn:missing-module', u'prop:exn:srclocs', + u'prop:expansion-contexts', u'prop:flat-contract', + u'prop:impersonator-of', u'prop:input-port', + u'prop:liberal-define-context', u'prop:object-name', + u'prop:opt-chaperone-contract', u'prop:opt-chaperone-contract-get-test', + u'prop:opt-chaperone-contract?', u'prop:orc-contract', + u'prop:orc-contract-get-subcontracts', u'prop:orc-contract?', + u'prop:output-port', u'prop:place-location', u'prop:procedure', + u'prop:recursive-contract', u'prop:recursive-contract-unroll', + u'prop:recursive-contract?', u'prop:rename-transformer', u'prop:sequence', + u'prop:set!-transformer', u'prop:stream', u'proper-subset?', + u'pseudo-random-generator->vector', u'pseudo-random-generator-vector?', + u'pseudo-random-generator?', u'put-preferences', u'putenv', u'quotient', + u'quotient/remainder', u'radians->degrees', u'raise', + u'raise-argument-error', u'raise-arguments-error', u'raise-arity-error', + u'raise-blame-error', u'raise-contract-error', u'raise-mismatch-error', + u'raise-not-cons-blame-error', u'raise-range-error', + u'raise-result-error', u'raise-syntax-error', u'raise-type-error', + u'raise-user-error', u'random', u'random-seed', u'range', u'rational?', + u'rationalize', u'read', u'read-accept-bar-quote', u'read-accept-box', + u'read-accept-compiled', u'read-accept-dot', u'read-accept-graph', + u'read-accept-infix-dot', u'read-accept-lang', u'read-accept-quasiquote', + u'read-accept-reader', u'read-byte', u'read-byte-or-special', + u'read-bytes', u'read-bytes!', u'read-bytes!-evt', u'read-bytes-avail!', + u'read-bytes-avail!*', u'read-bytes-avail!-evt', + u'read-bytes-avail!/enable-break', u'read-bytes-evt', u'read-bytes-line', + u'read-bytes-line-evt', u'read-case-sensitive', u'read-cdot', u'read-char', + u'read-char-or-special', u'read-curly-brace-as-paren', + u'read-curly-brace-with-tag', u'read-decimal-as-inexact', + u'read-eval-print-loop', u'read-language', u'read-line', u'read-line-evt', + u'read-on-demand-source', u'read-square-bracket-as-paren', + u'read-square-bracket-with-tag', u'read-string', u'read-string!', + u'read-string!-evt', u'read-string-evt', u'read-syntax', + u'read-syntax/recursive', u'read/recursive', u'readtable-mapping', + u'readtable?', u'real->decimal-string', u'real->double-flonum', + u'real->floating-point-bytes', u'real->single-flonum', u'real-in', + u'real-part', u'real?', u'reencode-input-port', u'reencode-output-port', + u'regexp', u'regexp-match', u'regexp-match*', u'regexp-match-evt', + u'regexp-match-exact?', u'regexp-match-peek', + u'regexp-match-peek-immediate', u'regexp-match-peek-positions', + u'regexp-match-peek-positions*', + u'regexp-match-peek-positions-immediate', + u'regexp-match-peek-positions-immediate/end', + u'regexp-match-peek-positions/end', u'regexp-match-positions', + u'regexp-match-positions*', u'regexp-match-positions/end', + u'regexp-match/end', u'regexp-match?', u'regexp-max-lookbehind', + u'regexp-quote', u'regexp-replace', u'regexp-replace*', + u'regexp-replace-quote', u'regexp-replaces', u'regexp-split', + u'regexp-try-match', u'regexp?', u'relative-path?', u'relocate-input-port', + u'relocate-output-port', u'remainder', u'remf', u'remf*', u'remove', + u'remove*', u'remove-duplicates', u'remq', u'remq*', u'remv', u'remv*', + u'rename-contract', u'rename-file-or-directory', + u'rename-transformer-target', u'rename-transformer?', u'replace-evt', + u'reroot-path', u'resolve-path', u'resolved-module-path-name', + u'resolved-module-path?', u'rest', u'reverse', u'round', u'second', + u'seconds->date', u'security-guard?', u'semaphore-peek-evt', + u'semaphore-peek-evt?', u'semaphore-post', u'semaphore-try-wait?', + u'semaphore-wait', u'semaphore-wait/enable-break', u'semaphore?', + u'sequence->list', u'sequence->stream', u'sequence-add-between', + u'sequence-andmap', u'sequence-append', u'sequence-count', + u'sequence-filter', u'sequence-fold', u'sequence-for-each', + u'sequence-generate', u'sequence-generate*', u'sequence-length', + u'sequence-map', u'sequence-ormap', u'sequence-ref', u'sequence-tail', + u'sequence/c', u'sequence?', u'set', u'set!-transformer-procedure', + u'set!-transformer?', u'set->list', u'set->stream', u'set-add', u'set-add!', + u'set-box!', u'set-clear', u'set-clear!', u'set-copy', u'set-copy-clear', + u'set-count', u'set-empty?', u'set-eq?', u'set-equal?', u'set-eqv?', + u'set-first', u'set-for-each', u'set-implements/c', u'set-implements?', + u'set-intersect', u'set-intersect!', u'set-map', u'set-mcar!', u'set-mcdr!', + u'set-member?', u'set-mutable?', u'set-phantom-bytes!', + u'set-port-next-location!', u'set-remove', u'set-remove!', u'set-rest', + u'set-some-basic-contracts!', u'set-subtract', u'set-subtract!', + u'set-symmetric-difference', u'set-symmetric-difference!', u'set-union', + u'set-union!', u'set-weak?', u'set/c', u'set=?', u'set?', u'seteq', u'seteqv', + u'seventh', u'sgn', u'shared-bytes', u'shell-execute', u'shrink-path-wrt', + u'shuffle', u'simple-form-path', u'simplify-path', u'sin', + u'single-flonum?', u'sinh', u'sixth', u'skip-projection-wrapper?', u'sleep', + u'some-system-path->string', u'sort', u'special-comment-value', + u'special-comment?', u'special-filter-input-port', u'split-at', + u'split-at-right', u'split-common-prefix', u'split-path', u'splitf-at', + u'splitf-at-right', u'sqr', u'sqrt', u'srcloc', u'srcloc->string', + u'srcloc-column', u'srcloc-line', u'srcloc-position', u'srcloc-source', + u'srcloc-span', u'srcloc?', u'stop-after', u'stop-before', u'stream->list', + u'stream-add-between', u'stream-andmap', u'stream-append', u'stream-count', + u'stream-empty?', u'stream-filter', u'stream-first', u'stream-fold', + u'stream-for-each', u'stream-length', u'stream-map', u'stream-ormap', + u'stream-ref', u'stream-rest', u'stream-tail', u'stream/c', u'stream?', + u'string', u'string->bytes/latin-1', u'string->bytes/locale', + u'string->bytes/utf-8', u'string->immutable-string', u'string->keyword', + u'string->list', u'string->number', u'string->path', + u'string->path-element', u'string->some-system-path', u'string->symbol', + u'string->uninterned-symbol', u'string->unreadable-symbol', + u'string-append', u'string-append*', u'string-ci<=?', u'string-ci<?', + u'string-ci=?', u'string-ci>=?', u'string-ci>?', u'string-contains?', + u'string-copy', u'string-copy!', u'string-downcase', + u'string-environment-variable-name?', u'string-fill!', u'string-foldcase', + u'string-join', u'string-len/c', u'string-length', u'string-locale-ci<?', + u'string-locale-ci=?', u'string-locale-ci>?', u'string-locale-downcase', + u'string-locale-upcase', u'string-locale<?', u'string-locale=?', + u'string-locale>?', u'string-no-nuls?', u'string-normalize-nfc', + u'string-normalize-nfd', u'string-normalize-nfkc', + u'string-normalize-nfkd', u'string-normalize-spaces', u'string-port?', + u'string-prefix?', u'string-ref', u'string-replace', u'string-set!', + u'string-split', u'string-suffix?', u'string-titlecase', u'string-trim', + u'string-upcase', u'string-utf-8-length', u'string<=?', u'string<?', + u'string=?', u'string>=?', u'string>?', u'string?', u'struct->vector', + u'struct-accessor-procedure?', u'struct-constructor-procedure?', + u'struct-info', u'struct-mutator-procedure?', + u'struct-predicate-procedure?', u'struct-type-info', + u'struct-type-make-constructor', u'struct-type-make-predicate', + u'struct-type-property-accessor-procedure?', u'struct-type-property/c', + u'struct-type-property?', u'struct-type?', u'struct:arity-at-least', + u'struct:arrow-contract-info', u'struct:date', u'struct:date*', + u'struct:exn', u'struct:exn:break', u'struct:exn:break:hang-up', + u'struct:exn:break:terminate', u'struct:exn:fail', + u'struct:exn:fail:contract', u'struct:exn:fail:contract:arity', + u'struct:exn:fail:contract:blame', + u'struct:exn:fail:contract:continuation', + u'struct:exn:fail:contract:divide-by-zero', + u'struct:exn:fail:contract:non-fixnum-result', + u'struct:exn:fail:contract:variable', u'struct:exn:fail:filesystem', + u'struct:exn:fail:filesystem:errno', + u'struct:exn:fail:filesystem:exists', + u'struct:exn:fail:filesystem:missing-module', + u'struct:exn:fail:filesystem:version', u'struct:exn:fail:network', + u'struct:exn:fail:network:errno', u'struct:exn:fail:object', + u'struct:exn:fail:out-of-memory', u'struct:exn:fail:read', + u'struct:exn:fail:read:eof', u'struct:exn:fail:read:non-char', + u'struct:exn:fail:syntax', u'struct:exn:fail:syntax:missing-module', + u'struct:exn:fail:syntax:unbound', u'struct:exn:fail:unsupported', + u'struct:exn:fail:user', u'struct:srcloc', + u'struct:wrapped-extra-arg-arrow', u'struct?', u'sub1', u'subbytes', + u'subclass?', u'subclass?/c', u'subprocess', u'subprocess-group-enabled', + u'subprocess-kill', u'subprocess-pid', u'subprocess-status', + u'subprocess-wait', u'subprocess?', u'subset?', u'substring', u'suggest/c', + u'symbol->string', u'symbol-interned?', u'symbol-unreadable?', u'symbol<?', + u'symbol=?', u'symbol?', u'symbols', u'sync', u'sync/enable-break', + u'sync/timeout', u'sync/timeout/enable-break', u'syntax->datum', + u'syntax->list', u'syntax-arm', u'syntax-column', u'syntax-debug-info', + u'syntax-disarm', u'syntax-e', u'syntax-line', + u'syntax-local-bind-syntaxes', u'syntax-local-certifier', + u'syntax-local-context', u'syntax-local-expand-expression', + u'syntax-local-get-shadower', u'syntax-local-identifier-as-binding', + u'syntax-local-introduce', u'syntax-local-lift-context', + u'syntax-local-lift-expression', u'syntax-local-lift-module', + u'syntax-local-lift-module-end-declaration', + u'syntax-local-lift-provide', u'syntax-local-lift-require', + u'syntax-local-lift-values-expression', + u'syntax-local-make-definition-context', + u'syntax-local-make-delta-introducer', + u'syntax-local-module-defined-identifiers', + u'syntax-local-module-exports', + u'syntax-local-module-required-identifiers', u'syntax-local-name', + u'syntax-local-phase-level', u'syntax-local-submodules', + u'syntax-local-transforming-module-provides?', u'syntax-local-value', + u'syntax-local-value/immediate', u'syntax-original?', u'syntax-position', + u'syntax-property', u'syntax-property-preserved?', + u'syntax-property-symbol-keys', u'syntax-protect', u'syntax-rearm', + u'syntax-recertify', u'syntax-shift-phase-level', u'syntax-source', + u'syntax-source-module', u'syntax-span', u'syntax-taint', + u'syntax-tainted?', u'syntax-track-origin', + u'syntax-transforming-module-expression?', + u'syntax-transforming-with-lifts?', u'syntax-transforming?', u'syntax/c', + u'syntax?', u'system', u'system*', u'system*/exit-code', + u'system-big-endian?', u'system-idle-evt', u'system-language+country', + u'system-library-subpath', u'system-path-convention-type', u'system-type', + u'system/exit-code', u'tail-marks-match?', u'take', u'take-common-prefix', + u'take-right', u'takef', u'takef-right', u'tan', u'tanh', + u'tcp-abandon-port', u'tcp-accept', u'tcp-accept-evt', + u'tcp-accept-ready?', u'tcp-accept/enable-break', u'tcp-addresses', + u'tcp-close', u'tcp-connect', u'tcp-connect/enable-break', u'tcp-listen', + u'tcp-listener?', u'tcp-port?', u'tentative-pretty-print-port-cancel', + u'tentative-pretty-print-port-transfer', u'tenth', u'terminal-port?', + u'the-unsupplied-arg', u'third', u'thread', u'thread-cell-ref', + u'thread-cell-set!', u'thread-cell-values?', u'thread-cell?', + u'thread-dead-evt', u'thread-dead?', u'thread-group?', u'thread-receive', + u'thread-receive-evt', u'thread-resume', u'thread-resume-evt', + u'thread-rewind-receive', u'thread-running?', u'thread-send', + u'thread-suspend', u'thread-suspend-evt', u'thread-try-receive', + u'thread-wait', u'thread/suspend-to-kill', u'thread?', u'time-apply', + u'touch', u'transplant-input-port', u'transplant-output-port', u'true', + u'truncate', u'udp-addresses', u'udp-bind!', u'udp-bound?', u'udp-close', + u'udp-connect!', u'udp-connected?', u'udp-multicast-interface', + u'udp-multicast-join-group!', u'udp-multicast-leave-group!', + u'udp-multicast-loopback?', u'udp-multicast-set-interface!', + u'udp-multicast-set-loopback!', u'udp-multicast-set-ttl!', + u'udp-multicast-ttl', u'udp-open-socket', u'udp-receive!', + u'udp-receive!*', u'udp-receive!-evt', u'udp-receive!/enable-break', + u'udp-receive-ready-evt', u'udp-send', u'udp-send*', u'udp-send-evt', + u'udp-send-ready-evt', u'udp-send-to', u'udp-send-to*', u'udp-send-to-evt', + u'udp-send-to/enable-break', u'udp-send/enable-break', u'udp?', u'unbox', + u'uncaught-exception-handler', u'unit?', u'unspecified-dom', + u'unsupplied-arg?', u'use-collection-link-paths', + u'use-compiled-file-paths', u'use-user-specific-search-paths', + u'user-execute-bit', u'user-read-bit', u'user-write-bit', u'value-blame', + u'value-contract', u'values', u'variable-reference->empty-namespace', + u'variable-reference->module-base-phase', + u'variable-reference->module-declaration-inspector', + u'variable-reference->module-path-index', + u'variable-reference->module-source', u'variable-reference->namespace', + u'variable-reference->phase', + u'variable-reference->resolved-module-path', + u'variable-reference-constant?', u'variable-reference?', u'vector', + u'vector->immutable-vector', u'vector->list', + u'vector->pseudo-random-generator', u'vector->pseudo-random-generator!', + u'vector->values', u'vector-append', u'vector-argmax', u'vector-argmin', + u'vector-copy', u'vector-copy!', u'vector-count', u'vector-drop', + u'vector-drop-right', u'vector-fill!', u'vector-filter', + u'vector-filter-not', u'vector-immutable', u'vector-immutable/c', + u'vector-immutableof', u'vector-length', u'vector-map', u'vector-map!', + u'vector-member', u'vector-memq', u'vector-memv', u'vector-ref', + u'vector-set!', u'vector-set*!', u'vector-set-performance-stats!', + u'vector-split-at', u'vector-split-at-right', u'vector-take', + u'vector-take-right', u'vector/c', u'vector?', u'vectorof', u'version', + u'void', u'void?', u'weak-box-value', u'weak-box?', u'weak-set', + u'weak-seteq', u'weak-seteqv', u'will-execute', u'will-executor?', + u'will-register', u'will-try-execute', u'with-input-from-bytes', + u'with-input-from-file', u'with-input-from-string', + u'with-output-to-bytes', u'with-output-to-file', u'with-output-to-string', + u'would-be-future', u'wrap-evt', u'wrapped-extra-arg-arrow', + u'wrapped-extra-arg-arrow-extra-neg-party-argument', + u'wrapped-extra-arg-arrow-real-func', u'wrapped-extra-arg-arrow?', + u'writable<%>', u'write', u'write-byte', u'write-bytes', + u'write-bytes-avail', u'write-bytes-avail*', u'write-bytes-avail-evt', + u'write-bytes-avail/enable-break', u'write-char', u'write-special', + u'write-special-avail*', u'write-special-evt', u'write-string', + u'write-to-file', u'writeln', u'xor', u'zero?', u'~.a', u'~.s', u'~.v', u'~a', + u'~e', u'~r', u'~s', u'~v' ) _opening_parenthesis = r'[([{]' _closing_parenthesis = r'[)\]}]' _delimiters = r'()[\]{}",\'`;\s' - _symbol = r'(?:\|[^|]*\||\\[\w\W]|[^|\\%s]+)+' % _delimiters + _symbol = r'(?:\|[^|]*\||\\[\w\W]|[^|\\%s]+)+' % _delimiters _exact_decimal_prefix = r'(?:#e)?(?:#d)?(?:#e)?' _exponent = r'(?:[defls][-+]?\d+)' _inexact_simple_no_hashes = r'(?:\d+(?:/\d+|\.\d*)?|\.\d+)' @@ -1301,16 +1301,16 @@ class RacketLexer(RegexLexer): (_inexact_simple, _delimiters), Number.Float, '#pop'), # #b - (r'(?iu)(#[ei])?#b%s' % _symbol, Number.Bin, '#pop'), + (r'(?iu)(#[ei])?#b%s' % _symbol, Number.Bin, '#pop'), # #o - (r'(?iu)(#[ei])?#o%s' % _symbol, Number.Oct, '#pop'), + (r'(?iu)(#[ei])?#o%s' % _symbol, Number.Oct, '#pop'), # #x - (r'(?iu)(#[ei])?#x%s' % _symbol, Number.Hex, '#pop'), + (r'(?iu)(#[ei])?#x%s' % _symbol, Number.Hex, '#pop'), # #i is always inexact, i.e. float - (r'(?iu)(#d)?#i%s' % _symbol, Number.Float, '#pop'), + (r'(?iu)(#d)?#i%s' % _symbol, Number.Float, '#pop'), # Strings and characters (r'#?"', String.Double, ('#pop', 'string')), @@ -1323,7 +1323,7 @@ class RacketLexer(RegexLexer): (r'#(true|false|[tTfF])', Name.Constant, '#pop'), # Keyword argument names (e.g. #:keyword) - (r'(?u)#:%s' % _symbol, Keyword.Declaration, '#pop'), + (r'(?u)#:%s' % _symbol, Keyword.Declaration, '#pop'), # Reader extensions (r'(#lang |#!)(\S+)', @@ -1400,14 +1400,14 @@ class RacketLexer(RegexLexer): class NewLispLexer(RegexLexer): """ - For `newLISP. <http://www.newlisp.org/>`_ source code (version 10.3.0). + For `newLISP. <http://www.newlisp.org/>`_ source code (version 10.3.0). .. versionadded:: 1.5 """ name = 'NewLisp' aliases = ['newlisp'] - filenames = ['*.lsp', '*.nl', '*.kif'] + filenames = ['*.lsp', '*.nl', '*.kif'] mimetypes = ['text/x-newlisp', 'application/x-newlisp'] flags = re.IGNORECASE | re.MULTILINE | re.UNICODE @@ -1537,7 +1537,7 @@ class EmacsLispLexer(RegexLexer): .. versionadded:: 2.1 """ name = 'EmacsLisp' - aliases = ['emacs', 'elisp', 'emacs-lisp'] + aliases = ['emacs', 'elisp', 'emacs-lisp'] filenames = ['*.el'] mimetypes = ['text/x-elisp', 'application/x-elisp'] @@ -2155,7 +2155,7 @@ class EmacsLispLexer(RegexLexer): (r'(t|nil)' + terminated, Name.Constant), # functions and variables - (r'\*' + symbol + r'\*', Name.Variable.Global), + (r'\*' + symbol + r'\*', Name.Variable.Global), (symbol, Name.Variable), # parentheses @@ -2185,52 +2185,52 @@ class ShenLexer(RegexLexer): filenames = ['*.shen'] mimetypes = ['text/x-shen', 'application/x-shen'] - DECLARATIONS = ( - 'datatype', 'define', 'defmacro', 'defprolog', 'defcc', - 'synonyms', 'declare', 'package', 'type', 'function', - ) - - SPECIAL_FORMS = ( - 'lambda', 'get', 'let', 'if', 'cases', 'cond', 'put', 'time', 'freeze', - 'value', 'load', '$', 'protect', 'or', 'and', 'not', 'do', 'output', - 'prolog?', 'trap-error', 'error', 'make-string', '/.', 'set', '@p', - '@s', '@v', - ) - - BUILTINS = ( - '==', '=', '*', '+', '-', '/', '<', '>', '>=', '<=', '<-address', - '<-vector', 'abort', 'absvector', 'absvector?', 'address->', 'adjoin', - 'append', 'arity', 'assoc', 'bind', 'boolean?', 'bound?', 'call', 'cd', - 'close', 'cn', 'compile', 'concat', 'cons', 'cons?', 'cut', 'destroy', - 'difference', 'element?', 'empty?', 'enable-type-theory', - 'error-to-string', 'eval', 'eval-kl', 'exception', 'explode', 'external', - 'fail', 'fail-if', 'file', 'findall', 'fix', 'fst', 'fwhen', 'gensym', - 'get-time', 'hash', 'hd', 'hdstr', 'hdv', 'head', 'identical', - 'implementation', 'in', 'include', 'include-all-but', 'inferences', - 'input', 'input+', 'integer?', 'intern', 'intersection', 'is', 'kill', - 'language', 'length', 'limit', 'lineread', 'loaded', 'macro', 'macroexpand', - 'map', 'mapcan', 'maxinferences', 'mode', 'n->string', 'nl', 'nth', 'null', - 'number?', 'occurrences', 'occurs-check', 'open', 'os', 'out', 'port', - 'porters', 'pos', 'pr', 'preclude', 'preclude-all-but', 'print', 'profile', - 'profile-results', 'ps', 'quit', 'read', 'read+', 'read-byte', 'read-file', - 'read-file-as-bytelist', 'read-file-as-string', 'read-from-string', - 'release', 'remove', 'return', 'reverse', 'run', 'save', 'set', - 'simple-error', 'snd', 'specialise', 'spy', 'step', 'stinput', 'stoutput', - 'str', 'string->n', 'string->symbol', 'string?', 'subst', 'symbol?', - 'systemf', 'tail', 'tc', 'tc?', 'thaw', 'tl', 'tlstr', 'tlv', 'track', - 'tuple?', 'undefmacro', 'unify', 'unify!', 'union', 'unprofile', - 'unspecialise', 'untrack', 'variable?', 'vector', 'vector->', 'vector?', - 'verified', 'version', 'warn', 'when', 'write-byte', 'write-to-file', - 'y-or-n?', - ) - - BUILTINS_ANYWHERE = ('where', 'skip', '>>', '_', '!', '<e>', '<!>') + DECLARATIONS = ( + 'datatype', 'define', 'defmacro', 'defprolog', 'defcc', + 'synonyms', 'declare', 'package', 'type', 'function', + ) + + SPECIAL_FORMS = ( + 'lambda', 'get', 'let', 'if', 'cases', 'cond', 'put', 'time', 'freeze', + 'value', 'load', '$', 'protect', 'or', 'and', 'not', 'do', 'output', + 'prolog?', 'trap-error', 'error', 'make-string', '/.', 'set', '@p', + '@s', '@v', + ) + + BUILTINS = ( + '==', '=', '*', '+', '-', '/', '<', '>', '>=', '<=', '<-address', + '<-vector', 'abort', 'absvector', 'absvector?', 'address->', 'adjoin', + 'append', 'arity', 'assoc', 'bind', 'boolean?', 'bound?', 'call', 'cd', + 'close', 'cn', 'compile', 'concat', 'cons', 'cons?', 'cut', 'destroy', + 'difference', 'element?', 'empty?', 'enable-type-theory', + 'error-to-string', 'eval', 'eval-kl', 'exception', 'explode', 'external', + 'fail', 'fail-if', 'file', 'findall', 'fix', 'fst', 'fwhen', 'gensym', + 'get-time', 'hash', 'hd', 'hdstr', 'hdv', 'head', 'identical', + 'implementation', 'in', 'include', 'include-all-but', 'inferences', + 'input', 'input+', 'integer?', 'intern', 'intersection', 'is', 'kill', + 'language', 'length', 'limit', 'lineread', 'loaded', 'macro', 'macroexpand', + 'map', 'mapcan', 'maxinferences', 'mode', 'n->string', 'nl', 'nth', 'null', + 'number?', 'occurrences', 'occurs-check', 'open', 'os', 'out', 'port', + 'porters', 'pos', 'pr', 'preclude', 'preclude-all-but', 'print', 'profile', + 'profile-results', 'ps', 'quit', 'read', 'read+', 'read-byte', 'read-file', + 'read-file-as-bytelist', 'read-file-as-string', 'read-from-string', + 'release', 'remove', 'return', 'reverse', 'run', 'save', 'set', + 'simple-error', 'snd', 'specialise', 'spy', 'step', 'stinput', 'stoutput', + 'str', 'string->n', 'string->symbol', 'string?', 'subst', 'symbol?', + 'systemf', 'tail', 'tc', 'tc?', 'thaw', 'tl', 'tlstr', 'tlv', 'track', + 'tuple?', 'undefmacro', 'unify', 'unify!', 'union', 'unprofile', + 'unspecialise', 'untrack', 'variable?', 'vector', 'vector->', 'vector?', + 'verified', 'version', 'warn', 'when', 'write-byte', 'write-to-file', + 'y-or-n?', + ) + + BUILTINS_ANYWHERE = ('where', 'skip', '>>', '_', '!', '<e>', '<!>') MAPPINGS = {s: Keyword for s in DECLARATIONS} MAPPINGS.update((s, Name.Builtin) for s in BUILTINS) MAPPINGS.update((s, Keyword) for s in SPECIAL_FORMS) - valid_symbol_chars = r'[\w!$%*+,<=>?/.\'@&#:-]' + valid_symbol_chars = r'[\w!$%*+,<=>?/.\'@&#:-]' valid_name = '%s+' % valid_symbol_chars symbol_name = r'[a-z!$%%*+,<=>?/.\'@&#_-]%s*' % valid_symbol_chars variable = r'[A-Z]%s*' % valid_symbol_chars @@ -2328,13 +2328,13 @@ class ShenLexer(RegexLexer): token = Name.Function if token == Literal else token yield index, token, value - return + return def _process_signature(self, tokens): for index, token, value in tokens: if token == Literal and value == '}': yield index, Punctuation, value - return + return elif token in (Literal, Name.Function): token = Name.Variable if value.istitle() else Keyword.Type yield index, token, value @@ -2366,7 +2366,7 @@ class CPSALexer(SchemeLexer): # valid names for identifiers # well, names can only not consist fully of numbers # but this should be good enough for now - valid_name = r'[\w!$%&*+,/:<=>?@^~|-]+' + valid_name = r'[\w!$%&*+,/:<=>?@^~|-]+' tokens = { 'root': [ @@ -2387,7 +2387,7 @@ class CPSALexer(SchemeLexer): # strings, symbols and characters (r'"(\\\\|\\"|[^"])*"', String), (r"'" + valid_name, String.Symbol), - (r"#\\([()/'\"._!§$%& ?=+-]|[a-zA-Z0-9]+)", String.Char), + (r"#\\([()/'\"._!§$%& ?=+-]|[a-zA-Z0-9]+)", String.Char), # constants (r'(#t|#f)', Name.Constant), @@ -2416,279 +2416,279 @@ class CPSALexer(SchemeLexer): (r'(\[|\])', Punctuation), ], } - - -class XtlangLexer(RegexLexer): - """An xtlang lexer for the `Extempore programming environment - <http://extempore.moso.com.au>`_. - - This is a mixture of Scheme and xtlang, really. Keyword lists are - taken from the Extempore Emacs mode - (https://github.com/extemporelang/extempore-emacs-mode) - - .. versionadded:: 2.2 - """ - name = 'xtlang' - aliases = ['extempore'] - filenames = ['*.xtm'] - mimetypes = [] - - common_keywords = ( - 'lambda', 'define', 'if', 'else', 'cond', 'and', - 'or', 'let', 'begin', 'set!', 'map', 'for-each', - ) - scheme_keywords = ( - 'do', 'delay', 'quasiquote', 'unquote', 'unquote-splicing', 'eval', - 'case', 'let*', 'letrec', 'quote', - ) - xtlang_bind_keywords = ( - 'bind-func', 'bind-val', 'bind-lib', 'bind-type', 'bind-alias', - 'bind-poly', 'bind-dylib', 'bind-lib-func', 'bind-lib-val', - ) - xtlang_keywords = ( - 'letz', 'memzone', 'cast', 'convert', 'dotimes', 'doloop', - ) - common_functions = ( - '*', '+', '-', '/', '<', '<=', '=', '>', '>=', '%', 'abs', 'acos', - 'angle', 'append', 'apply', 'asin', 'assoc', 'assq', 'assv', - 'atan', 'boolean?', 'caaaar', 'caaadr', 'caaar', 'caadar', - 'caaddr', 'caadr', 'caar', 'cadaar', 'cadadr', 'cadar', - 'caddar', 'cadddr', 'caddr', 'cadr', 'car', 'cdaaar', - 'cdaadr', 'cdaar', 'cdadar', 'cdaddr', 'cdadr', 'cdar', - 'cddaar', 'cddadr', 'cddar', 'cdddar', 'cddddr', 'cdddr', - 'cddr', 'cdr', 'ceiling', 'cons', 'cos', 'floor', 'length', - 'list', 'log', 'max', 'member', 'min', 'modulo', 'not', - 'reverse', 'round', 'sin', 'sqrt', 'substring', 'tan', - 'println', 'random', 'null?', 'callback', 'now', - ) - scheme_functions = ( - 'call-with-current-continuation', 'call-with-input-file', - 'call-with-output-file', 'call-with-values', 'call/cc', - '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?', - 'current-input-port', 'current-output-port', 'denominator', - 'display', 'dynamic-wind', 'eof-object?', 'eq?', 'equal?', - 'eqv?', 'even?', 'exact->inexact', 'exact?', 'exp', 'expt', - 'force', 'gcd', 'imag-part', 'inexact->exact', 'inexact?', - 'input-port?', 'integer->char', 'integer?', - 'interaction-environment', 'lcm', 'list->string', - 'list->vector', 'list-ref', 'list-tail', 'list?', 'load', - 'magnitude', 'make-polar', 'make-rectangular', 'make-string', - 'make-vector', 'memq', 'memv', 'negative?', 'newline', - 'null-environment', 'number->string', 'number?', - 'numerator', 'odd?', 'open-input-file', 'open-output-file', - 'output-port?', 'pair?', 'peek-char', 'port?', 'positive?', - 'procedure?', 'quotient', 'rational?', 'rationalize', 'read', - 'read-char', 'real-part', 'real?', - 'remainder', 'scheme-report-environment', 'set-car!', 'set-cdr!', - '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?', - 'symbol->string', 'symbol?', 'transcript-off', 'transcript-on', - 'truncate', 'values', 'vector', 'vector->list', 'vector-fill!', - 'vector-length', 'vector?', - 'with-input-from-file', 'with-output-to-file', 'write', - 'write-char', 'zero?', - ) - xtlang_functions = ( - 'toString', 'afill!', 'pfill!', 'tfill!', 'tbind', 'vfill!', - 'array-fill!', 'pointer-fill!', 'tuple-fill!', 'vector-fill!', 'free', - 'array', 'tuple', 'list', '~', 'cset!', 'cref', '&', 'bor', - 'ang-names', '<<', '>>', 'nil', 'printf', 'sprintf', 'null', 'now', - 'pset!', 'pref-ptr', 'vset!', 'vref', 'aset!', 'aref', 'aref-ptr', - 'tset!', 'tref', 'tref-ptr', 'salloc', 'halloc', 'zalloc', 'alloc', - 'schedule', 'exp', 'log', 'sin', 'cos', 'tan', 'asin', 'acos', 'atan', - 'sqrt', 'expt', 'floor', 'ceiling', 'truncate', 'round', - 'llvm_printf', 'push_zone', 'pop_zone', 'memzone', 'callback', - 'llvm_sprintf', 'make-array', 'array-set!', 'array-ref', - 'array-ref-ptr', 'pointer-set!', 'pointer-ref', 'pointer-ref-ptr', - 'stack-alloc', 'heap-alloc', 'zone-alloc', 'make-tuple', 'tuple-set!', - 'tuple-ref', 'tuple-ref-ptr', 'closure-set!', 'closure-ref', 'pref', - 'pdref', 'impc_null', 'bitcast', 'void', 'ifret', 'ret->', 'clrun->', - 'make-env-zone', 'make-env', '<>', 'dtof', 'ftod', 'i1tof', - 'i1tod', 'i1toi8', 'i1toi32', 'i1toi64', 'i8tof', 'i8tod', - 'i8toi1', 'i8toi32', 'i8toi64', 'i32tof', 'i32tod', 'i32toi1', - 'i32toi8', 'i32toi64', 'i64tof', 'i64tod', 'i64toi1', - 'i64toi8', 'i64toi32', - ) - - # valid names for Scheme identifiers (names cannot consist fully - # of numbers, but this should be good enough for now) - valid_scheme_name = r'[\w!$%&*+,/:<=>?@^~|-]+' - - # valid characters in xtlang names & types - valid_xtlang_name = r'[\w.!-]+' - valid_xtlang_type = r'[]{}[\w<>,*/|!-]+' - - tokens = { - # keep track of when we're exiting the xtlang form - 'xtlang': [ - (r'\(', Punctuation, '#push'), - (r'\)', Punctuation, '#pop'), - - (r'(?<=bind-func\s)' + valid_xtlang_name, Name.Function), - (r'(?<=bind-val\s)' + valid_xtlang_name, Name.Function), - (r'(?<=bind-type\s)' + valid_xtlang_name, Name.Function), - (r'(?<=bind-alias\s)' + valid_xtlang_name, Name.Function), - (r'(?<=bind-poly\s)' + valid_xtlang_name, Name.Function), - (r'(?<=bind-lib\s)' + valid_xtlang_name, Name.Function), - (r'(?<=bind-dylib\s)' + valid_xtlang_name, Name.Function), - (r'(?<=bind-lib-func\s)' + valid_xtlang_name, Name.Function), - (r'(?<=bind-lib-val\s)' + valid_xtlang_name, Name.Function), - - # type annotations - (r':' + valid_xtlang_type, Keyword.Type), - - # types - (r'(<' + valid_xtlang_type + r'>|\|' + valid_xtlang_type + r'\||/' + - valid_xtlang_type + r'/|' + valid_xtlang_type + r'\*)\**', - Keyword.Type), - - # keywords - (words(xtlang_keywords, prefix=r'(?<=\()'), Keyword), - - # builtins - (words(xtlang_functions, prefix=r'(?<=\()'), Name.Function), - - include('common'), - - # variables - (valid_xtlang_name, Name.Variable), - ], - 'scheme': [ - # quoted symbols - (r"'" + valid_scheme_name, String.Symbol), - - # char literals - (r"#\\([()/'\"._!§$%& ?=+-]|[a-zA-Z0-9]+)", String.Char), - - # special operators - (r"('|#|`|,@|,|\.)", Operator), - - # keywords - (words(scheme_keywords, prefix=r'(?<=\()'), Keyword), - - # builtins - (words(scheme_functions, prefix=r'(?<=\()'), Name.Function), - - include('common'), - - # variables - (valid_scheme_name, Name.Variable), - ], - # common to both xtlang and Scheme - 'common': [ - # comments - (r';.*$', Comment.Single), - - # whitespaces - usually not relevant - (r'\s+', Text), - - # numbers - (r'-?\d+\.\d+', Number.Float), - (r'-?\d+', Number.Integer), - - # binary/oct/hex literals - (r'(#b|#o|#x)[\d.]+', Number), - - # strings - (r'"(\\\\|\\"|[^"])*"', String), - - # true/false constants - (r'(#t|#f)', Name.Constant), - - # keywords - (words(common_keywords, prefix=r'(?<=\()'), Keyword), - - # builtins - (words(common_functions, prefix=r'(?<=\()'), Name.Function), - - # the famous parentheses! - (r'(\(|\))', Punctuation), - ], - 'root': [ - # go into xtlang mode - (words(xtlang_bind_keywords, prefix=r'(?<=\()', suffix=r'\b'), - Keyword, 'xtlang'), - - include('scheme') - ], - } - - -class FennelLexer(RegexLexer): - """A lexer for the `Fennel programming language <https://fennel-lang.org>`_. - - Fennel compiles to Lua, so all the Lua builtins are recognized as well - as the special forms that are particular to the Fennel compiler. - - .. versionadded:: 2.3 - """ - name = 'Fennel' - aliases = ['fennel', 'fnl'] - filenames = ['*.fnl'] - - # these two lists are taken from fennel-mode.el: - # https://gitlab.com/technomancy/fennel-mode - # this list is current as of Fennel version 0.1.0. - special_forms = ( - u'require-macros', u'eval-compiler', - u'do', u'values', u'if', u'when', u'each', u'for', u'fn', u'lambda', - u'λ', u'set', u'global', u'var', u'local', u'let', u'tset', u'doto', - u'set-forcibly!', u'defn', u'partial', u'while', u'or', u'and', u'true', - u'false', u'nil', u'.', u'+', u'..', u'^', u'-', u'*', u'%', u'/', u'>', - u'<', u'>=', u'<=', u'=', u'~=', u'#', u'...', u':', u'->', u'->>', - ) - - # Might be nicer to use the list from _lua_builtins.py but it's unclear how? - builtins = ( - u'_G', u'_VERSION', u'arg', u'assert', u'bit32', u'collectgarbage', - u'coroutine', u'debug', u'dofile', u'error', u'getfenv', - u'getmetatable', u'io', u'ipairs', u'load', u'loadfile', u'loadstring', - u'math', u'next', u'os', u'package', u'pairs', u'pcall', u'print', - u'rawequal', u'rawget', u'rawlen', u'rawset', u'require', u'select', - u'setfenv', u'setmetatable', u'string', u'table', u'tonumber', - u'tostring', u'type', u'unpack', u'xpcall' - ) - - # based on the scheme definition, but disallowing leading digits and commas - valid_name = r'[a-zA-Z_!$%&*+/:<=>?@^~|-][\w!$%&*+/:<=>?@^~|\.-]*' - - tokens = { - 'root': [ - # the only comment form is a semicolon; goes to the end of the line - (r';.*$', Comment.Single), - - (r'[,\s]+', Text), - (r'-?\d+\.\d+', Number.Float), - (r'-?\d+', Number.Integer), - - (r'"(\\\\|\\"|[^"])*"', String), - (r"'(\\\\|\\'|[^'])*'", String), - - # these are technically strings, but it's worth visually - # distinguishing them because their intent is different - # from regular strings. - (r':' + valid_name, String.Symbol), - - # special forms are keywords - (words(special_forms, suffix=' '), Keyword), - # lua standard library are builtins - (words(builtins, suffix=' '), Name.Builtin), - # special-case the vararg symbol - (r'\.\.\.', Name.Variable), - # regular identifiers - (valid_name, Name.Variable), - - # all your normal paired delimiters for your programming enjoyment - (r'(\(|\))', Punctuation), - (r'(\[|\])', Punctuation), - (r'(\{|\})', Punctuation), - ] - } + + +class XtlangLexer(RegexLexer): + """An xtlang lexer for the `Extempore programming environment + <http://extempore.moso.com.au>`_. + + This is a mixture of Scheme and xtlang, really. Keyword lists are + taken from the Extempore Emacs mode + (https://github.com/extemporelang/extempore-emacs-mode) + + .. versionadded:: 2.2 + """ + name = 'xtlang' + aliases = ['extempore'] + filenames = ['*.xtm'] + mimetypes = [] + + common_keywords = ( + 'lambda', 'define', 'if', 'else', 'cond', 'and', + 'or', 'let', 'begin', 'set!', 'map', 'for-each', + ) + scheme_keywords = ( + 'do', 'delay', 'quasiquote', 'unquote', 'unquote-splicing', 'eval', + 'case', 'let*', 'letrec', 'quote', + ) + xtlang_bind_keywords = ( + 'bind-func', 'bind-val', 'bind-lib', 'bind-type', 'bind-alias', + 'bind-poly', 'bind-dylib', 'bind-lib-func', 'bind-lib-val', + ) + xtlang_keywords = ( + 'letz', 'memzone', 'cast', 'convert', 'dotimes', 'doloop', + ) + common_functions = ( + '*', '+', '-', '/', '<', '<=', '=', '>', '>=', '%', 'abs', 'acos', + 'angle', 'append', 'apply', 'asin', 'assoc', 'assq', 'assv', + 'atan', 'boolean?', 'caaaar', 'caaadr', 'caaar', 'caadar', + 'caaddr', 'caadr', 'caar', 'cadaar', 'cadadr', 'cadar', + 'caddar', 'cadddr', 'caddr', 'cadr', 'car', 'cdaaar', + 'cdaadr', 'cdaar', 'cdadar', 'cdaddr', 'cdadr', 'cdar', + 'cddaar', 'cddadr', 'cddar', 'cdddar', 'cddddr', 'cdddr', + 'cddr', 'cdr', 'ceiling', 'cons', 'cos', 'floor', 'length', + 'list', 'log', 'max', 'member', 'min', 'modulo', 'not', + 'reverse', 'round', 'sin', 'sqrt', 'substring', 'tan', + 'println', 'random', 'null?', 'callback', 'now', + ) + scheme_functions = ( + 'call-with-current-continuation', 'call-with-input-file', + 'call-with-output-file', 'call-with-values', 'call/cc', + '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?', + 'current-input-port', 'current-output-port', 'denominator', + 'display', 'dynamic-wind', 'eof-object?', 'eq?', 'equal?', + 'eqv?', 'even?', 'exact->inexact', 'exact?', 'exp', 'expt', + 'force', 'gcd', 'imag-part', 'inexact->exact', 'inexact?', + 'input-port?', 'integer->char', 'integer?', + 'interaction-environment', 'lcm', 'list->string', + 'list->vector', 'list-ref', 'list-tail', 'list?', 'load', + 'magnitude', 'make-polar', 'make-rectangular', 'make-string', + 'make-vector', 'memq', 'memv', 'negative?', 'newline', + 'null-environment', 'number->string', 'number?', + 'numerator', 'odd?', 'open-input-file', 'open-output-file', + 'output-port?', 'pair?', 'peek-char', 'port?', 'positive?', + 'procedure?', 'quotient', 'rational?', 'rationalize', 'read', + 'read-char', 'real-part', 'real?', + 'remainder', 'scheme-report-environment', 'set-car!', 'set-cdr!', + '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?', + 'symbol->string', 'symbol?', 'transcript-off', 'transcript-on', + 'truncate', 'values', 'vector', 'vector->list', 'vector-fill!', + 'vector-length', 'vector?', + 'with-input-from-file', 'with-output-to-file', 'write', + 'write-char', 'zero?', + ) + xtlang_functions = ( + 'toString', 'afill!', 'pfill!', 'tfill!', 'tbind', 'vfill!', + 'array-fill!', 'pointer-fill!', 'tuple-fill!', 'vector-fill!', 'free', + 'array', 'tuple', 'list', '~', 'cset!', 'cref', '&', 'bor', + 'ang-names', '<<', '>>', 'nil', 'printf', 'sprintf', 'null', 'now', + 'pset!', 'pref-ptr', 'vset!', 'vref', 'aset!', 'aref', 'aref-ptr', + 'tset!', 'tref', 'tref-ptr', 'salloc', 'halloc', 'zalloc', 'alloc', + 'schedule', 'exp', 'log', 'sin', 'cos', 'tan', 'asin', 'acos', 'atan', + 'sqrt', 'expt', 'floor', 'ceiling', 'truncate', 'round', + 'llvm_printf', 'push_zone', 'pop_zone', 'memzone', 'callback', + 'llvm_sprintf', 'make-array', 'array-set!', 'array-ref', + 'array-ref-ptr', 'pointer-set!', 'pointer-ref', 'pointer-ref-ptr', + 'stack-alloc', 'heap-alloc', 'zone-alloc', 'make-tuple', 'tuple-set!', + 'tuple-ref', 'tuple-ref-ptr', 'closure-set!', 'closure-ref', 'pref', + 'pdref', 'impc_null', 'bitcast', 'void', 'ifret', 'ret->', 'clrun->', + 'make-env-zone', 'make-env', '<>', 'dtof', 'ftod', 'i1tof', + 'i1tod', 'i1toi8', 'i1toi32', 'i1toi64', 'i8tof', 'i8tod', + 'i8toi1', 'i8toi32', 'i8toi64', 'i32tof', 'i32tod', 'i32toi1', + 'i32toi8', 'i32toi64', 'i64tof', 'i64tod', 'i64toi1', + 'i64toi8', 'i64toi32', + ) + + # valid names for Scheme identifiers (names cannot consist fully + # of numbers, but this should be good enough for now) + valid_scheme_name = r'[\w!$%&*+,/:<=>?@^~|-]+' + + # valid characters in xtlang names & types + valid_xtlang_name = r'[\w.!-]+' + valid_xtlang_type = r'[]{}[\w<>,*/|!-]+' + + tokens = { + # keep track of when we're exiting the xtlang form + 'xtlang': [ + (r'\(', Punctuation, '#push'), + (r'\)', Punctuation, '#pop'), + + (r'(?<=bind-func\s)' + valid_xtlang_name, Name.Function), + (r'(?<=bind-val\s)' + valid_xtlang_name, Name.Function), + (r'(?<=bind-type\s)' + valid_xtlang_name, Name.Function), + (r'(?<=bind-alias\s)' + valid_xtlang_name, Name.Function), + (r'(?<=bind-poly\s)' + valid_xtlang_name, Name.Function), + (r'(?<=bind-lib\s)' + valid_xtlang_name, Name.Function), + (r'(?<=bind-dylib\s)' + valid_xtlang_name, Name.Function), + (r'(?<=bind-lib-func\s)' + valid_xtlang_name, Name.Function), + (r'(?<=bind-lib-val\s)' + valid_xtlang_name, Name.Function), + + # type annotations + (r':' + valid_xtlang_type, Keyword.Type), + + # types + (r'(<' + valid_xtlang_type + r'>|\|' + valid_xtlang_type + r'\||/' + + valid_xtlang_type + r'/|' + valid_xtlang_type + r'\*)\**', + Keyword.Type), + + # keywords + (words(xtlang_keywords, prefix=r'(?<=\()'), Keyword), + + # builtins + (words(xtlang_functions, prefix=r'(?<=\()'), Name.Function), + + include('common'), + + # variables + (valid_xtlang_name, Name.Variable), + ], + 'scheme': [ + # quoted symbols + (r"'" + valid_scheme_name, String.Symbol), + + # char literals + (r"#\\([()/'\"._!§$%& ?=+-]|[a-zA-Z0-9]+)", String.Char), + + # special operators + (r"('|#|`|,@|,|\.)", Operator), + + # keywords + (words(scheme_keywords, prefix=r'(?<=\()'), Keyword), + + # builtins + (words(scheme_functions, prefix=r'(?<=\()'), Name.Function), + + include('common'), + + # variables + (valid_scheme_name, Name.Variable), + ], + # common to both xtlang and Scheme + 'common': [ + # comments + (r';.*$', Comment.Single), + + # whitespaces - usually not relevant + (r'\s+', Text), + + # numbers + (r'-?\d+\.\d+', Number.Float), + (r'-?\d+', Number.Integer), + + # binary/oct/hex literals + (r'(#b|#o|#x)[\d.]+', Number), + + # strings + (r'"(\\\\|\\"|[^"])*"', String), + + # true/false constants + (r'(#t|#f)', Name.Constant), + + # keywords + (words(common_keywords, prefix=r'(?<=\()'), Keyword), + + # builtins + (words(common_functions, prefix=r'(?<=\()'), Name.Function), + + # the famous parentheses! + (r'(\(|\))', Punctuation), + ], + 'root': [ + # go into xtlang mode + (words(xtlang_bind_keywords, prefix=r'(?<=\()', suffix=r'\b'), + Keyword, 'xtlang'), + + include('scheme') + ], + } + + +class FennelLexer(RegexLexer): + """A lexer for the `Fennel programming language <https://fennel-lang.org>`_. + + Fennel compiles to Lua, so all the Lua builtins are recognized as well + as the special forms that are particular to the Fennel compiler. + + .. versionadded:: 2.3 + """ + name = 'Fennel' + aliases = ['fennel', 'fnl'] + filenames = ['*.fnl'] + + # these two lists are taken from fennel-mode.el: + # https://gitlab.com/technomancy/fennel-mode + # this list is current as of Fennel version 0.1.0. + special_forms = ( + u'require-macros', u'eval-compiler', + u'do', u'values', u'if', u'when', u'each', u'for', u'fn', u'lambda', + u'λ', u'set', u'global', u'var', u'local', u'let', u'tset', u'doto', + u'set-forcibly!', u'defn', u'partial', u'while', u'or', u'and', u'true', + u'false', u'nil', u'.', u'+', u'..', u'^', u'-', u'*', u'%', u'/', u'>', + u'<', u'>=', u'<=', u'=', u'~=', u'#', u'...', u':', u'->', u'->>', + ) + + # Might be nicer to use the list from _lua_builtins.py but it's unclear how? + builtins = ( + u'_G', u'_VERSION', u'arg', u'assert', u'bit32', u'collectgarbage', + u'coroutine', u'debug', u'dofile', u'error', u'getfenv', + u'getmetatable', u'io', u'ipairs', u'load', u'loadfile', u'loadstring', + u'math', u'next', u'os', u'package', u'pairs', u'pcall', u'print', + u'rawequal', u'rawget', u'rawlen', u'rawset', u'require', u'select', + u'setfenv', u'setmetatable', u'string', u'table', u'tonumber', + u'tostring', u'type', u'unpack', u'xpcall' + ) + + # based on the scheme definition, but disallowing leading digits and commas + valid_name = r'[a-zA-Z_!$%&*+/:<=>?@^~|-][\w!$%&*+/:<=>?@^~|\.-]*' + + tokens = { + 'root': [ + # the only comment form is a semicolon; goes to the end of the line + (r';.*$', Comment.Single), + + (r'[,\s]+', Text), + (r'-?\d+\.\d+', Number.Float), + (r'-?\d+', Number.Integer), + + (r'"(\\\\|\\"|[^"])*"', String), + (r"'(\\\\|\\'|[^'])*'", String), + + # these are technically strings, but it's worth visually + # distinguishing them because their intent is different + # from regular strings. + (r':' + valid_name, String.Symbol), + + # special forms are keywords + (words(special_forms, suffix=' '), Keyword), + # lua standard library are builtins + (words(builtins, suffix=' '), Name.Builtin), + # special-case the vararg symbol + (r'\.\.\.', Name.Variable), + # regular identifiers + (valid_name, Name.Variable), + + # all your normal paired delimiters for your programming enjoyment + (r'(\(|\))', Punctuation), + (r'(\[|\])', Punctuation), + (r'(\{|\})', Punctuation), + ] + } |