Skip to content
  • Alec Theriault's avatar
    4f75be94
    Use the GHC lexer for the Hyperlinker backend (#714) · 4f75be94
    Alec Theriault authored and Alex Biehl's avatar Alex Biehl committed
    * Start changing to use GHC lexer
    
    * better cpp
    
    * Change SrcSpan to RealSrcSpan
    
    * Remove error
    
    * Try to stop too many open files
    
    * wip
    
    * wip
    
    * Revert "wip"
    
    This reverts commit b605510a195f26315e3d8ca90e6d95a6737553e1.
    
    Conflicts:
    	haddock-api/haddock-api.cabal
    	haddock-api/src/Haddock/Interface.hs
    
    * Remove pointless 'caching'
    
    * Use dlist rather than lists when finding vars
    
    * Use a map rather than list
    
    * Delete bogus comment
    
    * Rebase followup
    
    Things now run using the GHC lexer. There are still
    
      - stray debug statements
      - unnecessary changes w.r.t. master
    
    * Cleaned up differences w.r.t. current Haddock HEAD
    
    Things are looking good. quasiquotes in particular look beautiful: the
    TH ones (with Haskell source inside) colour/link their contents too!
    
    Haven't yet begun to check for possible performance problems.
    
    * Support CPP and top-level pragmas
    
    The support for these is hackier - but no more hacky than the existing
    support.
    
    * Tests pass, CPP is better recognized
    
    The tests were in some cases altered: I consider the new output to be more
    correct than the old one....
    
    * Fix shrinking of source without tabs in test
    
    * Replace 'Position'/'Span' with GHC counterparts
    
    Replaces 'Position' -> 'GHC.RealSrcLoc' and 'Span' -> 'GHC.RealSrcSpan'.
    
    * Nits
    
    * Forgot entry in .cabal
    
    * Update changelog
    4f75be94
    Use the GHC lexer for the Hyperlinker backend (#714)
    Alec Theriault authored and Alex Biehl's avatar Alex Biehl committed
    * Start changing to use GHC lexer
    
    * better cpp
    
    * Change SrcSpan to RealSrcSpan
    
    * Remove error
    
    * Try to stop too many open files
    
    * wip
    
    * wip
    
    * Revert "wip"
    
    This reverts commit b605510a195f26315e3d8ca90e6d95a6737553e1.
    
    Conflicts:
    	haddock-api/haddock-api.cabal
    	haddock-api/src/Haddock/Interface.hs
    
    * Remove pointless 'caching'
    
    * Use dlist rather than lists when finding vars
    
    * Use a map rather than list
    
    * Delete bogus comment
    
    * Rebase followup
    
    Things now run using the GHC lexer. There are still
    
      - stray debug statements
      - unnecessary changes w.r.t. master
    
    * Cleaned up differences w.r.t. current Haddock HEAD
    
    Things are looking good. quasiquotes in particular look beautiful: the
    TH ones (with Haskell source inside) colour/link their contents too!
    
    Haven't yet begun to check for possible performance problems.
    
    * Support CPP and top-level pragmas
    
    The support for these is hackier - but no more hacky than the existing
    support.
    
    * Tests pass, CPP is better recognized
    
    The tests were in some cases altered: I consider the new output to be more
    correct than the old one....
    
    * Fix shrinking of source without tabs in test
    
    * Replace 'Position'/'Span' with GHC counterparts
    
    Replaces 'Position' -> 'GHC.RealSrcLoc' and 'Span' -> 'GHC.RealSrcSpan'.
    
    * Nits
    
    * Forgot entry in .cabal
    
    * Update changelog
To find the state of this project's repository at the time of any of these versions, check out the tags.
Loading