开发者

Using XText to create a DSL for describing proprietary XML-formats

开发者 https://www.devze.com 2023-03-16 03:08 出处:网络
At the moment, I have to work with XACML. As there doesn\'t seem to be an editor to fit my needs, and as writing documents in it is a real pain, I wonder if I could not create some sort of DSL to make

At the moment, I have to work with XACML. As there doesn't seem to be an editor to fit my needs, and as writing documents in it is a real pain, I wonder if I could not create some sort of DSL to make creating documents easier (are less error-prone). Is this possible with XText? I have a feeling it's possible but quite ha开发者_开发问答rd to do (especially for someone who doesn't know XText ;-)).


Getting rid of manually edited XML files is a typical use case for Xtext. The tedious part is the syntax definition itself. As soon as you have an idea how your files should look like, it's usually straight forward to get a working prototype with Xtext. What sort of concerns do you have?

0

精彩评论

暂无评论...
验证码 换一张
取 消