Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

XASH is a external DSL which can be written in YAML!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages