Fable
Fable copied to clipboard
F# to JavaScript, TypeScript, Python, Rust and Dart Compiler
- Erase unions and records to named tuples, behind a compiler switch. - This is experimental and WIP.
- Faster than F# linked list, when micro-benchmarked. - Overall, still slower in larger tests (FCS-JS) than using JS linked list.
It's probably not something that should actually ever get merged but may theoretically? be useful as an exploration of parts that would need to get done to update FSC/Core to...
**EDIT:** See [this](https://github.com/fable-compiler/Fable/issues/2946#issuecomment-1172033618) for the cause of the problem, and [this](https://github.com/fable-compiler/Fable/issues/2946#issuecomment-1173218140) for a workaround. ### Description The range `[ 0.5..0.05..1.5 ]` should include 1.5 and that value is omitted in...
Looks like JS `BigInt` has [good support now](https://caniuse.com/bigint), so it may be a good time to use it now to represent longs and bigints. This way we avoid the long.js...
This is about bindings for Flutter when targeting Dart, it could about bindings in general with Snake Island but each language/API has some peculiarities so let's focus on Flutter for...
### Description The problem described in this issue occured for me when using React.useState from Feliz but I think this is related to Fable internals that's why I open the...
### Description For an erased type, a custom member operator sometimes doesn't get used or resolved. The code below shows a function that correctly applies the operator and another that...
Right now any type decorated with `Erase` becomes `Any` in Fable AST. This makes sense because originally `Erase` was thought for erased unions representing Typescript unions. However now there are...
### Feature tracking issue for `Dart` language support: (see #2703 for Rust) - [x] Dart AST - [x] Dart AST Printer - [ ] `Fable2Dart`: - [x] modules - [x]...