I'm playing around with text parsing in the REPL, and sometimes want to dump in a bunch of data into a string, whether it's a bibtex entry or some EBNF notation etc. Typically there might be quotation marks in the string, and it's very tedious and error-prone to have to manually escape them..
Is there an alternative way of doing this, such as Ruby's %Q|I
can use "Quotation Marks"|
or heredocs
etc? Or would it be possible to write a macro or modification of the reader to enable this?