summaryrefslogtreecommitdiff
path: root/src/PGF.hs
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-10-10 15:53:17 +0000
committeraarne <aarne@cs.chalmers.se>2008-10-10 15:53:17 +0000
commit4e795bab9b0e5dfcad903eb4c9d0aa0a5dab6e94 (patch)
treec9e63d27c7fdaa916534130dec161990240be555 /src/PGF.hs
parent917f417413c0181a0a3f41f2dd65abbc80f9edf6 (diff)
a first version of PGF.AbsCompute
Diffstat (limited to 'src/PGF.hs')
-rw-r--r--src/PGF.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/PGF.hs b/src/PGF.hs
index 8c64469db..31801a54f 100644
--- a/src/PGF.hs
+++ b/src/PGF.hs
@@ -44,7 +44,7 @@ module PGF(
parse, canParse, parseAllLang, parseAll,
-- ** Evaluation
- tree2expr, expr2tree,
+ tree2expr, expr2tree, compute,
-- ** Word Completion (Incremental Parsing)
complete,
@@ -58,6 +58,7 @@ module PGF(
import PGF.CId
import PGF.Linearize
import PGF.Generate
+import PGF.AbsCompute
import PGF.Macros
import PGF.Data
import PGF.Expr
@@ -265,4 +266,4 @@ complete pgf from cat input =
tokensAndPrefix s | not (null s) && isSpace (last s) = (words s, "")
| null ws = ([],"")
| otherwise = (init ws, last ws)
- where ws = words s \ No newline at end of file
+ where ws = words s