https://github.com/jameysharp/corrode/blob/master/src/Langua...
Corrode is absolutely incredible. This file is literate Haskell, which means there's more documentation than code (I guess), and it transforms C into Rust.
Corrode is absolutely incredible. This file is literate Haskell, which means there's more documentation than code (I guess), and it transforms C into Rust.
That's the intent, but to the compiler, the meaning of literate Haskell is that comments are the default, and only lines starting with > contain code