s-expressions

Amit Rathore blogs about software development

Archive for January, 2006

On DSLs

Posted by Amit Rathore on January 20, 2006

I’ve been busy, working on two very interesting projects these past several weeks (on the side – my current project for work is unbelievably mind-numbing). Both these projects are in Ruby and use Ruby On Rails. There, got that out of the way.

I’ve always been in search of software designs that result in a clean DSL (Domain Specific Language)… lisp style, bottom up, bring the language up to the problem, rather than the other way around, etc. What I’ve managed so far is a set of mini-DSLs in my applications. One for each module, so to speak.

And perhaps, that is the way things work in general; rather than the unrealistic goal of building *one* DSL which is supposed to capture your entire domain – build several, smaller ones, which each capture aspects of the domain.

Posted in Uncategorized | Tagged: , , , | Leave a Comment »

CVS Quick Reference

Posted by Amit Rathore on January 5, 2006

I’ve looked up this information in the Open Source Development With CVS book so many times that I decided to put it up here so others who might want it can get at it just as easily as I can.

* Creating a repository: cvs -d init
* Importing a module: cvs import -m
* Checking a module out: cvs checkout
* Adding and checking files in:
o cvs add -kb
o cvs -q commit -m
* Updating a module – be in the same directory as project: cvs update -dR

More information can be got either from the cederquist manual or from the book mentioned above – its quite good, actually. Of course, you’re using subversion now, right?

Posted in Uncategorized | Tagged: | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.

Join 1,585 other followers