[Git][ghc/ghc][wip/multiline-strings] 8 commits: Define GHC2024 language edition (#24320)

Brandon Chinn (@brandonchinn178) gitlab at gitlab.haskell.org
Sat Feb 24 03:21:13 UTC 2024



Brandon Chinn pushed to branch wip/multiline-strings at Glasgow Haskell Compiler / GHC


Commits:
09941666 by Adam Gundry at 2024-02-21T13:53:12+00:00
Define GHC2024 language edition (#24320)

See https://github.com/ghc-proposals/ghc-proposals/pull/613. Also
fixes #24343 and improves the documentation of language editions.

Co-authored-by: Joachim Breitner <mail at joachim-breitner.de>

- - - - -
5121a4ed by Ben Gamari at 2024-02-23T06:40:55-05:00
Allow docstrings after exports

Here we extend the parser and AST to preserve docstrings following
export items. We then extend Haddock to parse `@since` annotations in
such docstrings, allowing changes in export structure to be properly
documented.

Bumps haddock submodule.

- - - - -
9dd800ed by Brandon Chinn at 2024-02-23T19:19:35-08:00
Add MultilineStrings extension

- - - - -
14495110 by Brandon Chinn at 2024-02-23T19:19:35-08:00
Add test cases for MultilineStrings

- - - - -
f5086dda by Brandon Chinn at 2024-02-23T19:19:35-08:00
Break out common lex_magic_hash logic for strings and chars

- - - - -
a420d490 by Brandon Chinn at 2024-02-23T19:19:35-08:00
Factor out string processing functions

- - - - -
6c9e809b by Brandon Chinn at 2024-02-23T19:21:04-08:00
Implement MultilineStrings (#24390)

Updates haddock submodule for new ITmultiline constructor

- - - - -
d2edce69 by Brandon Chinn at 2024-02-23T19:21:05-08:00
Add docs for MultilineStrings

- - - - -


30 changed files:

- compiler/GHC/Driver/DynFlags.hs
- compiler/GHC/Driver/Flags.hs
- compiler/GHC/Driver/Session.hs
- compiler/GHC/Hs/Doc.hs
- compiler/GHC/Hs/ImpExp.hs
- compiler/GHC/Hs/Lit.hs
- compiler/GHC/Hs/Syn/Type.hs
- compiler/GHC/HsToCore/Docs.hs
- compiler/GHC/HsToCore/Match/Literal.hs
- compiler/GHC/Iface/Ext/Ast.hs
- compiler/GHC/Parser.y
- compiler/GHC/Parser/Lexer.x
- compiler/GHC/Parser/PostProcess.hs
- compiler/GHC/Parser/PostProcess/Haddock.hs
- + compiler/GHC/Parser/String.hs
- compiler/GHC/Rename/Expr.hs
- compiler/GHC/Rename/Names.hs
- compiler/GHC/Tc/Errors/Ppr.hs
- compiler/GHC/Tc/Gen/Export.hs
- compiler/Language/Haskell/Syntax/Extension.hs
- compiler/Language/Haskell/Syntax/ImpExp.hs
- compiler/Language/Haskell/Syntax/Lit.hs
- compiler/ghc.cabal.in
- docs/users_guide/9.10.1-notes.rst
- + docs/users_guide/9.12.1-notes.rst
- docs/users_guide/exts/binary_literals.rst
- docs/users_guide/exts/constrained_class_methods.rst
- docs/users_guide/exts/constraint_kind.rst
- docs/users_guide/exts/control.rst
- docs/users_guide/exts/data_kinds.rst


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/3f7effa920898352269d028e5d0dc86fbb7fb978...d2edce69340c31ab7ed995f7db5fae269976733f

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/3f7effa920898352269d028e5d0dc86fbb7fb978...d2edce69340c31ab7ed995f7db5fae269976733f
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240223/5219a368/attachment.html>


More information about the ghc-commits mailing list