BuddyJoe
BuddyJoe

Reputation: 71111

F# as a Scripting Language

Is there a good way to write F# scripts that execute stand-alone without compiling?
...As scripts that could be executed via task scheduler on a server? I assume the server would have the core F# libraries, but not Visual Studio installed.

Is there an F# equivalent to CS-Script or NScript, but not a hack (workaround).

Upvotes: 5

Views: 2227

Answers (1)

nlucaroni
nlucaroni

Reputation: 47934

fsi --exec

will run all the files on the command line through the interactive console then exit.

Upvotes: 6

Related Questions