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)?
As far as I can tell
hpythononly parses standard Python comments:hpython/src/Language/Python/Internal/Lexer.hs
Lines 115 to 118 in ede398a
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)?