otac0n / Pegasus

A PEG parser generator for .NET that integrates with MSBuild and Visual Studio.
http://otac0n.com/Pegasus/
MIT License
206 stars 38 forks source link

Add a syntax-highlighting library and a language service extension template. #48

Open otac0n opened 10 years ago

otac0n commented 8 years ago

This would extend upon the -lexical option.

otac0n commented 8 years ago

The Syntax Highlighting code from the Pegasus grammar has been moved into Pegasus.Common. Language service template is still a TODO.

StephenCleary commented 5 years ago

I find the futagozaryuu.pegjs-syntax plugin for VSCode quite nice; it has a PEG.js (Grammar) file type that does syntax highlighting only for the PEG grammar part and ignores the code blocks.