Skip to content

ma3yta/cs2fs

 
 

Repository files navigation

Cs2Fs

This project is in experimental stage.

This project aim to be tool that helps with rewrite C# code to F#.

Requirements

DotNet Core 2.0

Usage

From project main directory:

dotnet run -p cs2fs input.cs [output.fs]

Known limitation

What is not supported, and it's not planned at this stage:

  • early returns, break, continue.
  • non-explicit interface implementation.
  • correct return value of constructors.

What cannot be supported due to limitations of F#:

  • protected keyword.

TODO

  • comments

  • explicit interfaces implementation

  • use Argu

  • better error handling

  • tests

About

C#->F# transpiler.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • F# 99.1%
  • Other 0.9%