mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-13 13:12:51 -06:00
the embedded grammars now work with both the pure Haskell and the Haskell binding API
This commit is contained in:
@@ -176,6 +176,9 @@ unMeta (Expr expr touch) =
|
||||
touch
|
||||
return (Just (fromIntegral (id :: CInt)))
|
||||
|
||||
-- | this functions is only for backward compatibility with the old Haskell runtime
|
||||
mkCId x = x
|
||||
|
||||
-- | parses a 'String' as an expression
|
||||
readExpr :: String -> Maybe Expr
|
||||
readExpr str =
|
||||
|
||||
Reference in New Issue
Block a user