Fable 4.8.0
See the version list below for details.
dotnet tool install --global Fable --version 4.8.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Fable --version 4.8.0
#tool dotnet:?package=Fable&version=4.8.0
nuke :add-package Fable --version 4.8.0
Fable: F# |> JS
Fable is an F# to JavaScript compiler powered FSharp Compiler Services, designed to make F# a first-class citizen of the JavaScript ecosystem. Check the website for more information and if you find the project useful, don't forget to give us a star!
Fable actually uses a fork of FCS with a few tweaks. Binaries are in
lib/fcs
folder. See this PR for more info.
Getting started
Check this page.
Building
Requirements
Use VSCode Dev Container
You can use VSCode Dev Container to get a preconfigured environment both with requirements and VSCode extensions.
- You need to have docker installed and running.
- Install the Dev Container extension in VSCode
- Open the project in VSCode and click on the green button in the bottom left corner.
Use your machine
Make sure the following requirements are installed in your system:
- dotnet SDK 6 or higher
- node.js with npm
- Python 3 is installed and available as
python
- Poetry
- Rust
- Dart
Build
Run ./builsh.sh
or ./build.cmd
to see the build options.
When using VSCode, you can also run the build tasks from the command palette (Ctrl+Shift+P) by typing Run Task
and selecting the task you want to run.
We also configured several debug configurations that you can use from the debug panel (Ctrl+Shift+D). This is useful as you can attach the debugger to the Fable compiler process to check what's going on.
Contributing
Just by using Fable you're already contributing! You can help the community a lot by sharing examples and experiences in your personal (or Fable's) blog and/or by editing the Fable Resources page.
Send bug reports (ideally with minimal code to reproduce the problem) and feature requests to this GitHub repository. To interact with the community you can use the Gitter chat but please note maintainers are not checking the chat regularly.
If you are up to contribute a fix or a feature yourself, you're more than welcome! Please send first an issue or a minimal Work In Progess PR so we can discuss the implementation details in advance.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
4.24.0 | 526 | 11/19/2024 |
4.23.0 | 1,879 | 10/28/2024 |
4.22.0 | 4,316 | 10/2/2024 |
4.21.0 | 2,014 | 9/19/2024 |
4.20.0 | 3,000 | 9/4/2024 |
4.19.3 | 10,513 | 6/17/2024 |
4.19.2 | 374 | 6/13/2024 |
4.19.1 | 164 | 6/13/2024 |
4.19.0 | 784 | 6/10/2024 |
4.18.0 | 1,757 | 5/23/2024 |
4.17.0 | 9,314 | 4/23/2024 |
4.16.0 | 8,910 | 3/20/2024 |
4.15.0 | 944 | 3/18/2024 |
4.14.0 | 12,336 | 3/1/2024 |
4.13.0 | 4,218 | 2/20/2024 |
4.12.2 | 10,788 | 2/13/2024 |
4.12.1 | 685 | 2/13/2024 |
4.11.0 | 5,477 | 1/30/2024 |
4.10.0 | 11,625 | 1/25/2024 |
4.9.0 | 24,148 | 12/14/2023 |
4.8.1 | 1,553 | 12/12/2023 |
4.8.0 | 670 | 12/12/2023 |
4.7.0 | 6,603 | 12/6/2023 |
4.6.0 | 8,041 | 11/27/2023 |
4.5.0 | 22,571 | 11/7/2023 |
4.4.1 | 2,797 | 10/25/2023 |
4.4.0 | 10,292 | 10/24/2023 |
4.3.0 | 3,988 | 10/18/2023 |
4.2.2 | 2,765 | 10/14/2023 |
4.2.1 | 8,908 | 9/29/2023 |
4.1.4 | 47,859 | 5/16/2023 |
4.1.3 | 7,201 | 4/28/2023 |
4.1.2 | 3,842 | 4/22/2023 |
4.1.1 | 617 | 4/22/2023 |
4.1.0 | 1,035 | 4/18/2023 |
4.1.0-beta-001 | 630 | 4/16/2023 |
4.0.5 | 1,867 | 4/8/2023 |
4.0.4 | 1,971 | 4/4/2023 |
4.0.3 | 2,184 | 3/30/2023 |
4.0.2 | 1,062 | 3/27/2023 |
4.0.1 | 19,396 | 3/18/2023 |
4.0.0 | 6,613 | 3/14/2023 |
4.0.0-theta-018 | 44,538 | 11/19/2022 |
4.0.0-theta-017 | 581 | 11/16/2022 |
4.0.0-theta-016 | 730 | 11/13/2022 |
4.0.0-theta-015 | 550 | 11/5/2022 |
4.0.0-theta-014 | 367 | 10/31/2022 |
4.0.0-theta-012 | 1,152 | 10/14/2022 |
4.0.0-theta-011 | 911 | 10/4/2022 |
4.0.0-theta-010 | 374 | 9/28/2022 |
4.0.0-theta-009 | 369 | 9/28/2022 |
4.0.0-theta-008 | 420 | 9/22/2022 |
4.0.0-theta-007 | 351 | 9/21/2022 |
4.0.0-theta-006 | 391 | 9/18/2022 |
4.0.0-theta-005 | 327 | 9/17/2022 |
4.0.0-theta-004 | 445 | 9/14/2022 |
4.0.0-theta-003 | 290 | 9/12/2022 |
4.0.0-theta-002 | 253 | 9/11/2022 |
4.0.0-theta-001 | 330 | 9/9/2022 |
4.0.0-snake-island-alpha-026 | 358 | 9/8/2022 |
4.0.0-snake-island-alpha-025 | 326 | 9/6/2022 |
4.0.0-snake-island-alpha-024 | 486 | 9/2/2022 |
4.0.0-snake-island-alpha-023 | 298 | 8/30/2022 |
4.0.0-snake-island-alpha-021 | 759 | 8/21/2022 |
4.0.0-snake-island-alpha-020 | 381 | 8/14/2022 |
4.0.0-snake-island-alpha-019 | 429 | 7/31/2022 |
4.0.0-snake-island-alpha-018 | 284 | 7/30/2022 |
4.0.0-snake-island-alpha-017 | 330 | 7/27/2022 |
4.0.0-snake-island-alpha-016 | 291 | 7/26/2022 |
4.0.0-snake-island-alpha-015 | 261 | 7/26/2022 |
4.0.0-snake-island-alpha-014 | 306 | 7/25/2022 |
4.0.0-snake-island-alpha-013 | 275 | 7/25/2022 |
4.0.0-snake-island-alpha-012 | 416 | 7/12/2022 |
4.0.0-snake-island-alpha-011 | 277 | 6/23/2022 |
4.0.0-snake-island-alpha-010 | 288 | 6/3/2022 |
4.0.0-snake-island-alpha-009 | 250 | 6/2/2022 |
4.0.0-snake-island-alpha-008 | 277 | 6/1/2022 |
4.0.0-snake-island-alpha-007 | 299 | 5/25/2022 |
4.0.0-snake-island-alpha-006 | 257 | 5/24/2022 |
4.0.0-snake-island-alpha-005 | 278 | 5/23/2022 |
4.0.0-snake-island-alpha-004 | 250 | 5/21/2022 |
4.0.0-snake-island-alpha-003 | 277 | 5/20/2022 |
4.0.0-snake-island-alpha-002 | 251 | 5/19/2022 |
4.0.0-snake-island-alpha-001 | 276 | 5/11/2022 |
3.7.22 | 3,409 | 5/11/2023 |
3.7.21 | 235 | 5/11/2023 |
3.7.20 | 36,101 | 9/27/2022 |
3.7.19 | 527 | 9/27/2022 |
3.7.18 | 8,136 | 8/16/2022 |
3.7.17 | 6,644 | 7/21/2022 |
3.7.16 | 4,361 | 7/5/2022 |
3.7.15 | 915 | 6/29/2022 |
3.7.14 | 4,539 | 6/14/2022 |
3.7.12 | 3,733 | 5/27/2022 |
3.7.11 | 6,197 | 5/1/2022 |
3.7.10 | 771 | 4/29/2022 |
3.7.9 | 10,037 | 4/1/2022 |
3.7.8 | 1,729 | 3/24/2022 |
3.7.7 | 5,342 | 3/22/2022 |
3.7.6 | 2,811 | 3/16/2022 |
3.7.5 | 21,932 | 3/1/2022 |
3.7.4 | 914 | 2/25/2022 |
3.7.3 | 4,571 | 2/23/2022 |
3.7.2 | 1,347 | 2/22/2022 |
3.7.1 | 6,174 | 2/17/2022 |
3.7.0 | 8,469 | 2/7/2022 |
3.7.0-beta-015 | 1,213 | 1/26/2022 |
3.7.0-beta-014 | 305 | 1/24/2022 |
3.7.0-beta-012 | 358 | 1/18/2022 |
3.7.0-beta-011 | 286 | 1/14/2022 |
3.7.0-beta-010 | 257 | 1/14/2022 |
3.7.0-beta-009 | 268 | 1/12/2022 |
3.7.0-beta-008 | 241 | 1/11/2022 |
3.7.0-beta-007 | 268 | 1/11/2022 |
3.7.0-beta-006 | 255 | 1/11/2022 |
3.7.0-beta-005 | 279 | 1/7/2022 |
3.7.0-beta-004 | 246 | 1/5/2022 |
3.7.0-beta-003 | 317 | 1/4/2022 |
3.7.0-beta-002 | 233 | 12/28/2021 |
3.7.0-beta-001 | 259 | 12/20/2021 |
3.6.3 | 19,152 | 12/1/2021 |
3.6.2 | 8,748 | 11/26/2021 |
3.6.1 | 12,036 | 11/23/2021 |
3.6.0 | 1,683 | 11/19/2021 |
3.6.0-beta-003 | 384 | 11/17/2021 |
3.6.0-beta-002 | 233 | 11/15/2021 |
3.6.0-beta-001 | 266 | 11/14/2021 |
3.4.10 | 1,403 | 11/8/2021 |
3.4.9 | 2,364 | 11/5/2021 |
3.4.8 | 498 | 11/4/2021 |
3.4.7 | 1,610 | 10/28/2021 |
3.4.6 | 1,075 | 10/26/2021 |
3.4.5 | 748 | 10/21/2021 |
3.4.4 | 880 | 10/20/2021 |
3.4.3 | 14,454 | 10/14/2021 |
3.4.2 | 1,289 | 10/5/2021 |
3.4.1 | 523 | 10/4/2021 |
3.4.0 | 864 | 10/1/2021 |
3.3.1 | 1,717 | 9/27/2021 |
3.3.0 | 3,485 | 9/16/2021 |
3.3.0-beta-002 | 454 | 8/28/2021 |
3.3.0-beta-001 | 239 | 8/27/2021 |
3.2.14 | 1,368 | 9/11/2021 |
3.2.12 | 4,803 | 8/26/2021 |
3.2.11 | 6,124 | 8/19/2021 |
3.2.10 | 2,851 | 8/2/2021 |
3.2.9 | 47,206 | 7/8/2021 |
3.2.8 | 2,541 | 6/26/2021 |
3.2.7 | 509 | 6/25/2021 |
3.2.6 | 2,703 | 6/22/2021 |
3.2.5 | 867 | 6/21/2021 |
3.2.4 | 724 | 6/16/2021 |
3.2.3 | 680 | 6/11/2021 |
3.2.2 | 945 | 6/3/2021 |
3.2.1 | 16,914 | 5/28/2021 |
3.2.0 | 536 | 5/28/2021 |
3.1.16 | 7,514 | 5/14/2021 |
3.1.15 | 6,783 | 4/16/2021 |
3.1.14 | 4,924 | 4/9/2021 |
3.1.12 | 3,187 | 3/23/2021 |
3.1.11 | 4,937 | 3/17/2021 |
3.1.10 | 1,214 | 3/16/2021 |
3.1.9 | 2,762 | 3/15/2021 |
3.1.8 | 524 | 3/15/2021 |
3.1.7 | 997 | 3/11/2021 |
3.1.6 | 577 | 3/11/2021 |
3.1.5 | 6,955 | 2/18/2021 |
3.1.4 | 934 | 2/12/2021 |
3.1.3 | 519 | 2/12/2021 |
3.1.2 | 10,494 | 1/25/2021 |
3.1.1 | 6,078 | 1/13/2021 |
3.1.0 | 973 | 1/11/2021 |
3.1.0-beta-001 | 378 | 1/8/2021 |
3.0.5 | 1,939 | 12/22/2020 |
3.0.4 | 1,258 | 12/19/2020 |
3.0.3 | 613 | 12/18/2020 |
3.0.2 | 1,104 | 12/16/2020 |
3.0.1 | 1,298 | 12/11/2020 |
3.0.0 | 3,401 | 12/4/2020 |
3.0.0-nagareyama-rc-011 | 616 | 12/2/2020 |
3.0.0-nagareyama-rc-010 | 502 | 11/28/2020 |
3.0.0-nagareyama-rc-009 | 1,046 | 11/25/2020 |
3.0.0-nagareyama-rc-008 | 570 | 11/19/2020 |
3.0.0-nagareyama-rc-007 | 793 | 11/15/2020 |
3.0.0-nagareyama-rc-006 | 592 | 11/13/2020 |
3.0.0-nagareyama-rc-005 | 411 | 11/12/2020 |
3.0.0-nagareyama-rc-004 | 473 | 11/10/2020 |
3.0.0-nagareyama-rc-003 | 442 | 11/9/2020 |
3.0.0-nagareyama-rc-002 | 531 | 11/8/2020 |
3.0.0-nagareyama-rc-001 | 521 | 11/7/2020 |
3.0.0-nagareyama-beta-005 | 451 | 10/31/2020 |
3.0.0-nagareyama-beta-004 | 589 | 10/27/2020 |
3.0.0-nagareyama-beta-003 | 443 | 10/25/2020 |
3.0.0-nagareyama-beta-002 | 573 | 10/23/2020 |
3.0.0-nagareyama-beta-001 | 403 | 10/23/2020 |
3.0.0-nagareyama-alpha-017 | 379 | 10/22/2020 |
3.0.0-nagareyama-alpha-016 | 380 | 10/22/2020 |
3.0.0-nagareyama-alpha-015 | 453 | 10/19/2020 |
3.0.0-nagareyama-alpha-014 | 460 | 10/18/2020 |
3.0.0-nagareyama-alpha-012 | 420 | 10/15/2020 |
3.0.0-nagareyama-alpha-011 | 410 | 10/15/2020 |
3.0.0-nagareyama-alpha-010 | 435 | 10/13/2020 |
3.0.0-nagareyama-alpha-009 | 446 | 10/11/2020 |
3.0.0-nagareyama-alpha-008 | 517 | 10/5/2020 |
3.0.0-nagareyama-alpha-007 | 447 | 10/2/2020 |
3.0.0-nagareyama-alpha-006 | 426 | 9/30/2020 |
3.0.0-nagareyama-alpha-005 | 372 | 9/29/2020 |
3.0.0-nagareyama-alpha-004 | 450 | 9/28/2020 |
3.0.0-nagareyama-alpha-003 | 419 | 9/14/2020 |
3.0.0-nagareyama-alpha-002 | 404 | 9/13/2020 |
3.0.0-nagareyama-alpha-001 | 526 | 9/13/2020 |
## Added
### Python
- [GH-3645](https://github.com/fable-compiler/Fable/pull/3645) Add `TimeSpan.Parse` and `TimeSpan.TryParse` support to Python (by @MangelMaxime)
- [GH-3649](https://github.com/fable-compiler/Fable/issues/3649) Fixes for `List.sortBy` (by @dbrattli)
- [GH-3638](https://github.com/fable-compiler/Fable/issues/3638) Fixes for `Array.sort` and `Array.sortDescending` (by @dbrattli)
### Fixed
### JavaScript
- [GH-3465](https://github.com/fable-compiler/Fable/issues/3465) Fix `string.IndexOfAny` (by @pkese)
### Python
- [GH-3465](https://github.com/fable-compiler/Fable/issues/3465) Fix `string.IndexOfAny` (by @pkese)
## Changed
### All
- Updated FCS to [fce0cf00585c12174fa3e51e4fc34afe784b9b4e](https://github.com/dotnet/fsharp/commits/fce0cf00585c12174fa3e51e4fc34afe784b9b4e) (by @ncave)