Pygments-based highlighting lexers for DELPH-IN formats.

This module contains Pygments lexers for highlighting SimpleMRS and TDL, as well as a style for coloring MRS outputs. This module is primarily intended for use by PyDelphin at the command line and in its documentation, but the lexers and style can be used directly with Pygments for other purposes.


class delphin.highlight.TDLLexer(*args, **kwds)[source]

A Pygments-based Lexer for Typed Description Language.

class delphin.highlight.SimpleMRSLexer(*args, **kwds)[source]

A Pygments-based Lexer for the SimpleMRS serialization format.

class delphin.highlight.MRSStyle[source]