I have a dsl language which generates the plain text. I want add java extension for filtering sequence nodes which I want print.
My difficult is that I can't add java code (closure literal) for my concept in generator and do $COPY_SRCL$ for replace body closureLiteral with my body of filter function.
How can I ivoke my conceptFunction body in $COPY_SRCL$ mapped function?
What can I do for this opportunity?
I am using MPS 2018.1.5
I read article https://confluence.jetbrains.com/display/MPSD20183/Concept+Functions?focusedCommentId=130188206#comment-130188206
but it not work in my situation, because my dsl not compilled in Java/ my dsl generates in low level dsl.