summaryrefslogtreecommitdiff
path: root/src/example-based/ExampleDemo.hs
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2011-09-29 15:19:03 +0000
committerhallgren <hallgren@chalmers.se>2011-09-29 15:19:03 +0000
commitbb585fef2cf88eeac08ee6f77de1f0ea8130b396 (patch)
tree1de62be3ed42695635f9fe8654e54ea18ef8c11f /src/example-based/ExampleDemo.hs
parentad725d85310e0055b21bdde66bcc43c5cd68fa97 (diff)
Example-based grammar writing: fix problems caused by the use of exprToAPI
The editor needs to keep track of both the raw term and the nice term returned by exprToAPI. (Manually constructed linearization rules will now have the raw term and can not be tested.) Also replace metavariables in generalized terms with the apropriate parameter from the linearization rule. Also fix communication problems caused by inconsistent use of show/read vs showExpr/readExpr.
Diffstat (limited to 'src/example-based/ExampleDemo.hs')
-rw-r--r--src/example-based/ExampleDemo.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/example-based/ExampleDemo.hs b/src/example-based/ExampleDemo.hs
index b26a9b4b1..b64d1d7a2 100644
--- a/src/example-based/ExampleDemo.hs
+++ b/src/example-based/ExampleDemo.hs
@@ -1,4 +1,4 @@
-module ExampleDemo (Environ,initial,getNext, provideExample, testThis,mkFuncWithArg,searchGoodTree)
+module ExampleDemo (Environ,initial,getNext, provideExample, testThis,mkFuncWithArg,searchGoodTree,isMeta)
where
import PGF