crafting-interpreters-hs/app/Main.hs

11 lines
180 B
Haskell
Raw Normal View History

2025-12-02 23:26:17 +03:00
module Main where
2025-12-09 17:23:54 +03:00
import Lox.Scanner
run :: String -> IO ()
run source = mapM_ print tokens
where tokens = scanTokens source
2025-12-02 23:26:17 +03:00
main :: IO ()
main = putStrLn "Hello, Haskell!"