java - proving drop-down facilities in ANTLR -


in current project, developing domain specific language. instance, syntax of language following:

structs:      tempstruct          tempvalue : double;          unitofmeasurement : string;          abilities:     sensors:          temperaturesensor               attribute responseformat : string;              generate  tempmeasurement : tempstruct; // forward reference of defined structs 

in above code fragment, can see tempstruct defined. requirement want facilitate dsl programmers drop down list of defined structure. so, programmer can select 1 structs drop down list.

i started working on antlr, not sure how can achieved in antlr. idea ? pointers , suggestions other tools welcomed writing dsl.

i provide answer of question. have received pointers our collaborators. may others.

tools create dsls , associated development environments:

xtext: 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -