Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

F# as a Scripting Language

Tags:

.net

scripting

f#

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).

like image 749
BuddyJoe Avatar asked Jan 12 '09 22:01

BuddyJoe


1 Answers

fsi --exec

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

like image 83
nlucaroni Avatar answered Oct 03 '22 20:10

nlucaroni