1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 18:06:14 +03:00

print output of parseByteString

This commit is contained in:
Ayman Nadeem 2019-10-01 18:38:36 -04:00
parent 1a0cdc2fb8
commit 86dc3f811b

View File

@ -15,3 +15,4 @@ main :: IO ()
main = do
args <- head <$> getArgs
bytestring <- Data.ByteString.readFile args
print =<< parseByteString @TreeSitter.Python.AST.Module @(Range, Span) tree_sitter_python bytestring