[GHC] #14473: Implement Underscores in Numeric Literals Proposal (NumericUnderscores extension)

GHC ghc-devs at haskell.org
Fri Jan 5 05:25:00 UTC 2018


#14473: Implement Underscores in Numeric Literals Proposal (NumericUnderscores
extension)
-------------------------------------+-------------------------------------
        Reporter:  takenobu          |                Owner:  takenobu
            Type:  task              |               Status:  patch
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #13126 #9224      |  Differential Rev(s):  Phab:D4235
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by takenobu):

 For the later people, I record about the correspondence status of the
 syntax highlight on editors and code browsers for `BinaryLiterals`,
 `HexFloatLiterals` and `NumericUnderscores` extensions.


 * Vim
   * It has already been officially implemented. Since patch 8.0.1401
   * https://github.com/vim/vim/pull/2455

 * Emacs
   * Lowercase literals are already almost correctly displayed.
   * `haskell-lexeme.el` and `haskell-font-lock.el`

 * Atom (language-haskell package)
   * It has already been officially implemented. Since 1.15.0
   * https://github.com/atom-haskell/language-haskell/pull/112

 * Visual Studio Code (language-haskell extension)
   * It has already been officially implemented.
   * https://github.com/JustusAdam/language-haskell/pull/49

 * Linguist (which is used from github)
   * Linguis uses language-haskell submodule of atom.
   * Linguis will bump it at new year release.

 * Pygments (which is used from trac, readthedocs, pandoc, ...)
   * This is pending review.
   * https://bitbucket.org/birkenfeld/pygments-main/pull-requests/745

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14473#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list