Skip to content

ncave/Fable

This branch is up to date with fable-compiler/Fable:main.

Folders and files

NameName
Last commit message
Last commit date
Jan 19, 2025
Jan 8, 2025
Jan 8, 2025
Nov 19, 2024
Feb 20, 2025
Jan 19, 2025
Feb 25, 2025
Feb 25, 2025
Jan 19, 2022
Feb 10, 2024
Nov 23, 2023
Nov 23, 2023
Jan 5, 2025
Dec 22, 2023
Dec 2, 2021
Feb 18, 2024
Dec 5, 2017
Mar 26, 2017
Nov 19, 2024
Jan 4, 2018
Oct 14, 2023
Oct 14, 2023
Aug 2, 2024
May 14, 2021
Jan 8, 2025
Feb 20, 2025
Feb 20, 2025
Apr 1, 2024
Apr 1, 2024

Repository files navigation

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 ./build.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

About

F# to JavaScript Compiler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • F# 96.1%
  • Python 1.1%
  • Rust 1.1%
  • TypeScript 1.1%
  • Dart 0.3%
  • PHP 0.2%
  • Other 0.1%