I need help with one of the Groovy 1.8 DSL features. Consider this test case: 开发者_Go百科/** * For odd number of elements, treat the last element as a call to a getter
I\'m using an interpreter for my domain specific language rather than a compiler (despite the performance). I\'m struggling to understand some of the concepts though:
I am writi开发者_如何转开发ng an internal DSL in Ruby.For this, I need to programmatically create named classes and nested classes.What is the best way to do so?I recon that there are two ways to do s
[Note: Rereading this before submitting, I realized this Q has become a bit of an epic. Thank you for indulging my long explanation of the reasoning behind this pursuit. I feel that, were I in a posit
At the moment, I have to work with XACML. As there doesn\'t seem to be an editor to fit my needs, and as writing documents in it is a real pain, I wonder if I could not create some sort of DSL to make
Is it possible to define a brand new operator in Groovy? I would开发者_开发问答 like to express a trade where someone buys 200 items for the price of 10 like this:
I am working on a fairly simple DSL and would like to be declare and allocate variables more naturally.
I am playing around with creating a DSL. I am using http://jroll开发者_运维问答er.com/rolsen/entry/building_a_dsl_in_ruby as a guide.
I am hoping that Combinator parsers, (http://debasishg.blogspot.com/2008/04/external-dsls-made-easy-with-scala.html), will work for a design to process the routing rules for a REST service that is imp
What\'s the recommended way to embed JVM in C program with NO library. This means JVM as a eD开发者_JAVA百科SL execution engine. (Not whole Java platform environment) I\'m trying to use another JVM ba