simple-arithmetic-compiler/app/Main.hs

8 lines
140 B
Haskell

module Main where
import qualified Lexer
main :: IO ()
main = do
source <- readFile "arithmetic.txt"
putStr $ show (Lexer.lex source)