Fable 4.2.1

.NET 6.0
dotnet tool install --global Fable --version 4.2.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local Fable --version 4.2.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Fable&version=4.2.1
nuke :add-package Fable --version 4.2.1

Fable: F# |> JS

Nuget Build Join the chat at https://gitter.im/fable-compiler/Fable

Follow us on Twitter!

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.

  1. You need to have docker installed and running.
  2. Install the Dev Container extension in VSCode
  3. Open the project in VSCode and click on the green button at the bottom left corner.
Use your machine

Make sure the following requirements are installed in your system:

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 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. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
4.2.1 0 9/29/2023
4.1.4 26,304 5/16/2023
4.1.3 4,674 4/28/2023
4.1.2 2,993 4/22/2023
4.1.1 409 4/22/2023
4.1.0 831 4/18/2023
4.1.0-beta-001 339 4/16/2023
4.0.5 1,421 4/8/2023
4.0.4 1,286 4/4/2023
4.0.3 1,622 3/30/2023
4.0.2 828 3/27/2023
4.0.1 9,145 3/18/2023
4.0.0 5,280 3/14/2023
4.0.0-theta-018 25,627 11/19/2022
4.0.0-theta-017 335 11/16/2022
4.0.0-theta-016 538 11/13/2022
4.0.0-theta-015 305 11/5/2022
4.0.0-theta-014 141 10/31/2022
4.0.0-theta-012 979 10/14/2022
4.0.0-theta-011 640 10/4/2022
4.0.0-theta-010 180 9/28/2022
4.0.0-theta-009 183 9/28/2022
4.0.0-theta-008 206 9/22/2022
4.0.0-theta-007 157 9/21/2022
4.0.0-theta-006 195 9/18/2022
4.0.0-theta-005 136 9/17/2022
4.0.0-theta-004 227 9/14/2022
4.0.0-theta-003 145 9/12/2022
4.0.0-theta-002 121 9/11/2022
4.0.0-theta-001 147 9/9/2022
4.0.0-snake-island-alpha-026 153 9/8/2022
4.0.0-snake-island-alpha-025 145 9/6/2022
4.0.0-snake-island-alpha-024 273 9/2/2022
4.0.0-snake-island-alpha-023 143 8/30/2022
4.0.0-snake-island-alpha-021 278 8/21/2022
4.0.0-snake-island-alpha-020 204 8/14/2022
4.0.0-snake-island-alpha-019 238 7/31/2022
4.0.0-snake-island-alpha-018 155 7/30/2022
4.0.0-snake-island-alpha-017 155 7/27/2022
4.0.0-snake-island-alpha-016 134 7/26/2022
4.0.0-snake-island-alpha-015 136 7/26/2022
4.0.0-snake-island-alpha-014 161 7/25/2022
4.0.0-snake-island-alpha-013 120 7/25/2022
4.0.0-snake-island-alpha-012 257 7/12/2022
4.0.0-snake-island-alpha-011 161 6/23/2022
4.0.0-snake-island-alpha-010 189 6/3/2022
4.0.0-snake-island-alpha-009 127 6/2/2022
4.0.0-snake-island-alpha-008 134 6/1/2022
4.0.0-snake-island-alpha-007 152 5/25/2022
4.0.0-snake-island-alpha-006 134 5/24/2022
4.0.0-snake-island-alpha-005 132 5/23/2022
4.0.0-snake-island-alpha-004 146 5/21/2022
4.0.0-snake-island-alpha-003 150 5/20/2022
4.0.0-snake-island-alpha-002 121 5/19/2022
4.0.0-snake-island-alpha-001 149 5/11/2022
3.7.22 1,068 5/11/2023
3.7.21 136 5/11/2023
3.7.20 23,994 9/27/2022
3.7.19 446 9/27/2022
3.7.18 7,076 8/16/2022
3.7.17 6,043 7/21/2022
3.7.16 4,237 7/5/2022
3.7.15 831 6/29/2022
3.7.14 4,427 6/14/2022
3.7.12 3,360 5/27/2022
3.7.11 5,746 5/1/2022
3.7.10 702 4/29/2022
3.7.9 8,918 4/1/2022
3.7.8 1,655 3/24/2022
3.7.7 5,268 3/22/2022
3.7.6 2,300 3/16/2022
3.7.5 16,526 3/1/2022
3.7.4 833 2/25/2022
3.7.3 4,115 2/23/2022
3.7.2 1,269 2/22/2022
3.7.1 5,232 2/17/2022
3.7.0 7,808 2/7/2022
3.7.0-beta-015 1,074 1/26/2022
3.7.0-beta-014 194 1/24/2022
3.7.0-beta-012 215 1/18/2022
3.7.0-beta-011 159 1/14/2022
3.7.0-beta-010 132 1/14/2022
3.7.0-beta-009 151 1/12/2022
3.7.0-beta-008 141 1/11/2022
3.7.0-beta-007 151 1/11/2022
3.7.0-beta-006 133 1/11/2022
3.7.0-beta-005 171 1/7/2022
3.7.0-beta-004 137 1/5/2022
3.7.0-beta-003 203 1/4/2022
3.7.0-beta-002 143 12/28/2021
3.7.0-beta-001 144 12/20/2021
3.6.3 18,059 12/1/2021
3.6.2 8,611 11/26/2021
3.6.1 10,207 11/23/2021
3.6.0 1,595 11/19/2021
3.6.0-beta-003 243 11/17/2021
3.6.0-beta-002 181 11/15/2021
3.6.0-beta-001 216 11/14/2021
3.4.10 1,334 11/8/2021
3.4.9 2,174 11/5/2021
3.4.8 440 11/4/2021
3.4.7 1,542 10/28/2021
3.4.6 1,009 10/26/2021
3.4.5 688 10/21/2021
3.4.4 751 10/20/2021
3.4.3 8,781 10/14/2021
3.4.2 1,194 10/5/2021
3.4.1 465 10/4/2021
3.4.0 797 10/1/2021
3.3.1 1,538 9/27/2021
3.3.0 3,400 9/16/2021
3.3.0-beta-002 399 8/28/2021
3.3.0-beta-001 189 8/27/2021
3.2.14 1,312 9/11/2021
3.2.12 4,734 8/26/2021
3.2.11 5,986 8/19/2021
3.2.10 2,773 8/2/2021
3.2.9 46,326 7/8/2021
3.2.8 2,482 6/26/2021
3.2.7 452 6/25/2021
3.2.6 2,431 6/22/2021
3.2.5 808 6/21/2021
3.2.4 653 6/16/2021
3.2.3 561 6/11/2021
3.2.2 885 6/3/2021
3.2.1 11,614 5/28/2021
3.2.0 475 5/28/2021
3.1.16 6,290 5/14/2021
3.1.15 6,682 4/16/2021
3.1.14 4,854 4/9/2021
3.1.12 3,031 3/23/2021
3.1.11 4,825 3/17/2021
3.1.10 1,145 3/16/2021
3.1.9 2,650 3/15/2021
3.1.8 461 3/15/2021
3.1.7 885 3/11/2021
3.1.6 512 3/11/2021
3.1.5 6,760 2/18/2021
3.1.4 867 2/12/2021
3.1.3 452 2/12/2021
3.1.2 10,317 1/25/2021
3.1.1 5,936 1/13/2021
3.1.0 899 1/11/2021
3.1.0-beta-001 321 1/8/2021
3.0.5 1,844 12/22/2020
3.0.4 1,194 12/19/2020
3.0.3 545 12/18/2020
3.0.2 1,025 12/16/2020
3.0.1 1,230 12/11/2020
3.0.0 3,287 12/4/2020
3.0.0-nagareyama-rc-011 555 12/2/2020
3.0.0-nagareyama-rc-010 449 11/28/2020
3.0.0-nagareyama-rc-009 989 11/25/2020
3.0.0-nagareyama-rc-008 516 11/19/2020
3.0.0-nagareyama-rc-007 736 11/15/2020
3.0.0-nagareyama-rc-006 537 11/13/2020
3.0.0-nagareyama-rc-005 357 11/12/2020
3.0.0-nagareyama-rc-004 415 11/10/2020
3.0.0-nagareyama-rc-003 385 11/9/2020
3.0.0-nagareyama-rc-002 466 11/8/2020
3.0.0-nagareyama-rc-001 467 11/7/2020
3.0.0-nagareyama-beta-005 393 10/31/2020
3.0.0-nagareyama-beta-004 518 10/27/2020
3.0.0-nagareyama-beta-003 391 10/25/2020
3.0.0-nagareyama-beta-002 514 10/23/2020
3.0.0-nagareyama-beta-001 345 10/23/2020
3.0.0-nagareyama-alpha-017 325 10/22/2020
3.0.0-nagareyama-alpha-016 319 10/22/2020
3.0.0-nagareyama-alpha-015 389 10/19/2020
3.0.0-nagareyama-alpha-014 386 10/18/2020
3.0.0-nagareyama-alpha-012 366 10/15/2020
3.0.0-nagareyama-alpha-011 354 10/15/2020
3.0.0-nagareyama-alpha-010 379 10/13/2020
3.0.0-nagareyama-alpha-009 392 10/11/2020
3.0.0-nagareyama-alpha-008 443 10/5/2020
3.0.0-nagareyama-alpha-007 388 10/2/2020
3.0.0-nagareyama-alpha-006 355 9/30/2020
3.0.0-nagareyama-alpha-005 312 9/29/2020
3.0.0-nagareyama-alpha-004 393 9/28/2020
3.0.0-nagareyama-alpha-003 362 9/14/2020
3.0.0-nagareyama-alpha-002 347 9/13/2020
3.0.0-nagareyama-alpha-001 466 9/13/2020

* Fix #3438: Source maps
* Fix #3440: Don't curry arity-1 functions
* Fix #3452: DateTimeOffset conversion to DateTime
* Fix regression: Don't type test interfaces declared in F# code
* Rust: Added no_std test build
* Rust: Added regex support
* Rust: Fixed no_std support
* Rust: Fixed uncurried options
* Rust: Enabled some applicative tests
* Rust: Enabled some tests
* Rust: Updated switch transform (#3449)
* Rust: Updated dependencies (#3447)
* Rust: Fixed interface properties (#3445)
* Rust: Updated object equality (#3444)
* Rust: Enabled some Comparison tests (#3442)
* Rust: Added DateOnly, TimeOnly tests
* Rust: Added DateTimeOffset tests
* Rust: Updated TimeSpan
* Rust: Added DateTimeOffset