vt -api with conversion to resource API names

This commit is contained in:
aarne
2010-12-06 09:53:04 +00:00
parent 6268c2d7d9
commit 00111b10c1
2 changed files with 13 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
module PGF.ToAPI
(stringToAPI,exprToAPI)
(stringToAPI,exprToAPI,exprToAPIIO)
where
import PGF.Expr
@@ -14,6 +14,10 @@ import qualified Data.Map as Map
import PGF.Signature
--- this will be changed
exprToAPIIO :: Expr -> IO String
exprToAPIIO = exprToAPI -- return . exprToAPI
-- intermediate structure for representing the translated expression
data APIfunc = BasicFunc String | AppFunc String [APIfunc] | NoAPI