fsharp/README.md

118 строки
5.4 KiB
Markdown
Исходник Постоянная ссылка Обычный вид История

2019-04-28 23:17:07 +03:00
# The F# compiler, F# core library, and F# editor tools
2019-04-30 18:30:30 +03:00
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](https://dotnet.microsoft.com/).
2017-06-22 13:30:47 +03:00
## Contributing
### Quickstart on Windows
2019-04-27 19:39:04 +03:00
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
```
2019-04-27 20:52:21 +03:00
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
2019-04-27 19:39:04 +03:00
Build from the command line:
```
./build.sh
```
2019-04-27 20:52:21 +03:00
After it's finished, open `FSharp.sln` in your editor of choice.
2017-06-22 13:30:47 +03:00
2019-04-27 20:49:59 +03:00
### More options and information
See [DEVGUIDE.md](DEVGUIDE.md) and [TESTGUIDE.md](TESTGUIDE.md) for more details on additional configurations for building and testing, how to update compiler error messages, and more.
2017-04-27 14:29:28 +03:00
2019-05-01 09:08:38 +03:00
### 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.
2017-04-27 14:13:24 +03:00
## Build Status
2018-07-28 09:38:42 +03:00
| Branch | Status |
|:------:|:------:|
2019-05-16 01:13:38 +03:00
|master|[![Build Status](https://dev.azure.com/dnceng/public/_apis/build/status/dotnet/fsharp/fsharp-ci?branchName=master)](https://dev.azure.com/dnceng/public/_build/latest?definitionId=496&branchName=master)|
2017-08-21 20:22:24 +03:00
## Using nightly releases in Visual Studio
2017-08-21 20:22:24 +03:00
2019-04-28 23:17:07 +03:00
You can use the latest `master` build of the F# compiler and tools for Visual Studio via our nightly releases if you are a Visual Studio user. See details on setup here:
2017-08-21 20:22:24 +03:00
https://blogs.msdn.microsoft.com/dotnet/2017/03/14/announcing-nightly-releases-for-the-visual-f-tools/
### Even more nightly than the nightly
2019-04-27 20:52:21 +03:00
Alternatively, if you _really_ want to live on the bleeding edge, you can set up a nightly feed for the Visual Studio preview releases, which use the latest commit in the preview branch. To do so, follow the same instructions as the above blog post, but instead with these links:
2019-04-28 23:17:07 +03:00
* Set your feed to the preview feed: https://dotnet.myget.org/F/fsharp-preview/vsix
* Install a VSIX manually from the preview feed: https://dotnet.myget.org/feed/fsharp-preview/package/vsix/VisualFSharp
2018-02-14 01:15:13 +03:00
## Branches
These are the branches in use:
* `master`
2018-02-14 01:15:13 +03:00
- Most 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).
- Gets integrated into https://github.com/fsharp/fsharp to form the basis of Mono releases
- Gets integrated into https://github.com/fsharp/FSharp.Compiler.Service to form the basis of FSharp.Compiler.Service releases
* `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.
* `dev16.x`
2018-02-14 01:15:13 +03:00
- Latest release branch for the particular point release of Visual Studio.
- Incorporates features and fixes from master 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.
2018-03-07 19:05:59 +03:00
- Gets integrated back into master once the corresponding Visual Studio release is made.
2019-04-27 19:34:12 +03:00
## F# language and core library evolution
2019-04-27 20:27:39 +03:00
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](https://github.com/fsharp/fslang-suggestions/) 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](https://github.com/fsharp/fslang-design). This is where the technical specification and discussion of approved suggestions go.
3. Implementations and testing of an RFC are submitted to this repository.
2017-04-27 14:13:24 +03:00
2019-04-27 20:27:39 +03:00
## Additional project documentation
2017-04-27 14:13:24 +03:00
The following links can help you get an overview of some technical aspects of the F# language and compiler:
2017-04-27 14:13:24 +03:00
* [The F# Compiler Technical Guide](https://fsharp.github.io/2015/09/29/fsharp-compiler-guide.html)
* [The F# Language Specification](https://fsharp.org/specs/language-spec/)
2017-04-27 14:13:24 +03:00
## License
2017-03-10 21:57:56 +03:00
2019-04-27 20:27:39 +03:00
This project is subject to the MIT License. A copy of this license is in [License.txt](License.txt).
2017-03-11 19:50:29 +03:00
2017-04-27 14:30:00 +03:00
## Code of Conduct
2017-04-27 14:13:24 +03:00
This project has adopted the [Contributor Covenant](https://contributor-covenant.org/) code of conduct to clarify expected behavior in our community. You can read it at [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md).
2017-04-27 14:13:24 +03:00
2017-04-27 14:30:00 +03:00
## Get In Touch
Members of the [F# Software Foundation](https://fsharp.org) are invited to the [FSSF Slack](https://fsharp.org/guides/slack/). You can find support from other contributors in the `#compiler` and `#editor-support` channels.
2019-04-27 20:27:39 +03:00
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\#
2019-04-27 20:27:39 +03:00
If you're curious about F# itself, check out these links:
* [What is F#](https://docs.microsoft.com/dotnet/fsharp/what-is-fsharp)
* [Get started with F#](https://docs.microsoft.com/dotnet/fsharp/get-started/)
* [F# Software Foundation](https://fsharp.org)
* [F# Testimonials](https://fsharp.org/testimonials)