Untyped Phase description
Moduleghc-9.10.3GHC2021
GHC.Driver.Phases
- 2 types
- 25 values
- Packageghc-9.10.3
- Exports27
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourcePhases.hs
Constructors
StopPreprocess-EStopC-CStopAs-SNoStop-c
When we are given files (modified by -x arguments) we need to determine if they are Haskellish or not to figure out how we should try to compile it. The rules are:
If no -x flag was specified, we check to see if the file looks like a module name, has no extension, or has a Haskell source extension.
If an -x flag was specified, we just make sure the specified suffix is a Haskell one.
Foreign language of the phase if the phase deals with a foreign code