

Python support for Fable 🎉 by dbrattli · Pull Request #2345 · fable-compiler/Fab...
source link: https://github.com/fable-compiler/Fable/pull/2345
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Work in progress Python support for Fable that hopefully one day will fix #2339. Ready for review. Still a lot more work needed but this PR have over 100 passing unit-tests.
TODO:
- functions, including arrow and function-expressions
- classes
- printfn, sprintf, string interpolation
- import handling
- test framework using pytest
- nonlocal variables
- fable-library, String (mostly supported)
- fable-library, Option
- fable-library, Seq
- fable-library, List
- fable-library, Set (wip)
- fable-library, Record
- fable-library, Map (wip)
-
fable-library, move to Fable so we can mix it with the
.fs
implementations - py-interop
- async
- Transform from Fable AST
- FIx field get of anonymous records for Python dict
- Reflection (wip)
Recommend
-
43
全球工单系统 - @wvc - 一直用 2345 好压,之前因为这个问题换过别的解 /压缩软件,但是感觉都不太好用,就又换了回来,这此真的不会回来了……看图吧: https://www.ncuuu.com/bh.jpg
-
8
Fable.Store This repository was originally born as bindings to write Svelte apps with Fable, but has evolved into providing stores à-la-Svelte that can also be used with other UI rendering mechanisms like React, and also in non-Fable...
-
12
Copy link Collaborator dbrattli commented
-
7
2345看图王(10.4.0.9254)去广告纯净绿色版...
-
10
Copy link Contributor thinkbeforecoding
-
14
Conversation Copy link Contributor ...
-
13
2345看图王(10.5.0.9375)去广告纯净绿色版...
-
14
Fable Python Fable is a compiler that translates F# source files to JavaScript and Python. This Fable Python repository contains the Python bindings for Fable....
-
10
F# and Fable (Python) support for Jupyter Fable Python is an F# kernel for Jupyter based on Fable and IPythonKernel. Fable is a transpiler that conver...
-
5
Fable Compiler on Twitter: "Fable 3.6 is out!🚀 👉 Support #fsharp 6 syntax 👉 Support DateOnly/TimeOnly thanks to @keramss 👉 Speed up watch mode for big projects Have a nice weekend!"Don’t miss what’s happeningPeople on Twitter are...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK