google-research/dex-lang

Portable regex-based syntax highlighting

Open

#176 opened on Jul 27, 2020

View on GitHub
 (21 comments) (0 reactions) (0 assignees)Haskell (1,681 stars) (116 forks)batch import
good first issuetooling / editors

Description

A bit of syntax highlighting goes a long way towards making things more readable. Right now we have a little emacs mode and an independent syntax highlighter for the HTML renderings using parser combinators. Does anyone know of a portable solution that lets us define a bunch of regexes and generate modes for vim, emacs, sublime etc?

Contributor guide