The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
Перейти к файлу
Tomas Grosup 7f958be0e9
Merge pull request #17579 from dotnet/merges/release/dev17.6-to-release/dev17.7
Merge release/dev17.6 to release/dev17.7
2024-08-28 15:22:28 +02:00
.config More fantomas (#13867) 2022-10-10 14:50:50 +00:00
.devcontainer Update .NET and devcontainer settings (#15073) (#15076) 2023-04-13 10:59:02 +02:00
.github add review comment to sb files (#15288) (#15302) 2023-06-05 11:52:19 +02:00
.vscode Update .NET and devcontainer settings (#15073) (#15076) 2023-04-13 10:59:02 +02:00
BenchmarkDotNet.Artifacts/results
buildtools Prototype signature files for lex files (#15182) 2023-05-18 11:44:00 +02:00
docs Merge main to release/dev17.6 (#14897) 2023-03-15 00:10:31 +01:00
eng Update Versions.props - nuget package versions SDK 7.0.4xx (#16170) 2023-10-24 17:45:26 -07:00
fcs-samples To net70 (#13706) 2022-08-22 11:55:06 -07:00
scripts
setup Remove old PatternMatcher copy in favor of built-in one (#14746) 2023-02-28 17:10:42 +01:00
src Localized file check-in by OneLocBuild Task: Build definition ID 499: Build ID 2300559 2023-10-25 03:01:33 +02:00
tests Backport #15845 to 17.7 (#15848) 2023-08-24 15:59:23 +02:00
vsintegration Localized file check-in by OneLocBuild Task: Build definition ID 499: Build ID 2300559 2023-10-25 03:09:15 +02:00
.editorconfig
.fantomasignore Merge main to release/dev17.7 (#15278) 2023-05-31 11:38:19 +00:00
.gitattributes Hide changes in .xlf files on PR diff screens (#15498) 2023-06-27 18:21:27 +02:00
.gitignore Aot for static linked fsharpcore test and fix duplicated embedded types issue. (#15168) 2023-05-17 14:23:41 -07:00
.vsconfig
Build.cmd Generate SBOM for Fsharp (#14029) 2022-10-24 20:52:32 -07:00
CODE_OF_CONDUCT.md
CoordinateXlif.targets
DEVGUIDE.md Fix suggested overload from "MergeSource" to "MergeSources" (#15306) 2023-06-19 23:39:16 +02:00
Directory.Build.props Fix building in devcontainer (#15009) 2023-04-03 11:34:43 +02:00
Directory.Build.targets
FSharp.Compiler.Service.sln Attempt to make FCS solution build without arcade and with the SDK specified in global.json (#14677) 2023-03-28 13:37:52 +02:00
FSharp.Compiler.Service.sln.DotSettings
FSharp.Editor.sln Remove old PatternMatcher copy in favor of built-in one (#14746) 2023-02-28 17:10:42 +01:00
FSharp.Profiles.props Bump xcopy-msbuild + enable server gc (#14237) 2022-11-04 19:58:13 +01:00
FSharp.sln Ctrl+Break in VS on coreclr and desktop (#14218) 2022-11-07 12:14:56 +01:00
FSharpBuild.Directory.Build.props Attempt to make FCS solution build without arcade and with the SDK specified in global.json (#14677) 2023-03-28 13:37:52 +02:00
FSharpBuild.Directory.Build.targets Attempt to make FCS solution build without arcade and with the SDK specified in global.json (#14677) 2023-03-28 13:37:52 +02:00
FSharpTests.Directory.Build.props To net70 (#13706) 2022-08-22 11:55:06 -07:00
FSharpTests.Directory.Build.targets
INTERNAL.md Merge main to release/dev17.7 (#15323) 2023-06-06 19:15:43 +02:00
License.txt
Microsoft.FSharp.Compiler.sln [main] Update dependencies from dotnet/arcade (#13771) 2022-09-15 18:38:48 +02:00
NuGet.config [main] Update dependencies from dotnet/arcade (#14439) 2023-05-08 21:58:26 +02:00
Proto.sln
README.md Update FCS NuGet preview feeds (#15446) 2023-06-20 14:32:57 +02:00
Restore.cmd
TESTGUIDE.md Minor clarifications to baseline test docs (#14934) 2023-03-21 13:25:32 +01:00
Test.cmd
VisualFSharp.sln Remove old PatternMatcher copy in favor of built-in one (#14746) 2023-02-28 17:10:42 +01:00
attributions.md
azure-pipelines.yml Update azure-pipelines.yml (fix perl, so signed build works) (#15857) 2023-08-25 14:19:49 +02:00
build.sh
global.json Backport #15845 to 17.7 (#15848) 2023-08-24 15:59:23 +02:00
icon.png
release-notes.md Update docs.microsoft.com to learn.microsoft.com. (#14774) 2023-02-22 08:27:04 +00:00
restore.sh
test.sh

README.md

The F# compiler, F# core library, and F# editor tools

Build Status Help Wanted

You're invited to contribute to future releases of the F# compiler, core library, and tools. Development of this repository can be done on any OS supported by .NET.

You will also need the latest .NET 7 SDK installed from here.

Contributing

Quickstart on Windows

Build from the command line:

build.cmd

The build depends on an installation of Visual Studio. To build the compiler without this dependency use:

build.cmd -noVisualStudio

After it's finished, open either FSharp.sln or VisualFSharp.sln in your editor of choice. The latter solution is larger but includes the F# tools for Visual Studio and its associated infrastructure.

Quickstart on Linux or macOS

Build from the command line:

./build.sh

After it's finished, open FSharp.sln in your editor of choice.

Documentation for contributors

  • The Compiler Documentation is essential reading for any larger contributions to the F# compiler codebase and contains links to learning videos, architecture diagrams, and other resources.

  • The same docs are also published as The F# Compiler Guide. It also contains the public searchable docs for FSharp.Compiler.Service component.

  • See DEVGUIDE.md for more details on configurations for building the codebase. In practice, you only need to run build.cmd/build.sh.

  • See TESTGUIDE.md for information about the various test suites in this codebase and how to run them individually.

Documentation for F# community

  • The F# Documentation is the primary documentation for F#. The source for the content is here.

  • The F# Language Design Process is the fundamental design process for the language, from suggestions to completed RFCs. There are also tooling RFCs for some topics where cross-community co-operation and visibility are most useful.

  • The F# Language Specification is an in-depth description of the F# language. This is essential for understanding some behaviors of the F# compiler and some of the rules within the compiler codebase. For example, the order and way name resolution happens are specified here, which greatly impacts how the code in Name Resolutions works and why certain decisions are made.

No contribution is too small

Even if you find a single-character typo, we're happy to take the change! Although the codebase can feel daunting for beginners, we and other contributors are happy to help you along.

Per-build NuGet packages

7.0.40x series

FSharp.Compiler.Service 43.7.400-preview

<add key="fsharp-prerelease" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json" />

8.0.10x series

FSharp.Compiler.Service 43.8.100-preview

<add key="fsharp-prerelease" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json" />

Branches

These are the branches in use:

  • main

    • Almost all contributions go here.
    • Able to be built, installed and used in the latest public Visual Studio release.
    • May contain updated F# features and logic.
    • Used to build nightly VSIX (see above).
  • release/dev15.9

    • Long-term servicing branch for VS 2017 update 15.9.x. We do not expect to service that release, but if we do, that's where the changes will go.
  • release/dev17.x

    • Latest release branch for the particular point release of Visual Studio.
    • Incorporates features and fixes from main up to a particular branch point, then selective cherry-picks.
    • May contain new features that depend on new things or fixes in the corresponding forthcoming Visual Studio release.
    • Gets integrated back into main once the corresponding Visual Studio release is made.

F# language and core library evolution

Evolution of the F# language and core library follows a process spanning two additional repositories. The process is as follows:

  1. Use the F# language suggestions repo to search for ideas, vote on ones you like, submit new ideas, and discuss details with the F# community.
  2. Ideas that are "approved in principle" are eligible for a new RFC in the F# language design repo. This is where the technical specification and discussion of approved suggestions go.
  3. Implementations and testing of an RFC are submitted to this repository.

License

This project is subject to the MIT License. A copy of this license is in License.txt.

Code of Conduct

This project has adopted the Contributor Covenant code of conduct to clarify expected behavior in our community. You can read it at CODE_OF_CONDUCT.

Get In Touch

Members of the F# Software Foundation are invited to the FSSF Slack. You can find support from other contributors in the #compiler and #editor-support channels.

Additionally, you can use the #fsharp tag on Twitter if you have general F# questions, including about this repository. Chances are you'll get multiple responses.

About F#

If you're curious about F# itself, check out these links: