Herbst 🍂
Herb Syntax Tree
What is Herbst?
Herbst (German for "autumn") provides tooling to translate various HTML templating languages like Haml, Slim, and others into the same unified syntax tree used by Herb.
Why Herbst?
Herbst bridges the gap between different HTML templating languages and the Herb ecosystem by:
- Translating Haml, Slim, and other HTML templating languages to Herb's unified syntax tree
- Enabling Herb tooling (linter, formatter, language server) to work with any supported templating language
- Unifying the developer experience across different HTML templating languages
All these HTML templating languages eventually produce HTML, and Herbst ensures they can all benefit from Herb's HTML-aware tooling.
Installation
Install the gem and add to the application's Gemfile by executing:
bundle add herbst
If bundler is not being used to manage dependencies, install the gem by executing:
gem install herbst
Usage
Herbst is currently in early development. Usage instructions will be added as the gem matures.
Development
After checking out the repo, run bin/setup to install dependencies. Then, run rake test to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and the created tag, and push the .gem file to rubygems.org.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/marcoroth/herbst. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
Code of Conduct
Everyone interacting in the Herbst project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.