Skip to content

Development

Dmitrii Kovanikov edited this page Jun 8, 2020 · 3 revisions

Instructions and hints on developing Stan. Also contains helpful commands during the project development and testing.

Generate HTML report for testing

$ ./report

Open stan.html.

View HIE AST of a file

This is helpful for debugging purposes and for inspecting how HIE files look like.

$ cabal build all
$ cabal repl lib:stan
ghci> import Stan.Hie.Debug
ghci> readHieFiles ".hie" >>= debugHieFile "target/Target/Partial.hs"
Clone this wiki locally