• Stars
    star
    2,805
  • Rank 15,534 (Top 0.4 %)
  • Language
    F#
  • License
    MIT License
  • Created over 8 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

F# to JavaScript, TypeScript, Python, Rust and Dart Compiler

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

More Repositories

1

fable-react

Fable bindings and helpers for React and React Native
F#
271
star
2

ts2fable

Parser of Typescript declaration files
F#
217
star
3

Fable.Python

Python bindings for Fable
F#
125
star
4

fable-elmish-electron-material-ui-demo

Complete boilerplate for Electron apps using Fable and Elmish with hot module reloading, time-travel debugging, etc.
F#
113
star
5

Fable.Lit

Write Fable Elmish apps with Lit
F#
90
star
6

fable2-samples

Fable 2 samples
F#
68
star
7

fable-browser

Fable bindings for Browser Web APIs
F#
62
star
8

samples-electron

Fable bindings and samples for Github Electron
F#
60
star
9

fable-arch

Framework for building applications based on the elm architecture.
F#
60
star
10

Fable.Store

Manage state logic in Svelte, React apps and more
F#
59
star
11

repl

Fable online REPL
F#
59
star
12

fable-react-native

Fable bindings and helpers for React Native projects
F#
46
star
13

fable3-samples

Nagareyama (Fable 3) samples
F#
45
star
14

Fable.Solid

Fable bindings for SolidJS
F#
41
star
15

samples-browser

Fable samples for browser apps
F#
36
star
16

fable-powerpack

Utilities for Fable apps
F#
33
star
17

fable-import

Fable bindings for JavaScript libraries
F#
32
star
18

fable-electron

Fable bindings for Electron apps
F#
30
star
19

Fable.Jupyter

F# (Fable) support for Jupyter
Jupyter Notebook
30
star
20

Feliz.JSX

Feliz API for JSX compilation
F#
29
star
21

Fable.JsonProvider

F# JSON Type Provider for Fable
F#
27
star
22

fable-templates

Templates for Fable projects maintained by fable-compiler org
F#
26
star
23

static-web-generator

Simple Fable Node.js app to generate static pages
F#
25
star
24

fable-compiler.github.io

Fable web site
JavaScript
23
star
25

fable-graphics

Fable bindings for graphic tools: D3, DC, Three, Pixi
F#
23
star
26

fable-node

Bindings for node.js native modules
F#
21
star
27

cfworker-hello-world

Cloudflare worker
F#
19
star
28

fable-promise

Fable bindings for JS promise
F#
19
star
29

samples-pixi

Pixi samples for Fable
CSS
16
star
30

fable-fetch

Fable bindings for Browsers' Fetch API
F#
15
star
31

Fable.Flutter

Fable bindings for Flutter API
F#
15
star
32

repl-legacy

F#
15
star
33

Fable.RegexProvider

Simple Safe Regex Provider compatible with Fable
F#
12
star
34

Fable.Expect

Utilities to test Fable apps
JavaScript
10
star
35

webpack-config-template

Template for webpack.config.js in Fable projects
JavaScript
10
star
36

ts2fable-exports

All branches are auto-generated by ts2fable
F#
9
star
37

fable-recharts

Fable bindings for Recharts
F#
8
star
38

fable-vscode-extension

Example of a VS Code Extension Written in F#
F#
8
star
39

Fable.I18Next

Fable bindings and helpers for [i18next](https://www.i18next.com/)
JavaScript
7
star
40

community

Finder for community resources
F#
7
star
41

fable-pixi

Bindings For Pixi.js
F#
7
star
42

Fable.ReactGoogleMaps

Fable bindings and helpers for react-google-map
F#
7
star
43

fableconf-workshops

Workshops for FableConf
F#
5
star
44

fableconf

Material for fableconf
F#
4
star
45

rollup-plugin-fable

Rollup plugin for Fable (F# to JS compiler)
JavaScript
4
star
46

repl2

REPL for Fable 2
F#
3
star
47

repl3

F#
3
star
48

fable-import-ws

Fable bindings for Websockets library ws
F#
2
star
49

fable-date

F#
2
star
50

fable-import-google-cloud-functions

F#
2
star
51

fable-react-dom

F#
1
star
52

Fable.React.UseElmish

useElmish React hook
F#
1
star