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

Add dg source code lexer.

  1. pyos avatarpyos

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.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.