I’ve created my ‘new programming language’ using the ANTLR framework. The language is defined by its grammar and semantics are enforced using tree walkers that traverse the AST.
I want to develop an eclipse plugin to serve as a source code editor to write programs in my new language.
For example I would like to highlight keywords, mark lines with syntactic/semantic errors, etc.
What is the best way to approach this?
Anyone knows of any lib/framework which integrates easily with ANTLR to do this?
Thanks.
I would recommend Xtext framework, it is based on ANTLR + EMF. Fully functional source code editor with customizable autocomplete + quickfix… can be done easily with that