刚刚看了eclipse xtext的文档,发现它使用的语言和java很像,但是有一些不同:
http://www.eclipse.org/Xtext/documentation/2_0_0/040-first-code-generator.php
例如,它有这样一个代码片段:
def compile(Entity e) '''
package «e.eContainer.fullyQualifiedName»;
public class «e.name» {
}
'''
语言是什么?