domain-specific-languages

Domain Specific Languages (DSL) and Domain Driven Design (DDD)

What is the differences and similarities between Domain Specific Languages (DSL) and Domain Driven Design (DDD)? ...

Anyone got any plans to use Cryptol from Galois?

I saw in a Dr Dobb's email report for 2008-12-29 that there's a new DSL (domain-specific language) for designing crypto systems. It is called Cryptol and is available from Galois. Has anybody taken a look at it? Does anyone have plans to use it? Is it worthwhile, do you think? Robert Gamble notes: Cryptol is not new, it has been ...

Is Antlr a DSL generator and an alternative to Intentional Programming?

I am struck by the ambition and creativity of Charles Simonyi's efforts to establish the field of Intentional Programming, first at Microsoft and then with his own company. http://stackoverflow.com/questions/201386/what-exactly-is-intentional-programming http://en.wikipedia.org/wiki/Intentional_programming In this approach to softw...

Why are parsing tools needed for DSLs?

Couldn't a DSL be as simple as an API and therefore not need a parser? Or am I misunderstanding what a domain specific language really is? I thought it referred to any organized set of rules for solving a particular domain problem. An API would seem to fit that definition, right? ...

Good resources for learning visual studio DSL tools?

Can anyone recommend any good resources (online or books) for learning how to use visual studio's domain specific language tools? I know the msdn site has some pretty good walk-throughs/tutorials but I am looking for something more detailed. ...

Domain Specific Language Bloggers

I have a current need to greatly increase my knowledge around DSLs. Who are the big names in DSLs? What blogs should I be reading? ...

DSL vs Method calls: pros and cons

I have a rather peculiar data source I have to work with (an interface to an accounting application actually). While it is pretty powerful, I have to jump through pretty many hoops to get the data I want out of it. For example, if I want to get the contents of a table and specify which columns it should return, I have to iterate through ...

PHP text parsing and / or make your own language?

Been Googling around without finding much at all, so does anyone know of a class or library that helps you parse any sort of language, like a Domain Specific Language (I'm creating one, so I'm flexible in what the syntax and format can be) into either PHP code or some helpful struct or a class hiearchy or ... ? Anything goes at this poin...

Choice of DSL framework

I am working on a project that requires me to define a DSL. Since coming up with the right DSL is critical for my project, I decided to evaluate existing frameworks that help in defining DSLs,parsing it and code generation(which has to be in a .NET based language) The frameworks I considered are : Boo language that has a customizable c...

Ruby DSL (Domain Specific Language) repositories, examples

I am seeking excellent examples of Ruby DSLs (Domain Specific Languages). Which repositories, projects do you know of that are worth a read? Why is it (or: are they) great examples? I am particularly interested in more complex examples that are well thought-out and designed. ...

Which parts of a Ruby DSL will I need to build by hand?

If I want to build a DSL in Ruby 1.9 or JRuby, will I need to do any of these stages by hand: Lexing Interpretation Parsing Just-in-time compilation Obviously, being a programmer, I don't like to write actual code as much as I can get away with, so I'm hoping none of these steps require manual labor :) ...

What's an example of a small custom DSL for internet advertising?

I'm just learning about DSLs and I'm trying to put them in a context I can understand. Let's say we're talking about internet advertising, for example - since that's a field I would like to work in - what's an example of a small custom DSL you might build? Also, what are some of the high level technical steps you would need to impleme...

When should I use a Domain Specific Language?

I would like some practical guidance on when I should use a Domain Specific Language. I have found resources about advantages and disadvantages, but what kind of project would warrant its use? It seems like there is a big investment in time to create and maintain a DSL, so in what application space would I get a productivity return on ...

Successful Domain-Specific Languages ? Which one do you use ?

Hi, I'm interested in Domain Specific Languagess design and implementation. Much of the DSLs that I know stem from the academic world. Can you give me some pointers to DSLs that are actually used in the industry ? and that you use on a daily-basis...which are really convenient.. (I'm interested in declarative languages too, but not re...

Parsing and evaluating given conditions

What I'm trying to do this is writing a simple parser for the following case in .NET ( [PART3]function1() AND [PART4]function7() ) OR [PART2]function90() [PART] indicates the evaluation location, (assume that this is huge text file, PART separates text files into large chunks) function() s are my documented function which can be call...

Visual Studio DSL Tools and Server Explorer

Is it possible to enable users to drag and drop a Table from the Visual Studio Server Explorer onto my own DSL Diagram? I can drop custom Domain Classes I have created but want to make use of the build in funcationality. I am working in Visual Studio 2010. ...

What is the difference between "DSL Tools" and "Oslo"?

Hi, I've just started playing with domain-specific tools development, and I'm playing with Visual Studio SDK DSL Tools. However, I heard that Microsoft have another initiative into domain-specific development called "Oslo". My impression is that DSL Tools is focused on graphical domain-specific languages, whereas Oslo is focused on tex...

How to fix blurred Icon Decorator on DSL Tools?

I faced this problem and after an extensive research I found its root cause and a workaround that can be useful for other people. The icon decorator becomes "blurred" because its positioning on the shape and the conversion from pixels to inches. Usually the drawing surface of the Domain Specific Language has a resolution of 96dpi and t...

Is there any way to programmatically generate Python bytecode?

I want to hack around with the Python interpreter and try creating a small DSL . Is there any module where I can do something like this theoretical code (similar to LINQ expression trees)? expression_tree = Function( Print( String('Hello world!') ) ) compile_to_bytecode(expression_tree) Or would it just be easier t...

Domain-specific languages vs. library of functions

This may be subjective, I don't know: I have this problem, which I'm kind of equating to the "what language for this project?" question, since I can't seem to solve it. I've been commisioned to write a book about a certain domain (let's say a very specific branch of physics) for a very technically savvy community, but who are not progr...