Fable.AST
4.5.0
dotnet add package Fable.AST --version 4.5.0
NuGet\Install-Package Fable.AST -Version 4.5.0
<PackageReference Include="Fable.AST" Version="4.5.0" />
paket add Fable.AST --version 4.5.0
#r "nuget: Fable.AST, 4.5.0"
// Install Fable.AST as a Cake Addin #addin nuget:?package=Fable.AST&version=4.5.0 // Install Fable.AST as a Cake Tool #tool nuget:?package=Fable.AST&version=4.5.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.
List of changelogs
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
NuGet packages (8)
Showing the top 5 NuGet packages that depend on Fable.AST:
Package | Downloads |
---|---|
Feliz.CompilerPlugins
Provides compile-time transformation for React components |
|
Fable.Compiler
Package Description |
|
MobF.ObserverPlugin
Package Description |
|
Fable.React.WebComponent
Provides a compile-time transformation to generate web components from react components |
|
Fable.SveltePlugins
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
4.5.0 | 7,295 | 5/23/2024 |
4.4.0 | 6,562 | 2/13/2024 |
4.3.0 | 14,826 | 9/29/2023 |
4.2.1 | 90,577 | 10/31/2022 |
4.2.0 | 5,540 | 9/9/2022 |
4.1.0 | 635 | 9/7/2022 |
4.0.0 | 7,886 | 9/1/2022 |
4.0.0-snake-island-alpha-001 | 308 | 8/24/2022 |
3.1.1 | 91,963 | 5/14/2021 |
3.1.0 | 3,085 | 4/16/2021 |
3.0.0 | 220,923 | 12/4/2020 |
3.0.0-nagareyama-rc-001 | 8,627 | 11/25/2020 |
3.0.0-nagareyama-beta-002 | 15,206 | 10/27/2020 |
3.0.0-nagareyama-beta-001 | 5,778 | 10/23/2020 |
3.0.0-nagareyama-alpha-003 | 348 | 10/22/2020 |
3.0.0-nagareyama-alpha-002 | 396 | 10/19/2020 |
3.0.0-nagareyama-alpha-001 | 375 | 10/15/2020 |