forked from GitHub/gf-core
8 lines
163 B
Haskell
8 lines
163 B
Haskell
module Main where
|
|
|
|
import qualified PGF
|
|
import Old2New
|
|
|
|
main = interact (unlines . map trans . lines)
|
|
|
|
trans = maybe "" (PGF.showExpr [] . transfer) . PGF.readExpr |