FSHARPI(1)

πŸ“¦ version 4.0.0.4, in ubuntu jammy, ubuntu noble

πŸ‘‘ FSHARPI β€” the manual page for F# 3.0 interactive REPL (Open Source Edition) πŸ’–

okay bestie, welcome to the fsharpi page, straight out of the User Commands corner of your manual, no cap ✨


🌸 NAME 🌸

fsharpi β€” the manual page for F# 3.0 interactive REPL (Open Source Edition) πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

It's the interactive REPL console for the F# language, version 3.0. That's it, that's the vibe β€” you type F#, it talks back. main character energy fr fr πŸ’…


✨ SYNOPSIS ✨

fsharpi [options...] [script.fsx [arguments...]

(yes the brackets are exactly like that, we don't fix, we don't touch, we preserve 🫢)


πŸ’– OPTIONS πŸ’–

πŸ“ INPUT FILES

  • --use:file β€” use the given file on startup as initial input πŸ’«
  • --load:file β€” #load the given file on startup
  • --reference:assembly, -r assembly β€” reference an assembly
  • -- β€” pass the remaning arguments to script, accessed using fsi.CommandLineArgs πŸ‘‘
note: it really says "remaning" in the original and I am respectfully leaving that exactly as-is. icon of not editing the source πŸ’€

πŸ”₯ CODE GENERATION

  • --debug[+|-], -g β€” emit debug information
  • --debug:[full|pdbonly] β€” specify debugging type: full, pdbonly. full is the default and enables attaching a debugger to a running program πŸ”
  • --optimize[+|-], -O β€” enable optimizations, go faster bestie ⚑
  • --tailcalls[+|-] β€” enable tailcalls
  • --crossoptimize[+|-] β€” enable cross-module optimizations

😭 ERRORS AND WARNINGS

  • --warnaserror[+|-] β€” report all warnings as errors (yes, all of them, no mercy)
  • --warnaserror[+|-]:warn[;warn[;...]] β€” report specific warnings as errors
  • --warn:n β€” set a warning level (0-5)
  • --nowarn:warn[;warn[;...]] β€” disable specific warning messages, we're ignoring that fr
  • --warnon:warn[;warn[;...]] β€” enable specific warnings that may be off by default
  • --consolecolors[+|-] β€” output warning and error messages in color 🌈 (aesthetic AND functional)

πŸ’œ LANGUAGE

  • --checked[+|-] β€” generate overflow checks
  • --define:string, -d string β€” define conditional compilation symbols
  • --mlcompatibility β€” ignore ML compatibility warnings

🧚 MISCELLANEOUS

  • --nologo β€” suppress compiler copyright message (shy compiler era πŸ™ˆ)
  • --help, -? β€” display this usage message

πŸ‘‘ ADVANCED

  • --codepage:n β€” specify the codepage used to read source files
  • --utf8output β€” output messages in UTF-8 encoding ✨
  • --fullpaths β€” output messages with fully qualified paths
  • --lib:dir[;dir[;...]], -I dir[;dir[;...]] β€” specify a directory for the include path which is used to resolve source files and assemblies
  • --baseaddress:address β€” base address for the library to be built
  • --noframework β€” do not reference the default CLI assemblies by default
  • --standalone β€” statically link the F# library and all referenced DLLs that depend on it into the assembly being generated
  • --staticlink:assembly β€” statically link the given assembly and all referenced DLLs that depend on this assembly. Use an assembly name e.g. mylib, not a DLL name. ⚠️ (assembly name, NOT the DLL name, I said what I said)
  • --resident β€” use a resident background compilation service to improve compiler startup times.
  • --pdb:file β€” name the output debug file
  • --simpleresolution β€” resolve assembly references using directory-based rules rather than MSBuild resolution
  • --highentropyva[+|-] β€” enable high-entropy ASLR
  • --subsystemversion:string β€” specify subsystem version of this assembly

and that's the whole page bestie, every single flag accounted for, not one skipped, we ate and left no crumbs πŸŽ€

sign-off time: this was fsharpi version 3.0.34, dated February 2014 πŸ’– the original footer also tagged it with the manual section FSHARPI(1), so there you go β€” go write some F#, you absolute icon πŸ¦‹βœ¨

πŸ“¦ where this page comes from