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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request