On Monday, 7 September 2015 at 00:34:20 UTC, Idan Arye wrote:
Compare it to Ruby's heredoc, where the chosen terminator string can be used as an hint(https://github.com/joker1007/vim-ruby-heredoc-syntax).

Or D's heredoc strings, yes, we have them too: http://dlang.org/lex.html (search for "heredoc" or "delimited string" on that page)

For example:

---
void main() {
        pragma(msg, q"RUBY
  def foo
    if a.nil?
      puts :lol
    end
  end
RUBY");
}
---

Reply via email to