u/todyshin r/dotnet • Recommends
Fint - .NET CIL interpreter written in simple F#
I've prepared compact .NET CIL interpreter called Fint in pure F# for NskDotNet Meetup #6.
It can run C# programs with the following features at this point:
- all control flow statements (if, for, switch, etc)
- arithmetic operations including bitwise one
- boolean algebra operators
- string concatenation
- static function calls
- Console.WriteLine calls
It can be easily extended with other features.
Some code in this project is just ported from PageFX project I wrote about recently(/flash-viewer-story).
It would be nice to try porting Fint to JavaScript using Fable and run .NET binary code right in a browser.
Later we can try to port R…