Pages tagged dsl:

Twibot: A microframework for Twitter bots in Ruby / Ruby - cjohansen.no
http://www.cjohansen.no/en/ruby/twibot_a_microframework_for_twitter_bots_in_ruby

Twibot 0.1.1 hit the RubyForge gem server today. Inside is a microframework for writing Twitter bots in Ruby, using a DSL heavily inspired by Sinatra.
Create UML diagrams online in seconds, no special tools needed.
http://yuml.me/
nota
Create online UML diagrams in seconds from inside your blog posts, articles and documents.
lambdaj - Google Code
http://code.google.com/p/lambdaj/
a functional-style library, built on hamcrest, for operating on Java collections
ambdaj is a library that makes easier to address this issue by allowing to manipulate collections in a pseudo-functional and statically typed way. In our experience to iterate over collection, especially in nested loops, is often error prone and makes the code less readable. The purpose of this library is to alleviate these problems employing some functional programming techniques but without losing the static typing of java. We impose this last constraint to make refactoring easier and safer and allow the compiler to do its job.
lambdaj is a library that makes easier to address this issue by allowing to manipulate collections in a pseudo-functional and statically typed way. In our experience to iterate over collection, especially in nested loops, is often error prone and makes the code less readable. The purpose of this library is to alleviate these problems employing some functional programming techniques but without losing the static typing of java. We impose this last constraint to make refactoring easier and safer and allow the compiler to do its job.
Metaprogramming in Ruby: It’s All About the Self « Katz Got Your Tongue?
http://yehudakatz.com/2009/11/15/metaprogramming-in-ruby-its-all-about-the-self/
Very clearly written
Metaprogramming in Ruby: It’s All About the Self
The Magic Behind Parser Combinators - Code Commit
http://www.codecommit.com/blog/scala/the-magic-behind-parser-combinators
If you’re like me, one of the first things that attracted you to Scala was its parser combinators. Well, maybe that wasn’t the first thing for me, but it was pretty far up there. Parser combinators make it almost too easy to create a parser for a complex language without ever leaving the comfortable play-pen afforded by Scala. Incidentally, if you aren’t familiar with the fundamentals of text parsing, context-free grammars and/or parser generators, then you might want to do some reading before you continue with this article.
If you ever want to write a basic parser in Scala, take a look at this.
need
The If Works » Blog Archive » Talk: Writing a language in 15 minutes
http://blog.jcoglan.com/2009/05/19/talk-writing-a-language-in-15-minutes/
I gave a talk at London Ruby User Group yesterday, based on the work I’ve been doing on Heist, my Scheme interpreter project. I wrote the core of a basic Scheme interpreter in about 15 minutes as a live-coded demo (well, kind of – the coding was pre-recorded so I could focus on talking), which seemed to go down pretty well.
15分で作るScheme interpreter in Ruby.
A talk on how to implement a Scheme interpreter in 15 minutes. The parsing is taken care of primarily by Treetop, a syntactic analysis / parser creation DSL for Ruby.
the { buckblogs :here }: LEGOs, Play-Doh, and Programming
http://weblog.jamisbuck.org/2008/11/9/legos-play-doh-and-programming
A very nice metaphor for Ruby-types (loose) vs Java-types (straight) languages
in dynamic languages, don't go overboard with dependency injection
By Jamis Buck, creator of Capistrano
(fab) - a pure javascript DSL for building async web apps
http://www.fabjs.org/
a pure javascript DSL for building async web apps Introduction (fab) is a lightweight (~2KB minified and gzipped) toolkit that makes it easy to build asynchronous web apps. It takes advantage of the flexibility of javascript to create a concise DSL without pre-compilation or magic scope hackery. Node.js currently the only supported platform.
(fab) is a lightweight (~2KB minified and gzipped) toolkit that makes it easy to build asynchronous web apps. It takes advantage of the flexibility of javascript to create a concise DSL without pre-compilation or magic scope hackery.