rnso
rnso

Reputation: 24535

Compiling F# source on Windows with Mono

I have downloaded mono-6.0.0.334-x64-0.msi from Mono-project website: https://www.mono-project.com/download/stable/

However, I am not clear what command do I use to compile F# source files (say mysrc.fs). There is no fsharpc or fsharpi command installed with mono. I have tried to search the internet but a commonly quoted page does not mention mono as an option: https://fsharp.org/use/windows/

Can I or can I not compile F# source files on Windows with mono? Thanks for your insight.

Upvotes: 2

Views: 227

Answers (1)

Nicklaus Brain
Nicklaus Brain

Reputation: 929

The official document states that

F# is a hybrid language that brings flavors of functional languages and imperative languages, developed by Microsoft. They release compiler that targets mono in some releases.

It seems like to target mono you need to download FSharp.Compiler.Tools nuget package assembled form the official F# compiler repo.

Then for mono-specific compiler options you can refer to the special doc in language reference.

Upvotes: 1

Related Questions