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.

13 lines
271 B

  1. module Main where
  2. import qualified Data.ByteString.Lazy as Bsl
  3. import Data.Foldable
  4. import Presyntax.Parser
  5. import Presyntax.Tokens
  6. import Presyntax.Lexer
  7. main :: IO ()
  8. main = do
  9. t <- Bsl.readFile "test.tt"
  10. let Right tks = runAlex t parseProg
  11. traverse_ print tks