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

Brandon Chinn (@brandonchinn178) gitlab at gitlab.haskell.org
Tue Jul 16 15:57:06 UTC 2024



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


Commits:
7b2337c1 by Brandon Chinn at 2024-07-14T09:55:33-07:00
Add MultilineStrings extension

- - - - -
6401ec7f by Brandon Chinn at 2024-07-14T09:55:33-07:00
Add test cases for MultilineStrings

- - - - -
af3d2fcc by Brandon Chinn at 2024-07-14T09:55:33-07:00
Break out common lex_magic_hash logic for strings and chars

- - - - -
563df04a by Brandon Chinn at 2024-07-14T09:55:33-07:00
Factor out string processing functions

- - - - -
1515d3e3 by Brandon Chinn at 2024-07-14T09:55:34-07:00
Implement MultilineStrings (#24390)

Updates haddock submodule for new ITmultiline constructor

- - - - -
848c9133 by Brandon Chinn at 2024-07-14T09:55:34-07:00
Add docs for MultilineStrings

- - - - -
43e081c9 by Brandon Chinn at 2024-07-14T09:55:34-07:00
Address feedback

- - - - -
c9096320 by Brandon Chinn at 2024-07-15T18:40:27-07:00
Add string literal performance test

- - - - -
c5fc1002 by Brandon Chinn at 2024-07-15T18:40:27-07:00
Address feedback

- - - - -
d4510456 by Brandon Chinn at 2024-07-15T23:17:58-07:00
Reimplement with manual iteration

- - - - -


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/CharClass.hs
- 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-internal/src/GHC/Internal/LanguageExtensions.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


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/c788c5a1e5b18db96eb71f7add0e7aebc4101db3...d45104563b451983547d739bafd381f5fbb3b8a0

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/c788c5a1e5b18db96eb71f7add0e7aebc4101db3...d45104563b451983547d739bafd381f5fbb3b8a0
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/20240716/3591ef0e/attachment-0001.html>


More information about the ghc-commits mailing list