In this video, Hilton Giesenow illustrates a simple working Language Service. He begins by building a simple scanner for colorising based on regular expressions, then expands on this to implement the Managed Babel framework, integrating MPLex and MPPG directly into the Visual Studio build as well.
More info