﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>JKM commented on Looking for a DSL idea</title><description>I have been thinking about doing a DSL for the bible.  Not sure how I would go about it exactly.
</description><link>http://ayende.com/3068/looking-for-a-dsl-idea#comment12</link><guid>http://ayende.com/3068/looking-for-a-dsl-idea#comment12</guid><pubDate>Mon, 24 Dec 2007 03:18:15 GMT</pubDate></item><item><title>Apache Camel commented on Looking for a DSL idea</title><description>a few months back when i had some down time, i played around with implementing porting parts of this to .net
  
  
http://activemq.apache.org/camel/
  
  
l0t3k
</description><link>http://ayende.com/3068/looking-for-a-dsl-idea#comment11</link><guid>http://ayende.com/3068/looking-for-a-dsl-idea#comment11</guid><pubDate>Sun, 23 Dec 2007 15:47:33 GMT</pubDate></item><item><title>S&amp;#248;ren Skovsb&amp;#248;ll commented on Looking for a DSL idea</title><description>Ayende,
  
  
one problem domain that is general and still close to many customers' world is questionnaires. I have created a DSL for that purpose, although using Gold Parser and not Boo.
  
  
Questionnaires tend to (like most other things) start out pretty simple, but soon the customer wants to be able to define for instance questions that yield other questions, or to define new types of possible answers.
  
  
Here's an example of a questionnaire definition:
  
  
Section "Appliances"
  
  
   ? "How many vacuum cleaners have you got?" integer (0-10)
  
   for each answer
  
   (
  
        ? "What's the brand of this vacuum cleaner?" list ("Siemens", "Miele", "Other")
  
        ? "When did you buy it?" integer (1970 - 2007)
  
   )
  
  
The downside of my suggestion (related to your book) is that it's an example of a 100% declarative DSL, where as Boo gives the power to mix declarative and imperative DSLs, and is strongest at imperative ones.
  
  
I look forward to reading your book,
  
Søren
  
</description><link>http://ayende.com/3068/looking-for-a-dsl-idea#comment10</link><guid>http://ayende.com/3068/looking-for-a-dsl-idea#comment10</guid><pubDate>Sun, 23 Dec 2007 15:11:54 GMT</pubDate></item><item><title>ActiveEngine Sensei commented on Looking for a DSL idea</title><description>Auto manufacturing / auto dealer would be a good subject, as you can have different lines of products with different sub-products and rules that govern what can be included in a final car package.  Supply chain can be incorporated as well for part and automobile locations, etc.
  
  
Plus, you have the opportunity to represent current CAFE standards as well as the mandate for a flexible rules engine that supports new CAFE standards, ala what's been passed recently in the US.
</description><link>http://ayende.com/3068/looking-for-a-dsl-idea#comment9</link><guid>http://ayende.com/3068/looking-for-a-dsl-idea#comment9</guid><pubDate>Sun, 23 Dec 2007 15:01:08 GMT</pubDate></item><item><title>Det. Alonso Alagr&amp;#233; commented on Looking for a DSL idea</title><description>Yeah Ayende, just like code generators, right? I think the point is the same: having a tool generating an underlying syntax via a gui interface or some wizards versus a having a language.
  
On top of that you could push supported features as you like, to have it complex as you like ("...it has to be complex enough...") and regular expressions is something quite known... not deeply known maybe, but for who runs with scissors it is surely something at least known ("...be useful and familiar enough...").
  
  
Anyway, as you like ;) !
</description><link>http://ayende.com/3068/looking-for-a-dsl-idea#comment8</link><guid>http://ayende.com/3068/looking-for-a-dsl-idea#comment8</guid><pubDate>Sun, 23 Dec 2007 14:18:38 GMT</pubDate></item><item><title>Ayende Rahien commented on Looking for a DSL idea</title><description>Alonso,
  
I don't think so, you can check a few of the fluent interfaces for regex, they seem to do most of the work just fine.
</description><link>http://ayende.com/3068/looking-for-a-dsl-idea#comment7</link><guid>http://ayende.com/3068/looking-for-a-dsl-idea#comment7</guid><pubDate>Sun, 23 Dec 2007 14:04:07 GMT</pubDate></item><item><title>Ayende Rahien commented on Looking for a DSL idea</title><description>Steve,
  
Thanks for the ideas.
  
Yes, the DSL is based on Boo
</description><link>http://ayende.com/3068/looking-for-a-dsl-idea#comment6</link><guid>http://ayende.com/3068/looking-for-a-dsl-idea#comment6</guid><pubDate>Sun, 23 Dec 2007 14:03:25 GMT</pubDate></item><item><title>Det. Alonso Alagr&amp;#233; commented on Looking for a DSL idea</title><description>Maybe a DSL to create regular expression? That may end up a little limitating, but for the 90% of the common needs could be a more human readable way of creating regular expressions.
  
Ayende? What you say?
</description><link>http://ayende.com/3068/looking-for-a-dsl-idea#comment5</link><guid>http://ayende.com/3068/looking-for-a-dsl-idea#comment5</guid><pubDate>Sun, 23 Dec 2007 14:00:25 GMT</pubDate></item><item><title>Steve commented on Looking for a DSL idea</title><description>Is your DSL going to be built with Boo ?
</description><link>http://ayende.com/3068/looking-for-a-dsl-idea#comment4</link><guid>http://ayende.com/3068/looking-for-a-dsl-idea#comment4</guid><pubDate>Sun, 23 Dec 2007 13:44:32 GMT</pubDate></item><item><title>Steve commented on Looking for a DSL idea</title><description>You mention orders - I'd like to see how flexible an ordering system would be using DSL where you have significant product line differences.
  
  
ie. configuration of products that different customers have negotiated different costs.
  
  
ie. 3rd party items where you produce maybe 2 of the 3 items, but one of them is actually manufactured at a different company.
  
  
ie. backorders - determining when an order is complete for invoicing
</description><link>http://ayende.com/3068/looking-for-a-dsl-idea#comment3</link><guid>http://ayende.com/3068/looking-for-a-dsl-idea#comment3</guid><pubDate>Sun, 23 Dec 2007 13:43:36 GMT</pubDate></item><item><title>Ayende Rahien commented on Looking for a DSL idea</title><description>Reshef,
  
I am going to address debugging, certainly.
  
Although that may be a bit tricky, given that we purposefully do not want to look like a programming language.
  
  
The problem with the domain is that it has to be complex enough to be useful and familiar enough that I wouldn't need to explain what is going on there.
</description><link>http://ayende.com/3068/looking-for-a-dsl-idea#comment2</link><guid>http://ayende.com/3068/looking-for-a-dsl-idea#comment2</guid><pubDate>Sun, 23 Dec 2007 09:23:00 GMT</pubDate></item><item><title>Reshef Mann commented on Looking for a DSL idea</title><description>I think that DSL debugging is a very important issue that needs to be addressed.
  
For the subject, I think that my domain can be interesting - telephony. It has business plans, billing user account, interacting with telephony servers etc.
</description><link>http://ayende.com/3068/looking-for-a-dsl-idea#comment1</link><guid>http://ayende.com/3068/looking-for-a-dsl-idea#comment1</guid><pubDate>Sun, 23 Dec 2007 08:51:19 GMT</pubDate></item></channel></rss>