Support for macros returning macros? #298
-
Sorry for the multiple questions. This follows on from @mflatt 's earlier response to supporting Is it possible to write a macro that automatically generates Here's what I've tried so far:
The above fails with the error // dot: bad syntax
// in: (dot "'" (op $) left (op |.|) x "'" (block ,,, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The trick to nesting quotes in quotes is to use
You can use |
Beta Was this translation helpful? Give feedback.
The trick to nesting quotes in quotes is to use
'«
for the outer opening quote and»'
for the outer closing quote:You can use
'«
...»'
in place of'
...'
anywhere, but the idea of using non-ASCII characters is that immediate quote nesting is relatively rare, so maybe it's ok to make that a little more difficult to type (but«
and»
are Option-\ and Shift-Option-\ on a U.S. Mac keyboard), and that way we don't use more valuable characters and combinations.