Back to index

moin  1.9.0~rc2
Static Public Attributes
MoinMoin.support.pygments.lexers.functional.SchemeLexer Class Reference
Inheritance diagram for MoinMoin.support.pygments.lexers.functional.SchemeLexer:
Inheritance graph
[legend]
Collaboration diagram for MoinMoin.support.pygments.lexers.functional.SchemeLexer:
Collaboration graph
[legend]

List of all members.

Static Public Attributes

string name = 'Scheme'
list aliases = ['scheme', 'scm']
list filenames = ['*.scm']
list mimetypes = ['text/x-scheme', 'application/x-scheme']
list keywords
list builtins
string valid_name = r'[a-zA-Z0-9!$%&*+,/:<=>?@^_~|-]+'
dictionary tokens

Detailed Description

A Scheme lexer, parsing a stream and outputting the tokens
needed to highlight scheme code.
This lexer could be most probably easily subclassed to parse
other LISP-Dialects like Common Lisp, Emacs Lisp or AutoLisp.

This parser is checked with pastes from the LISP pastebin
at http://paste.lisp.org/ to cover as much syntax as possible.

It supports the full Scheme syntax as defined in R5RS.

*New in Pygments 0.6.*

Definition at line 27 of file functional.py.


Member Data Documentation

Definition at line 42 of file functional.py.

Definition at line 54 of file functional.py.

Definition at line 43 of file functional.py.

Initial value:
[
        'lambda', 'define', 'if', 'else', 'cond', 'and', 'or', 'case', 'let',
        'let*', 'letrec', 'begin', 'do', 'delay', 'set!', '=>', 'quote',
        'quasiquote', 'unquote', 'unquote-splicing', 'define-syntax',
        'let-syntax', 'letrec-syntax', 'syntax-rules'
    ]

Definition at line 48 of file functional.py.

list MoinMoin.support.pygments.lexers.functional.SchemeLexer.mimetypes = ['text/x-scheme', 'application/x-scheme'] [static]

Definition at line 44 of file functional.py.

Definition at line 41 of file functional.py.

Definition at line 100 of file functional.py.

string MoinMoin.support.pygments.lexers.functional.SchemeLexer.valid_name = r'[a-zA-Z0-9!$%&*+,/:<=>?@^_~|-]+' [static]

Definition at line 98 of file functional.py.


The documentation for this class was generated from the following file: