Pull requests

#116 Merged
Repository
Deleted repository
Branch
default (82304fd3377c)
Repository
birkenfeld/pygments-main pygments-main
Branch
default

Add dg source code lexer.

Author
  1. pyos
Reviewers
Description

I've added a dg lexer and some example code. (Not sure if I should cover subtyping in the example, though.)

Comments (2)

  1. Tim Hatch

    Sorry for the delay in feedback, I went down the rabbit hole of looking at your language instead.

    The only problem I see is the character class on line 1854 makes no sense -- near <backslash><hyphen><hyphen>. What's that supposed to be?

    1. pyos author

      You mean "\--/"? That's a simple character range which matches a hyphen, a dot, or a slash. All of these can be used in infix operators' names.