rouge-lexers-whatlang
Rouge lexer for WhatLang, a stack-based esolang.
Installation
Add this line to your Gemfile:
gem 'rouge-lexers-whatlang'Or run:
$ gem install rouge-lexers-whatlangUsage
For Jekyll:
{% highlight whatlang %}
3range@(`Hello, world!\n`)#__
{% endhighlight %}or use fenced code blocks in Markdown / Kramdown:
```whatlang
3range@(`Hello, world!\n`)#__
```For Rouge CLI:
$ rougify highlight -r rouge-lexers-whatlang [...]Besides whatlang, this lexer also supports what and wl as aliases. .what is the file extension for WhatLang.
Testing
After cloning the repository, run ruby bin/visual.rb (optionally followed by a theme name which defaults to thankful_eyes) to write a visual test to tmp/visual.html.