Fable.Compiler 4.0.0-alpha-012

This is a prerelease version of Fable.Compiler.
dotnet add package Fable.Compiler --version 4.0.0-alpha-012
NuGet\Install-Package Fable.Compiler -Version 4.0.0-alpha-012
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Fable.Compiler" Version="4.0.0-alpha-012" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fable.Compiler --version 4.0.0-alpha-012
#r "nuget: Fable.Compiler, 4.0.0-alpha-012"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Fable.Compiler as a Cake Addin
#addin nuget:?package=Fable.Compiler&version=4.0.0-alpha-012&prerelease

// Install Fable.Compiler as a Cake Tool
#tool nuget:?package=Fable.Compiler&version=4.0.0-alpha-012&prerelease

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

List of changelogs

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

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Fable.Compiler:

Package Downloads
Fable.Plugins.NUnit

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.0-alpha-012 52 6/17/2024
4.0.0-alpha-011 67 6/13/2024
4.0.0-alpha-010 57 6/10/2024
4.0.0-alpha-009 90 5/24/2024
4.0.0-alpha-008 474 2/27/2024
4.0.0-alpha-007 129 2/20/2024
4.0.0-alpha-006 78 2/13/2024
4.0.0-alpha-005 184 2/12/2024
4.0.0-alpha-004 128 1/30/2024
4.0.0-alpha-003 61 1/30/2024
4.0.0-alpha-002 59 1/25/2024
4.0.0-alpha-001 109 12/14/2023
1.3.18 12,999 9/3/2018
1.3.17 8,503 5/10/2018
1.3.16 1,834 5/5/2018
1.3.15 7,551 4/19/2018
1.3.14 4,518 3/30/2018
1.3.12 1,903 3/22/2018
1.3.11 2,765 3/8/2018
1.3.10 3,351 3/1/2018
1.3.9 1,704 3/1/2018
1.3.8 6,540 1/23/2018
1.3.7 2,894 12/21/2017
1.3.6 2,133 12/14/2017
1.3.5 1,636 12/13/2017
1.3.4 2,312 11/29/2017
1.3.3 2,682 11/27/2017
1.3.2 2,551 11/23/2017
1.3.1 1,688 11/21/2017
1.3.0 1,744 11/15/2017
1.3.0-beta-009 953 11/15/2017
1.3.0-beta-008 945 11/14/2017
1.3.0-beta-007 965 11/10/2017
1.3.0-beta-006 1,008 10/27/2017
1.3.0-beta-003 1,028 10/26/2017
1.3.0-beta-002 1,091 10/19/2017
1.3.0-beta-001 1,166 9/29/2017
1.2.4 6,002 9/27/2017
1.2.3 2,387 9/18/2017
1.2.2 1,591 9/18/2017
1.2.1 3,022 9/10/2017
1.2.0 2,924 9/6/2017
1.2.0-beta-0015 1,338 8/31/2017
1.2.0-beta-0014 1,090 8/30/2017
1.2.0-beta-0012 1,059 8/28/2017
1.2.0-beta-001 1,340 8/23/2017
1.1.23 1,539 9/5/2017
1.1.22 1,671 8/22/2017
1.1.21 1,395 8/22/2017
1.1.20 1,927 8/8/2017
1.1.19 1,693 7/31/2017
1.1.18 1,546 7/27/2017
1.1.17 2,095 7/24/2017
1.1.16 1,492 7/22/2017
1.1.15 1,433 7/22/2017
1.1.14 1,539 7/18/2017
1.1.12 1,507 7/17/2017
1.1.11 1,815 7/13/2017
1.1.10 1,232 7/12/2017
1.1.9 1,623 7/11/2017
1.1.8 1,474 7/8/2017
1.1.7 1,731 7/5/2017
1.1.6 1,612 7/4/2017
1.1.5 1,427 6/28/2017
1.1.4 1,492 6/24/2017
1.1.3 1,564 6/20/2017
1.1.2 1,568 6/20/2017
1.1.1 1,549 6/19/2017
1.1.0 1,560 6/15/2017
1.1.0-rc-002 993 6/12/2017
1.1.0-rc-001 987 6/10/2017
1.0.14 1,509 6/14/2017
1.0.12 1,434 6/14/2017
1.0.11 1,477 6/13/2017
1.0.10 1,461 6/13/2017
1.0.9 1,438 6/13/2017
1.0.8 2,363 6/2/2017
1.0.7 1,658 5/27/2017
1.0.6 1,935 5/24/2017
1.0.5 1,430 5/24/2017
1.0.4 2,298 5/17/2017
1.0.3 1,419 5/17/2017
1.0.2 1,426 5/17/2017
1.0.1 1,450 5/17/2017
1.0.0-narumi-921 901 5/17/2017
1.0.0-narumi-920 995 5/16/2017
1.0.0-narumi-918 930 5/16/2017
1.0.0-narumi-917 1,083 5/16/2017
1.0.0-narumi-916 976 5/15/2017
1.0.0-narumi-915 1,177 5/9/2017
1.0.0-narumi-914 1,583 4/24/2017
1.0.0-narumi-912 1,053 4/23/2017
1.0.0-narumi-911 1,047 4/19/2017
1.0.0-narumi-910 1,000 4/19/2017
1.0.0-narumi-909 1,064 4/14/2017
1.0.0-narumi-908 1,338 4/2/2017
1.0.0-narumi-906 1,138 3/29/2017
1.0.0-narumi-905 973 3/27/2017
1.0.0-narumi-904 1,052 3/25/2017
1.0.0-narumi-903 1,057 3/23/2017
1.0.0-narumi-9 981 3/17/2017
1.0.0-narumi-8 1,029 3/15/2017
1.0.0-narumi-7 941 3/14/2017
1.0.0-narumi-6 993 3/14/2017
1.0.0-narumi-5 1,031 3/13/2017
1.0.0-narumi-4 934 3/13/2017
1.0.0-narumi-3 1,070 3/10/2017
1.0.0-narumi-2 921 3/10/2017
1.0.0-narumi-15 1,172 3/22/2017
1.0.0-narumi-10 1,097 3/20/2017
1.0.0-narumi-1 1,047 3/10/2017

## Fixed

- [JS/TS] Fixed unwrapping optional arguments (#3847) (by @ncave)