ashmind / SharpLab

.NET language playground
https://sharplab.io
BSD 2-Clause "Simplified" License
2.73k stars 202 forks source link

Bump F# compiller to 8 version #1326

Closed rstm-sf closed 5 months ago

rstm-sf commented 9 months ago

Currently the F# code compiled with version 6 of the compiler, we need bump to version 8

Similar https://github.com/ashmind/SharpLab/issues/1229

rstm-sf commented 5 months ago

Done: https://github.com/ashmind/SharpLab/commit/f4a0269f7b5f9dccb97cc033773a083c47099bde

ashmind commented 5 months ago

@rstm-sf This will take a bit more time unfortunately, original commit did not update properly.

@psfinaki FYI -- I am seeing some challenges with the Run mode. I think SharpLab was never able to compile target:exe (some complexity with code not finding a win32manifest file), but previously I could pass the AST directly to the compiler, then rewrite the resulting IL to approximate an exe entry point. However the API has changed and I can no longer do this, so it seems I have to actually support exe properly.

This might take a bit of time to figure out.

ashmind commented 5 months ago

All done now. 👍

psfinaki commented 5 months ago

Thanks a lot @ashmind!