diff options
| author | aarne <aarne@chalmers.se> | 2010-12-06 09:53:04 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2010-12-06 09:53:04 +0000 |
| commit | 00111b10c193ccca6c37b356bf2d4ce67cb69975 (patch) | |
| tree | cdff75edf7fd7542122304172583f835cbb3e4a4 /src/runtime/haskell | |
| parent | 6268c2d7d9c87720dfcecf9dde12fb7443bf3200 (diff) | |
vt -api with conversion to resource API names
Diffstat (limited to 'src/runtime/haskell')
| -rw-r--r-- | src/runtime/haskell/PGF/ToApi.hs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/runtime/haskell/PGF/ToApi.hs b/src/runtime/haskell/PGF/ToApi.hs index 41ccb2248..e22132c34 100644 --- a/src/runtime/haskell/PGF/ToApi.hs +++ b/src/runtime/haskell/PGF/ToApi.hs @@ -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 |
