less prototype, less bad code implementation of CCHM type theory
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

14 lines
271 B

module Main where
import qualified Data.ByteString.Lazy as Bsl
import Data.Foldable
import Presyntax.Parser
import Presyntax.Tokens
import Presyntax.Lexer
main :: IO ()
main = do
t <- Bsl.readFile "test.tt"
let Right tks = runAlex t parseProg
traverse_ print tks