Github FCS namespace revamp by dsyme · Pull Request #10971 · dotnet/fsharp · Git...
source link: https://github.com/dotnet/fsharp/pull/10971
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
This a revamp of the namespace and naming of FCS following on from a design review with @TIHan @jonsequitur @cartermp @KevinRansom
Namespaces are:
FSharp.Compiler.IO // FileSystem
FSharp.Compiler.CodeAnalysis // FSharpChecker, FSharpCheckFileResults, FSharpChecProjectResults and friends
FSharp.Compiler.Diagnostics // FSharpDiagnostic and friends
FSharp.Compiler.EditorServices // Misc functionality for editors, e.g. interface stub generation
FSharp.Compiler.Interactive.Shell // F# Interactive
FSharp.Compiler.Symbols // FSharpEntity etc
FSharp.Compiler.Syntax // Types and functionality for syntax tree
FSharp.Compiler.Text // ISourceFile, Range, TaggedText and other things
FSharp.Compiler.Tokenization // FSharpLineTokenizer etc.
Changes are documented in release-notes.md
Other internal cleanup changes:
- dead code removed in
vsintegration/src/FSharp.LanguageService/ProjectSitesAndFiles.fs
TODO in later PRs:
-
Switch to
ImmutableArray
instead ofIList
through the Symbols API -
Add an immutable, extensible, binary-compati-maintainable API to give binary-compatible access to the syntax tree
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK