1
0
forked from GitHub/gf-core

top-level transfer for converting trees; lexicon not included

This commit is contained in:
aarne
2014-02-26 18:03:52 +00:00
parent 88c06f74fc
commit 3a064468c2
3 changed files with 14 additions and 4 deletions

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