在Xtext官方网站是这么说的“Building your own domain-specific languages has never been so easy. Just put your grammar in place and you not only get the working pa...
分类:
其他好文 时间:
2015-07-08 09:23:31
阅读次数:
142
在Xtext的官网中是这样说的
“Building your own domain-specific languages has never been so easy. Just put your grammar in place and you not only get the working parser and linker but also first class Eclipse sup...
分类:
其他好文 时间:
2014-10-01 10:17:01
阅读次数:
693
.Net中的System.Xml.Linq命名空间提供了linq to xml的支持。这个命名空间中的XDocument,XElement以及XText,XAttribute提供了读写xml文档的关键方法。1. 使用linq to xml写xml:使用XDocument的构造函数可以构造一个Xml文...
分类:
其他好文 时间:
2014-08-22 00:08:15
阅读次数:
309
Xtext
Xtext是eclipse下用于构建DSL的工具。其使用非常方便,除了支持开发DSL以外,还能得到eclipse语法高亮、错误提示等功能。http://www.eclipse.org/Xtext/index.html
建议先读读官方文档里面的最开始的几个tutorial,对Xtext的使用有个大概的了解。http://www.eclipse.org/Xtext/documentat...
分类:
其他好文 时间:
2014-07-21 22:45:07
阅读次数:
391
Java加上Xtend,满足你对C#语法的所有想象
好吧,标题言过其实了,Xtend只是在某些方面提供了与C#类似的语法。又或者作为资深Java程序猿,你根本就对这个标题感到愤怒或不屑,“我大Java何时要与屌丝C#做比较了”。但无论如何,Xtend在语法上的清爽还是让我这个非资深程序猿感到了惊喜。如果你偶尔也对Java重复的getter/setter感到无聊,对Java5/6/7缺少Lambd...
分类:
编程语言 时间:
2014-05-22 09:04:30
阅读次数:
442