Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Research how fsi's read-eval-print-loop works and hook in at that level rather than string scraping #1

Open
bryanhunter opened this issue May 26, 2021 · 1 comment

Comments

@bryanhunter
Copy link
Member

bryanhunter commented May 26, 2021

Research the fsi code:
https://github.com/dotnet/fsharp/blob/main/src/fsharp/fsi/fsimain.fs

...and document findings and recommendations.

@shritesh
Copy link
Member

shritesh commented May 26, 2021

This should be helpful: https://fsharp.github.io/FSharp.Compiler.Service/interactive.html
There's even an example of reflection on the type of the evaluated expression.

Personally, I couldn't get the sample code to work on my Linux x64 box with dotnet SDK 5.0.6. It fails with some DLL missing. I couldn't install dotnet on my M1 Mac at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants