As far as I can tell hpython only parses standard Python comments:
|
parseComment :: (CharParsing m, Monad m) => m (SrcInfo -> PyToken SrcInfo) |
|
parseComment = |
|
(\a b -> TkComment (MkComment (Ann b) a)) <$ char '#' <*> |
|
many (satisfy (`notElem` ['\r', '\n'])) |
Is there any reason that it doesn't support parsing of docstrings, or is it just not a use case that QFPL hasn't had need for yet (i.e. would a PR be welcomed, or potentially something to add as a milestone for a future release)?