diff options
author | Yann Herklotz <git@yannherklotz.com> | 2021-11-01 20:47:28 +0000 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2021-11-01 20:47:28 +0000 |
commit | 20e3b287b7abfbccbd7d94aa403262645563a4cc (patch) | |
tree | 742af9087fe9f1dcdee41ca2104564ed630a0ceb /app | |
parent | 645ea9ac09039d3c695c25018b2f089df7e09828 (diff) | |
download | gsa-parser-20e3b287b7abfbccbd7d94aa403262645563a4cc.tar.gz gsa-parser-20e3b287b7abfbccbd7d94aa403262645563a4cc.zip |
Update with basic Parser types
Diffstat (limited to 'app')
-rw-r--r-- | app/Main.hs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Main.hs b/app/Main.hs index dc849e7..a81cf7c 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -1,4 +1,9 @@ import GSA +import qualified Data.Text.IO as T (readFile) +import Data.Text (Text) + main :: IO () -main = putStrLn "heyyyyyy" +main = do + t <- T.readFile "main.gsa" + print $ parse "main.gsa" t |