I want to build a domain-specific language that can be converted to an existing language (e.g. python, SQL). I try to avoid building a full-blown compiler and have looked into Xtext and Xpand. They look plausible, as Xtext will be used to design the grammar and produce the parse tree, Xpand will use the parse tree to generate code of the existing language (please correct me if I'm wrong).
What are your opinions on this? Do you think there're better alternatives to XText & Xpand I can use to achieve my purpose?