Back to index

moin  1.9.0~rc2
Static Public Attributes Class Reference
Inheritance diagram for
Inheritance graph
Collaboration diagram for
Collaboration graph

List of all members.

Static Public Attributes

string name = 'Brainfuck'
list aliases = ['brainfuck', 'bf']
list filenames = ['*.bf', '*.b']
list mimetypes = ['application/x-brainfuck']
dictionary tokens

Detailed Description

Lexer for the esoteric `BrainFuck <>`_

Definition at line 259 of file

Member Data Documentation

Definition at line 266 of file

Definition at line 267 of file

list = ['application/x-brainfuck'] [static]

Definition at line 268 of file

Definition at line 265 of file

Initial value:
        'common': [
            # use different colors for different instruction types
            (r'[.,]+', Name.Tag),
            (r'[+-]+', Name.Builtin),
            (r'[<>]+', Name.Variable),
            (r'[^.,+\-<>\[\]]+', Comment),
        'root': [
            (r'\[', Keyword, 'loop'),
            (r'\]', Error),
        'loop': [
            (r'\[', Keyword, '#push'),
            (r'\]', Keyword, '#pop'),

Definition at line 270 of file

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