[Git][ghc/ghc][wip/multiline-strings] 6 commits: Add MultilineStrings extension

Brandon Chinn (@brandonchinn178) gitlab at gitlab.haskell.org
Sun May 19 14:46:02 UTC 2024



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


Commits:
2c45241d by Brandon Chinn at 2024-05-19T07:45:54-07:00
Add MultilineStrings extension

- - - - -
39267c59 by Brandon Chinn at 2024-05-19T07:45:54-07:00
Add test cases for MultilineStrings

- - - - -
d8773058 by Brandon Chinn at 2024-05-19T07:45:54-07:00
Break out common lex_magic_hash logic for strings and chars

- - - - -
37b6ad81 by Brandon Chinn at 2024-05-19T07:45:54-07:00
Factor out string processing functions

- - - - -
71cc9157 by Brandon Chinn at 2024-05-19T07:45:54-07:00
Implement MultilineStrings (#24390)

Updates haddock submodule for new ITmultiline constructor

- - - - -
e2fe3700 by Brandon Chinn at 2024-05-19T07:45:54-07:00
Add docs for MultilineStrings

- - - - -


30 changed files:

- compiler/GHC/Driver/Flags.hs
- compiler/GHC/Hs/Lit.hs
- compiler/GHC/Hs/Syn/Type.hs
- compiler/GHC/HsToCore/Match/Literal.hs
- compiler/GHC/Parser.y
- compiler/GHC/Parser/Lexer.x
- + compiler/GHC/Parser/String.hs
- compiler/GHC/Rename/Expr.hs
- compiler/Language/Haskell/Syntax/Extension.hs
- compiler/Language/Haskell/Syntax/Lit.hs
- compiler/ghc.cabal.in
- docs/users_guide/9.12.1-notes.rst
- docs/users_guide/exts/literals.rst
- + docs/users_guide/exts/multiline_strings.rst
- libraries/ghc-boot-th/GHC/LanguageExtensions/Type.hs
- testsuite/tests/count-deps/CountDepsParser.stdout
- testsuite/tests/driver/T4437.hs
- testsuite/tests/interface-stability/template-haskell-exports.stdout
- + testsuite/tests/parser/should_fail/MultilineStringsError.hs
- + testsuite/tests/parser/should_fail/MultilineStringsError.stderr
- + testsuite/tests/parser/should_fail/MultilineStringsInnerTab.hs
- + testsuite/tests/parser/should_fail/MultilineStringsInnerTab.stderr
- + testsuite/tests/parser/should_fail/MultilineStringsSmartQuotes.hs
- + testsuite/tests/parser/should_fail/MultilineStringsSmartQuotes.stderr
- testsuite/tests/parser/should_fail/all.T
- + testsuite/tests/parser/should_run/MultilineStrings.hs
- + testsuite/tests/parser/should_run/MultilineStrings.stdout
- + testsuite/tests/parser/should_run/MultilineStringsOverloaded.hs
- + testsuite/tests/parser/should_run/MultilineStringsOverloaded.stdout
- testsuite/tests/parser/should_run/all.T


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/1f4988a498fa7b899efd7b4fb82861b16f379e7f...e2fe3700f70309cf3d10a345fcbe18b1ef6e406d

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/1f4988a498fa7b899efd7b4fb82861b16f379e7f...e2fe3700f70309cf3d10a345fcbe18b1ef6e406d
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/20240519/a77afd10/attachment.html>


More information about the ghc-commits mailing list