Review Request 119767: Add Hamlet and Haskell quasiquotation

Dominik Haumann dhaumann at kde.org
Mon Sep 29 20:10:38 UTC 2014



> On Aug. 15, 2014, 12:22 p.m., Dominik Haumann wrote:
> > src/syntax/data/haskell.xml, line 363
> > <https://git.reviewboard.kde.org/r/119767/diff/2/?file=305500#file305500line363>
> >
> >     This question persists:
> >     
> >     The rule 
> >     <DetectChar attribute="Normal" context="List or QuasiQuote" char="["/>
> >     from line 357 is included in this context.
> >     
> >     Matching '[' will switch to "List or QuasiQuote".
> >     Since the rule above is in this context again, finding '[' will again switch into this context, such that the contexts add up.
> >     
> >     That is what I meant before when asking "Do you ever #pop back to the context "code"?" :-)
> >     
> >     Would it also be possible to use fallthrough and fallthroughContext like this:
> >     <context attribute="Normal" lineEndContext="#stay" name="List or QuasiQuote" fallthrough="true" fallthroughContext="#pop">
> >     and then remove the line 360?
> >     <IncludeRules context="code" />

Hi Bastian, do you have any updates here? :)


- Dominik


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/119767/#review64598
-----------------------------------------------------------


On Aug. 14, 2014, 8:39 p.m., Bastian Holst wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/119767/
> -----------------------------------------------------------
> 
> (Updated Aug. 14, 2014, 8:39 p.m.)
> 
> 
> Review request for Kate, KDE Frameworks and Christoph Cullmann.
> 
> 
> Repository: ktexteditor
> 
> 
> Description
> -------
> 
> This request request mostly contains syntax highlighting for Hamlet
> files. Hamlet is a Haskell based Template language for creating
> HTML documents. As Hamlet can be embedded into an ordinary Haskell
> file with quasi quotation, this also implements QuasiQuotation support
> for Haskell files.
> 
> 
> Diffs
> -----
> 
>   src/syntax/data/hamlet.xml PRE-CREATION 
>   src/syntax/data/haskell.xml 104e43ddafb2e7ca5ccc84fcf8344267e3148e05 
> 
> Diff: https://git.reviewboard.kde.org/r/119767/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Bastian Holst
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140929/e40922cf/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list