XASH is a external DSL which can be written in YAML!
Ruby
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
samples
test
.gemtest
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
xash.gemspec

README.md

Xash

Installation

$ gem install xash

Usage

$ xash file.yml

Testing

$ rake test

Example

samples/fizzbuzz.yml

#FizzBuzz
- for: [1..10,
    do: [ ar: [i],
        case: [
            [$i, mod, 15, ==, 0], FizzBuzz,
            [$i, mod, 3, ==, 0], Fizz,
            [$i, mod, 5, ==, 0], Buzz,
            do: [$i]
        ]
    ]
]

Document

see wiki

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request