Hi,
I have got a question regarding the embedded language support of Netbeans.
If I write my own grammer/dsl with JavaCC and my language contains a specific tag that marks the beginning and ending of an embedded language, lets say Java, does Netbeans automatically take Lexer, Parsers, CodeCompletion etc. from the embedded language?
What I found out is that there are two possibilities. The first uses the xml file for defining the start/end tag. The second way is the programmatical approach, I think using the Lexer class.
Does anyone of you know a short example for both strategies? Are there any tutorials available? I would specially be interested in the xml approach
Thanks.