groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohan Radhakrishnan <radhakrishnan.mo...@gmail.com>
Subject DSL Recommendation
Date Wed, 10 Jan 2018 14:35:13 GMT
Hi,
     I didn't know Groovy DSL's could be almost like plain english as shown
in
http://docs.groovy-lang.org/docs/latest/html/documentation/core-domain-
specific-languages.html

Is that the latest recommendation ?  My use case is this.

I would like to create a small library to create XPath axes(
https://www.w3schools.com/xml/xpath_axes.asp) using a DSL.

Something like this.

id of ancestor of descendant of Node

This is just to create a more flexible way of using XPath expressions. I
don't plan to completely implement all expressions. Just a few.

Thanks,
Mohan

Mime
View raw message