Ruby and DSL

  • Link

http://www.catch.jp/wiki/index.php?ParserGenerator#z0787e74

http://rubyist.g.hatena.ne.jp/irykaze/20081207/1230815685


まつもと直伝 プログラミングのオキテ 第6回
第6回 メタプログラミング
http://itpro.nikkeibp.co.jp/article/COLUMN/20070604/273453/

メタプログラミングを使ってRubyにプロパティを追加する
http://www.infoq.com/jp/articles/properties-metaprogramming

  • Example

http://github.com/search?langOverride=Ruby&q=DSL&repo=&start_value=1&type=Repositories

たくさんある

  1. Formtastic

A Rails form builder plugin with semantically rich and accessible markup
SRC http://github.com/justinfrench/formtastic

  1. RoRDevToolkit

Rake-based toolkit for installing RoR-developer tools (like ViM with plugins, db server, testing environment). It supports custom recipes in DSL.
SRC http://github.com/sevos/rordevtoolkit
LAST January 13, 2010

  1. oh-behave

provides a DSL for testing actual user behavior of a web application, using Google Analytics
SRC http://github.com/briandoll/oh-behave
LAST March 01, 2010

  1. TestFs

A simple DSL for generating temporary filesystems for your tests
SRC http://github.com/reagent/test-fs
LAST February 24, 2009

  1. Selenium Poetry

Selenium Poetry is a DSL created to separate the test intention from the HTML selectors. HTML selector are placed in separate YAML files, while the test uses identifiers (phrases) to refer to the selectors in the YAML files.
SRC http://github.com/viniciusteles/selenium_poetry
LAST October 03, 2008

  1. selenium-core-example

It uses selenium core and a ruby DSL for simple functional tests.
SRC http://github.com/pdeka/selenium-core-example
LAST June 10, 2010

  1. selenium-rspec-dsl

A DSL using Selenium and Rspec that simplifies the creation, maintainability, and readablilty of automation tests.
SRC http://github.com/stgillen/selenium-rspec-dsl
LAST April 20, 2010

  1. flows

Acceptance testing DSL around RSpec and Webrat for Rack apps
SRC http://github.com/dancroak/flows
REF http://37signals.com/svn/posts/1926-a-shorthand-for-designing-ui-flows
LAST January 18, 2010

  1. expectacular

Expectations for your Test::Unit tests (DSL to use instead of "assert" and friends)
SRC http://github.com/foca/expectacular
LAST May 26, 2009