From 86dc3f811b3da9f0dc7addb832202bc9bc0e31dc Mon Sep 17 00:00:00 2001 From: Ayman Nadeem Date: Tue, 1 Oct 2019 18:38:36 -0400 Subject: [PATCH] print output of parseByteString --- semantic-ast/src/CLI.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/semantic-ast/src/CLI.hs b/semantic-ast/src/CLI.hs index a13ec10be..d141dc5c7 100644 --- a/semantic-ast/src/CLI.hs +++ b/semantic-ast/src/CLI.hs @@ -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