mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-17 08:49:31 -06:00
vt -api with conversion to resource API names
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user