dsl
Problems with GroovyShell and propertyMissing()
I\'m having problems using propertyMissing() together with GroovyShell I have the files /** * @file FooScript.groovy[详细]
2023-03-04 12:27 分类:问答How do you create array literals with HJScript or indeed HJavaScript?
In HJavaScript there is the Array type, but I 开发者_如何学Gocan\'t see a way of constructing a literal that would translate, for example, to JS as [1,2,3]. I don\'t want to have to create a new Array[详细]
2023-03-03 09:59 分类:问答DSL Tool NameAndType dynamic list
I have a question about DSL Class Shape Properties. I create a kind of DSL Tool. I want to have functionality a little bit like in class diagram.[详细]
2023-03-03 04:35 分类:问答Are there any other examples of DSL in powershell?
PowerBoots is a very useful example of DSL which exploits script blocks to create GUIs: Boots { StackPanel开发者_开发知识库 {[详细]
2023-03-02 19:34 分类:问答Groovy vs Scala for internal DSL
I am going to create an internal DSL for JVM. And I see that Scala and Groovy are the best candidates for this task. I found that Groovy script is less verbose, uses BigDecimal by default, while Scala[详细]
2023-03-02 08:03 分类:问答Use Ruby to parse a Tcl DSL
I would like to be able to parse some Tcl code where arguments are not surrounded by strings. Consider this tcl code:[详细]
2023-02-28 05:36 分类:问答How would you design such a DSL in Ruby?
I\'ve read that Ruby is great for domain specific languages. In the past few months i\'ve been creating a browser game, an rpg type. At some point, i would want users to be able to take and finish que[详细]
2023-02-24 03:57 分类:问答Use of Clojure macros for DSLs
I am working on a Clojure project and I often find myself writing Clojure macros for DSLs, but I was watching a Clojure video of how a company uses Clojure in their real work and the speaker said that[详细]
2023-02-20 00:46 分类:问答What's the cleanest way to ignore empty nodes with Nokogiri::XML::Builder
So let\'s say I have a builder template like the fol开发者_如何学编程lowing: builder = Nokogiri::XML::Builder.new(:encoding => \'UTF-8\') do |xml|[详细]
2023-02-18 19:35 分类:问答how to specify a codec in apache camel mina
I\'m trying to use the hl7codec in apache mina.I can see how to do it using spring e.g. beans:bean id=\"hl7codec\" class=\"org.apache.camel.component.hl7.HL7MLLPCodec\"[详细]
2023-02-15 20:31 分类:问答