dsl

What's better for DSL: TCL or Lisp?

What's better for DSL: TCL or Lisp? What can you say about Java(C#)-TCL binding versus Lisp(Scheme)? What DSL tool is applicable for .Net development? (excepting Microsoft DSL tools) ...

Writing a compiler for a DSL in python

I am writing a game in python and have decided to create a DSL for the map data files. I know I could write my own parser with regex, but I am wondering if there are existing python tools which can do this more easily, like re2c which is used in the PHP engine. Some extra info: Yes, I do need a DSL, and even if I didn't I still want t...

DSL Tools: How to create the DLL as weak-named

Hello, I have a DSL Tools solution. I need to add a weak-named reference to this project. Because the DSL Tools project DLL is strong-named i cannot used the weak-named DLL. I cannot make the DLL strong-named because i cannot recompile it. I tried to make my DSL Tools project DLL weak-named by going to the Dsl and DslPackage project ...

Can I write a DSL in Perl?

We use Perl for GUI test automation. It has been very successful. We have written a very lightweight DSL kind of language for GUI testing. The DSL is very similar to a object model. For example, we have an Application object at the root. Each property sheet in the application is a View object. Each page under the page is called Page obj...

Domain Specific Language in C/C++, does this Kosher?

I was just fooling around with some Domain Specific Language designs for a new project in C/C++ when I thought up this "odd" solution: define DSL(...) MakeCommand(#__VA_ARGS__\ )->Exec()->GetResults() MyResults results = DSL( for p in people do something ); The nice part is this is correct by the stand...

Python method arguments with spaces

I would like to create a simple file format/DSL which would allow my users to input data. My system is in python and using python's parser is appealing. Syntax like this for defining a data element seems quite convenient. Allocation(Param1 = Val1, Param2 = Val2 ) However, it does not support param names with spaces. Allocation(Para...

What are the major tools for DSL construction?

I know there's support for design and creation of domain-specific languages in VS 2008, then there's the Meta Programming System from Jetbrains. Are there any other major tools in this arena? What are the most used tools for DSL construction? ...

Microsoft Visual Studio SDK DSL Tools - Any serious takers?

We are considering Microsoft DSL toolkit for creating some abstract designers. I already did some POCs, but would like to get some opinions on the same. Any one here to share their experiences working with Microsoft DSL Toolkit and T4? Also, any pointers to open source DSL projects will help - Eg. Microsoft Service Factory modeling edit...

is SFig language syntax efficient and clear (and better than Spring-Framework's XML DSL)?

ADDENDUM EDIT: Have not accepted an answer to this as there has not been any feedback from experienced Spring Framework developers. I've been working on a replacement DSL to use for Spring-Framework applicationContext.xml files (where bean initialization and dependency relationships are described for loading up into the Sprin...

Alternative to obsolete UndoState.DisabledNoFlush

A partner of mine asked this, Hello, I am using C# and DSL Tools for VS2005. I need to create Transactions to change some data but i want them to be hidden from the user, that means, to not show in the UNDO list in VS2005. store.UndoManager.UndoState = UndoState.Disabled; this solved the problem but is documente...

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? ...

When is it reasonable to create my own programming language?

Are there types of killer applications, classes of algorithmic problems, etc., where it is better, in the long run, to create my own language? PS: Just to be sure, I mean a new programming language and a compiler, not a new compiler for an existing language. EDIT: Thank you for the answers. Can you provide some examples, where it is ab...

Can we use RubyOnRails for Banking and financial transactions domain.

Can we use RubyOnRails framework to develop websites for financial transactions & banking transcations. Is RubyonRails a DSL for banking Domains. Some days on DSL, i believe most of the facts of Banking system are static and they may not need any subsequent alterations.. simultaneously. So defining a DSL, one way process must work. ...

Use domain-specific-language files inside C++ project

Hi I am developping a DSL with its own graphical editor. Such files have a .own extension. I also have a small tool that compiles .own files into .h files. X.own --> X.h and X/*.h I have written a simple .rules file to launch the generation. My problem is the following : Most of my source files include X.h, but a change in X.own does...

Do well thought out method/function names create a DSL?

I was thinking, method names and their calls seem to create a DSL in your code, by wrapping up the generic stuff and naming it appropriately for what you're trying to achieve. You know, so it's easy to reason about what the following means if (a.isSubReportOf(b) || b.isSubReportOf(a)) { // do stuff } but the code in the methods m...

What technology to use in creating DSL for rules engine?

What technology would you recommend to create a DSL for a Business Rules and Validation Application Block for .NET? And why? The architecture of the framework is established and proof-tested by a production. I just want to create a .NET processor to transform human-readable rules to a compiled Rule implementations. The options that I'...

Loading Iron Ruby DSL files on demand

Hi, Currently I have an application that stores metadata information written in a boo internal DSL. I store the metadata in seperate .boo files that I load if and when I need them like this: IConfigReader reader = factory.Create(BUILD_FILE_NAME); I would like to take advantage of Iron Ruby's or indeed Ruby's meta programming by conve...

A DSL for Linq Queries - looking for ideas

I am currently using a CMS which uses an ORM with its own bespoke query language (i.e. with select/where/orderby like statements). I refer to this mini-language as a DSL, but I might have the terminology wrong. We are writing controls for this CMS, but I would prefer not to couple the controls to the CMS, because we have some doubts abo...

What's the point of DSLs / fluent interfaces

I was recently watching a webcast about how to create a fluent DSL and I have to admit, I don't understand the reasons why one would use such an approach (at least for the given example). The webcast presented an image resizing class, that allows you to specify an input-image, resize it and save it to an output-file using the following ...