#5348: Template Haskell quasiquote escapes
---------------------------------+------------------------------------------
Reporter: simonpj | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.0.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by simonpj):
I see your point about double escaping. Getting rid of the escape
mechanism altogether is fine with me -- it's easy to implement!
But can you outline how Kathleen's PadsHaskell will work? She has
quasiquotes that involve fragments of Haskell:
{{{
[pads| blah blah { f x = "wubble" } blah blah |]
}}}
where the "`blah blah`" is in the PADS DSL, but then there's a bit of
proper Haskell inside. Now that proper Haskell is parsed with, well, a
Haskell parser. So if she want the sequence "|]" in that literal string,
what should she do?
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5348#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs