NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Embedded DSL support

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
Klaus Martinschitz



Joined: 23 Jan 2010
Posts: 120

PostPosted: Sat Mar 04, 2017 1:23 pm    Post subject: Embedded DSL support Reply with quote

Hello,

I use the Netbeans JavaCC plugin very often. However, it misses a lot of features, such as parsing, code completion etc. Therefore, I want to write a new JavaCC plugin. The syntax of the domain specific language (DSL) of JavaCC is not the problem. The problem is, that JavaCC code wraps Java code. I would be interessted if there is a possibility in Netbeans DSL modules to tell Netbeans: "if you come here, use the formatting options, parser, lexer etc. that is available for language X, in this case Java". I do not want to write a complete Java lexer and parser again. I think there must be a possibility to embedd the Java DSL in the JavaCC DSL. Perhaps, some can give me a hint how this could work.
Thanks.

Regards,
Klaus
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo