2010-05-31 26 views

回答

7

我知道的一個將是XText
可能有點過殺:

的Xtext是編程語言和領域特定語言(DSL)的開發框架。只需使用Xtext簡單的EBNF語法語言描述您自己的DSL,生成器將創建一個解析器,一個AST元模型(用EMF實現)以及一個全功能的Eclipse文本編輯器。

的DSL編輯器看起來像:

alt text http://www.eclipse.org/Xtext/documentation/latest/images/getting-started-grammar.png

讓您與您剛剛定義的語言發揮:

alt text http://www.eclipse.org/Xtext/documentation/latest/images/getting-started-editor.png

+0

直觀,簡便使用,偉大的編輯,功能強大 - 我喜歡那個。 – 2010-05-31 07:22:07