我用ANTLR框架创造了我的新编程语言。 语言由语法定义,语义则使用横穿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?
谢谢