groovydsl - Groovy DSL with IDE support for completion -
i in need of dsl has known structure , lot of only known @ runtime structure.
for eg:
test "name goes here"{ description : """ description """ create user { id : 1 fn : """ x """ ln : """ y """ } assert user.name == "x" delete user { id = 1 } user1 = user (1) assert user1 == null }
in above snippet, keywords test
, create
, get
, delete
etc known during development of dsl/tooling. but, when user invokes content assist after create
. want download schema files (rather, have downloaded schema first step of processing , cache schema) , offer entities, of user 1 of entities. , when user invokes content assist properties, again entity definition , offer fn
, ln
etc possible entries there.
is doable groovy , gdsl? thank you
Comments
Post a Comment