top-level transfer for converting trees; lexicon not included

This commit is contained in:
aarne
2014-02-26 18:03:52 +00:00
parent 1bb6b17019
commit ca73939664
3 changed files with 14 additions and 4 deletions
+8
View File
@@ -0,0 +1,8 @@
module Main where
import qualified PGF
import Old2New
main = interact (unlines . map trans . lines)
trans = maybe "" (PGF.showExpr [] . transfer) . PGF.readExpr