Hi,

I am also interested in such functionality to put code written in our DSLs 
into java source code. In the meantime we put the code in extra files with 
specific filesuffix and use the netbeans api for syntax highlighting etc.

best regards
Oliver

> 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.
> 
> 
> Gesendet vonOutlook für iOS
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to