fortran-src icon indicating copy to clipboard operation
fortran-src copied to clipboard

Are LiquidHaskell annotations being considered

Open envp opened this issue 6 years ago • 2 comments

I think they would add stronger compile time guarantees as well as serve as documentation about Fortran's AST invariants. This could be useful for source to source transformations as a sort of added compile time sanity check

Link to LiquidHaskell

envp avatar Aug 20 '18 21:08 envp

We never considered LiquidHsakell for fortran-src. What sort of annotations did you have in mind?

What I really like to do one day is to rewrite the AST to use GADTs. There is way too much redundancy.

madgen avatar Aug 20 '18 23:08 madgen

I am still unfamiliar with a lot of the codebase of fortran-src, and hence don't have specific annotations in mind. The general flavor of annotations I had in mind was stuff that could help migrate legacy fortran to more modern standards through code generation. I am yet to flesh out the idea completely.

envp avatar Aug 21 '18 16:08 envp