... | ... | @@ -47,26 +47,26 @@ This is a change from the current External Core implementation, where `HsSyn` is |
|
|
|
|
|
The main source files related to External Core:
|
|
|
|
|
|
- [compiler/coreSyn/ExternalCore.lhs](/trac/ghc/browser/ghc/compiler/coreSyn/ExternalCore.lhs): The definition of the External Core data type.
|
|
|
- [compiler/coreSyn/MkExternalCore.lhs](/trac/ghc/browser/ghc/compiler/coreSyn/MkExternalCore.lhs): Some code to convert Core to External Core.
|
|
|
- [compiler/coreSyn/PprExternalCore.lhs](/trac/ghc/browser/ghc/compiler/coreSyn/PprExternalCore.lhs): Some code to pretty-print External Core.
|
|
|
- [compiler/parser/LexCore.hs](/trac/ghc/browser/ghc/compiler/parser/LexCore.hs): The lexer for External Core.
|
|
|
- [compiler/parser/ParserCore.y](/trac/ghc/browser/ghc/compiler/parser/ParserCore.y): The parser for External Core.
|
|
|
- [compiler/parser/ParserCoreUtils.hs](/trac/ghc/browser/ghc/compiler/parser/ParserCoreUtils.hs): Some additional utility functions used by `ParserCore.hs`.
|
|
|
- [utils/ext-core/](/trac/ghc/browser/ghc/utils/ext-core/): Old code intended as an executable specification of External Core.
|
|
|
- [compiler/coreSyn/ExternalCore.lhs](/ghc/ghc/tree/master/ghc/compiler/coreSyn/ExternalCore.lhs): The definition of the External Core data type.
|
|
|
- [compiler/coreSyn/MkExternalCore.lhs](/ghc/ghc/tree/master/ghc/compiler/coreSyn/MkExternalCore.lhs): Some code to convert Core to External Core.
|
|
|
- [compiler/coreSyn/PprExternalCore.lhs](/ghc/ghc/tree/master/ghc/compiler/coreSyn/PprExternalCore.lhs): Some code to pretty-print External Core.
|
|
|
- [compiler/parser/LexCore.hs](/ghc/ghc/tree/master/ghc/compiler/parser/LexCore.hs): The lexer for External Core.
|
|
|
- [compiler/parser/ParserCore.y](/ghc/ghc/tree/master/ghc/compiler/parser/ParserCore.y): The parser for External Core.
|
|
|
- [compiler/parser/ParserCoreUtils.hs](/ghc/ghc/tree/master/ghc/compiler/parser/ParserCoreUtils.hs): Some additional utility functions used by `ParserCore.hs`.
|
|
|
- [utils/ext-core/](/ghc/ghc/tree/master/ghc/utils/ext-core/): Old code intended as an executable specification of External Core.
|
|
|
|
|
|
|
|
|
Other files that contain some reference to External Core or are otherwise relevant:
|
|
|
|
|
|
- [compiler/coreSyn/PprCore.lhs](/trac/ghc/browser/ghc/compiler/coreSyn/PprCore.lhs): Some code to pretty-print the Core data type.
|
|
|
- [compiler/hsSyn/HsSyn.lhs](/trac/ghc/browser/ghc/compiler/hsSyn/HsSyn.lhs): Top-level syntax tree representations for various things GHC can read, including External Core.
|
|
|
- [compiler/main/DriverPhases.hs](/trac/ghc/browser/ghc/compiler/main/DriverPhases.hs): Includes code to decide how to parse things based on file extension.
|
|
|
- [compiler/main/HscMain.lhs](/trac/ghc/browser/ghc/compiler/main/HscMain.lhs): The main compiler pipeline.
|
|
|
- [compiler/coreSyn/PprCore.lhs](/ghc/ghc/tree/master/ghc/compiler/coreSyn/PprCore.lhs): Some code to pretty-print the Core data type.
|
|
|
- [compiler/hsSyn/HsSyn.lhs](/ghc/ghc/tree/master/ghc/compiler/hsSyn/HsSyn.lhs): Top-level syntax tree representations for various things GHC can read, including External Core.
|
|
|
- [compiler/main/DriverPhases.hs](/ghc/ghc/tree/master/ghc/compiler/main/DriverPhases.hs): Includes code to decide how to parse things based on file extension.
|
|
|
- [compiler/main/HscMain.lhs](/ghc/ghc/tree/master/ghc/compiler/main/HscMain.lhs): The main compiler pipeline.
|
|
|
|
|
|
## Documentation
|
|
|
|
|
|
- [ReadingList\#TypeEqualities](ReadingList#TypeEqualities): Description of the System FC language which GHC now uses internally.
|
|
|
- [docs/ext-core/](/trac/ghc/browser/ghc/docs/ext-core/): The current documentation for External Core, which should eventually become a chapter in the [GHC User's Guide](http://www.haskell.org/ghc/docs/latest/html/users_guide/index.html).
|
|
|
- [docs/ext-core/](/ghc/ghc/tree/master/ghc/docs/ext-core/): The current documentation for External Core, which should eventually become a chapter in the [GHC User's Guide](http://www.haskell.org/ghc/docs/latest/html/users_guide/index.html).
|
|
|
- [http://www.haskell.org/ghc/docs/latest/html/users_guide/ext-core.html](http://www.haskell.org/ghc/docs/latest/html/users_guide/ext-core.html): What the User's Guide currently has to say about External Core.
|
|
|
|
|
|
## Design changes
|
... | ... | |