Fable: Bootstrap Fable

Created on 24 Feb 2017  路  12Comments  路  Source: fable-compiler/Fable

It would be nice if Fable could bootstrap itself. It would be lovely to use it as a REPL.

help wanted

Most helpful comment

@lilred there is some ongoing work in progress on that to bring additional functionality, but it's not there yet

All 12 comments

@lilred Something like that?

That's fantastic, can it be embedded?

@lilred there is some ongoing work in progress on that to bring additional functionality, but it's not there yet

@ncave any update on Bootstrapping Fable.
I'd like to add F# support into klipse, like I did for clojure, lua, scheme, ruby etc...

Hi @viebel, klipse looks awesome! It'd be very nice to add support to F#. For what I've seen in the README and the samples, with klipse code snippets can make reference to previous snippets. This would be more or less like F# interactive works, though at the moment the Fable REPL compiles each snippet as if it were a different program.

@ncave Do you think it would be possible to compile FSI to JS with Fable and embed it into the browser?

@viebel We're almost there with the REPL working on the new Fable 1.0 beta, so it's not going to be long.

@alfonsogarciacaro Having fsi-like incremental compilation is definitely possible, bit I'm not sure on the time line, as that is a hefty chunk of functionality to add. On the other hand, all the auto-complete support is already there, so the next step for the REPL should probably be to move from Ace to the Monaco editor (ionide-web) and support FSAC, tooltips, etc., that would be awesome.

That's great news @ncave
As soon as you have something I can test, please ping me.

I would love to see F#/Fable and klipse integration. I think this is already possible, we just need to repackage the Fable REPL into a standalone npm pure-JS package. Anyone from @fable-compiler/code-maintenance, @fable-compiler/infrastructure or @fable-compiler/community teams wants to help with that?

@alfonsogarciacaro @ncave
Klipse now supports Ocaml. See http://blog.klipse.tech/ocaml/2017/10/05/blog-ocaml.html.
If you guys provide a Fable standalone js compiler, I can add F# in Klipse.

@viebel This is awesome
++ @MangelMaxime

@ncave I already started the architecture rework of fable-repl repo.

I think after that we should have what we need for Kilpse. Because it should be simple to generate an npm package from it.

Closing this in favor of #1651

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alfonsogarciacaro picture alfonsogarciacaro  路  3Comments

et1975 picture et1975  路  3Comments

forki picture forki  路  3Comments

theprash picture theprash  路  3Comments

krauthaufen picture krauthaufen  路  3Comments