Page: SageFs.FsiHost

Job: generated chapter

Level: F#

Source lines:

  • SageFs.FsiHost/FsiProtocol.fs:1

SageFs.FsiHost

F#4 source file(s)1119 line(s) of code

grug measure this project from its own files. nobody write this page, so it cannot go stale. why the code is shaped so is for the topics.

what this repository says it is

The isolated FSI host: a tiny program that owns ONE FsiEvaluationSession and speaks FsiProtocol over a loopback socket. It is compiled by the project's own SDK against that SDK's own FSharp.Compiler.Service and FSharp.Core (see… SageFs.FsiHost/Program.fs:1

where it start

a program start in

  • SageFs.FsiHost/Program.fs

the files, in the order to read them

the project file lists these in compile order, and in F# a file can use only what came before it. read from the top and each file stand on the ones above. lines count code only, with comments and blanks left out.

#filelineswhat the file say about itself
1SageFs.FsiHost/ConfigDsl.fs4begins with module DirectoryConfig = SageFs.FsiHost/ConfigDsl.fs:8
2SageFs.FsiHost/FsiProtocol.fs588Wire protocol between SageFs and an isolated FSI host process. SageFs.FsiHost/FsiProtocol.fs:1
3SageFs.FsiHost/FcsQueries.fs109The compiler-service queries the isolated host answers (diagnostics, symbol references, completion candidates). Compiled ONLY into the host, against the SDK's own FSharp.Compiler.Service, and returning wire types from FsiProtocol: no FCS… SageFs.FsiHost/FcsQueries.fs:1
4SageFs.FsiHost/Program.fs418The isolated FSI host: a tiny program that owns ONE FsiEvaluationSession and speaks FsiProtocol over a loopback socket. It is compiled by the project's own SDK against that SDK's own FSharp.Compiler.Service and FSharp.Core (see… SageFs.FsiHost/Program.fs:1

what it use and who use it

no package named in FsiHost.fsproj.

it reference no other project of this repo.

no other project of this repo reference it.

what test it

no test project reference this one.

where to look for trouble

demon watch: complexity spirit demon may lurk here
  • SageFs.FsiHost/FsiProtocol.fs: reflection in 16 place(s) (line 274, 275, 276 and 13 more): reflection reads types while the program runs, so the compiler does not check what it does
  • SageFs.FsiHost/FcsQueries.fs: reflection in 1 place(s) (line 104): reflection reads types while the program runs, so the compiler does not check what it does
  • SageFs.FsiHost/Program.fs: reflection in 1 place(s) (line 272): reflection reads types while the program runs, so the compiler does not check what it does

this sign only tells grug where to look. open the file and look before grug says the demon is there.