News for hackers. Stuff that matters.
Re:Haskell in Production: Standard Chartered by tuukkah on Wednesday May 03, 2023 @09:48AM (#35802359)
Frontend here refers to the first stage of the three-stage structure of compilers, ie. the functionalities such as parsing and type checking that come before the optimization and target code generation phases: https://en.wikipedia.org/wiki/Compiler#Three-stage_compiler_...
Re:Haskell in Production: Standard Chartered by misja111 on Wednesday May 03, 2023 @11:05AM (#35803265)
Didn't know that, thanks! But then I'm wondering how they can do parsing and type checking with GHC when they are using their own dialect, "Mu". How come GHC can parse that?
Re:Haskell in Production: Standard Chartered by nequo on Wednesday May 03, 2023 @11:16AM (#35803403)
The differences between Mu and Haskell are not that large. They use GHC as a library in their front end. Gergo Erdi gave a talk on it last year:

https://news.ycombinator.com/item?id=35801844

Re:Haskell in Production: Standard Chartered by tuukkah on Wednesday May 03, 2023 @11:22AM (#35803482)
GHC has a system for language extensions so they have developed a few proprietary ones for Mu. For the standard ones, see https://downloads.haskell.org/ghc/latest/docs/users_guide/ex...