The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
Перейти к файлу
Don Syme 57ef580b66
add fantomas tool to repo (#12403)
2021-11-19 14:00:30 +01:00
.config add fantomas tool to repo (#12403) 2021-11-19 14:00:30 +01:00
.devcontainer Add devcontainer definition for Visual Studio Online (#8800) 2020-03-26 10:58:29 -07:00
.github/ISSUE_TEMPLATE Give the "Bug" label on issues created with the bug_report template. (#12128) 2021-10-13 12:42:38 +02:00
.vscode doc clean for FCS (#12332) 2021-11-04 17:13:39 +00:00
BenchmarkDotNet.Artifacts/results [RFC FS-1087, FS-1097, FS-1098] tasks, resumable state machines, inline on parameters (#6811) 2021-07-19 10:55:52 +01:00
docs Add debug emit docs (#12411) 2021-11-16 16:21:29 -08:00
eng [main] Update dependencies from dotnet/arcade (#12310) 2021-11-17 14:24:01 +00:00
fcs-samples Move build to net 5.0 (#11019) 2021-02-12 12:58:18 -08:00
scripts remove dotnet myget restore sources (#10235) 2020-10-07 15:44:29 -07:00
service Merge remote-tracking branch 'upstream/release/dev17.0' into merges/release/dev17.0-to-main 2021-11-10 14:15:45 -07:00
setup 64 bit fcs (#11998) 2021-08-25 10:58:58 -07:00
src Fix 12384: non-nested direct mutrec bindings (#12395) 2021-11-19 12:51:32 +01:00
tests Fix 12384: non-nested direct mutrec bindings (#12395) 2021-11-19 12:51:32 +01:00
vsintegration VS Navigation consolidation (#12105) 2021-11-15 12:28:10 +00:00
.gitattributes replace deprecated nuspec `iconUrl` element with `icon` 2019-09-27 13:56:28 -07:00
.gitignore code cleanup (#12121) 2021-09-16 10:02:58 -07:00
.vsconfig Remove 2.1 from vsconfig (#10005) 2020-08-26 18:46:25 +02:00
Build.cmd Set NonParallelizable on tests assembly (#11917) 2021-08-12 20:12:59 +02:00
CODE_OF_CONDUCT.md Fix links to Code of Conduct 2020-04-10 09:39:53 -07:00
CoordinateXlif.targets Fix Xlif issue (#5995) 2018-12-07 17:43:35 -08:00
DEVGUIDE.md doc clean for FCS (#12332) 2021-11-04 17:13:39 +00:00
Directory.Build.props consume dotnet arcade sdk 2019-03-21 11:49:18 -07:00
Directory.Build.targets xunit test (#9972) 2020-08-21 12:53:10 -07:00
FSharp.Profiles.props Yeet FSharp.Compiler.Private (#10876) 2021-01-15 16:16:22 -08:00
FSharp.sln Merge remote-tracking branch 'upstream/release/dev17.0' into merges/release/dev17.0-to-main 2021-11-10 14:15:45 -07:00
FSharpBuild.Directory.Build.props [RFC FS-1087, FS-1097, FS-1098] tasks, resumable state machines, inline on parameters (#6811) 2021-07-19 10:55:52 +01:00
FSharpBuild.Directory.Build.targets always re-compute PackageReleaseNotes (#10281) 2020-10-19 13:57:50 -07:00
FSharpTests.Directory.Build.props Move build to net 5.0 (#11019) 2021-02-12 12:58:18 -08:00
FSharpTests.Directory.Build.targets Nuget package + release notes (#10024) 2020-08-27 14:14:53 -07:00
INTERNAL.md parameterize windows machine queue name (#11157) 2021-02-26 15:07:11 -08:00
License.txt Adopt the MIT License (#3517) 2017-08-31 16:02:26 -07:00
NuGet.config Merge pull request #11671 from dotnet/merges/main-to-release/dev17.0 2021-06-10 12:56:35 -07:00
README.md fix compiler docs (#12338) 2021-11-05 09:32:31 -07:00
Restore.cmd consume dotnet arcade sdk 2019-03-21 11:49:18 -07:00
TESTGUIDE.md Further improve TESTGUIDE.md (#10031) 2020-09-01 01:30:51 -07:00
Test.cmd consume dotnet arcade sdk 2019-03-21 11:49:18 -07:00
VisualFSharp.sln merge main and release/dev17.0 2021-09-04 14:58:34 +01:00
attributions.md Update attributions.md (#3490) 2017-08-23 10:36:26 -07:00
azure-pipelines.yml Merge remote-tracking branch 'upstream/release/dev17.0' into merges/release/dev17.0-to-main 2021-11-10 14:15:45 -07:00
build.sh binary logging defaults for build (#10296) 2020-10-21 10:55:47 -07:00
global.json [main] Update dependencies from dotnet/arcade (#12310) 2021-11-17 14:24:01 +00:00
icon.png [master] Update dependencies from dotnet/arcade (#7706) 2019-11-05 15:18:09 -08:00
proto.proj Move build to net 5.0 (#11019) 2021-02-12 12:58:18 -08:00
release-notes.md Update version numbers for FSharp.Core (#12047) 2021-09-02 21:05:33 +01:00
restore.sh consume dotnet arcade sdk 2019-03-21 11:49:18 -07:00
test.sh consume dotnet arcade sdk 2019-03-21 11:49:18 -07:00

README.md

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

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 Core.

You will also need the latest .NET 5 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

  • See DEVGUIDE.md for more details on configurations for building the codebase. In practice, you only really 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.

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

  • The F# Compiler Guide is essential reading for any larger contributions to the F# compiler codebase and contains links to learning videos, architecture diagrams and other resources. It also contains the public searchable docs for FSharp.Compiler.Service (or equivalent of Roslyn). The source for the content is in this repo under docs/ and the site is built automatically by this small repo.

  • 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 is 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 is 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.

Build Status

Branch Status
main Build Status

Per-build NuGet packages

Per-build versions of our NuGet packages are available via this URL: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/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/dev16.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: