cryptol/tests/parser/RunLexer.hs

14 lines
321 B
Haskell
Raw Normal View History

2014-04-18 02:34:25 +04:00
-- |
-- Module : Main
-- Copyright : (c) 2013-2016 Galois, Inc.
2014-04-18 02:34:25 +04:00
-- License : BSD3
-- Maintainer : cryptol@galois.com
-- Stability : provisional
-- Portability : portable
import Cryptol.Parser.Lexer
import Cryptol.Parser.PP
main :: IO ()
main = interact (unlines . map (show . pp) . fst . primLexer)