Skip to content

long-long-float/xash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

107 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

 
 
 

Contributors

Languages