haskell-src-exts-sc alternatives and similar packages
Based on the "Bsd3" category.
Alternatively, view haskell-src-exts-sc alternatives based on common mentions on social networks and blogs.
Do you think we are missing an alternative of haskell-src-exts-sc or a related project?
The library generates code from
The procedure is as follows:
- pretty-print AST generated by
- parse the generated code to get
SrcSpanInfofor each node
- combine AST annotated with comments and AST annotated with
- insert (non-empty) comments into each node, updating
SrcSpanInfoof all nodes
As you can see, the algorithm is nor remarkably fast, because it prints and parses code
SrcSpanInfo of all nodes in an AST on each comment insertion.
On the good side, it is quite flexible and compatible with many versions of
Performance is also acceptable if you don't need to invoke it every millisecond.