I need to support a couple related languages that are not currently supported across all three products (editor, scripter, and forms designer), but first and foremost I need syntax highlighting and initial language support in the editor.
I understand this is a non-trivial task, but preparation in advance and some notion of the practical steps involved can help increase chance of success.
So I was wondering if there is an advanced tutorial or example available for creating a non-trivial custom parser and integrating it into the editor (and eventually the other products)? I would like some pointers about how to begin to create the abstractions I need based on core classes provided by the syntax editor framework.
Some features I need that I don’t see discussed much include auto-indenting and formatting, which are particularly important for my application. I am working with languages based on s-expressions, if that helps refine the advice.
Any code examples would be appreciated.