1
0
forked from GitHub/gf-core
Commit Graph

5 Commits

Author SHA1 Message Date
hallgren
9c4564c8a4 example-based: use random generation for the examples 2011-10-17 13:51:25 +00:00
hallgren
21a5e3c2cb example-based grammar writing: avoid a problem by returning Nothing instead of calling error 2011-10-04 10:04:01 +00:00
hallgren
598138bfa1 gfse: browser compatibility fixes 2011-10-03 12:28:49 +00:00
hallgren
8f82e71517 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.
2011-09-29 15:19:03 +00:00
hallgren
ee0a6e6aad Server-side support for example-based grammar writing 2011-09-27 18:59:54 +00:00