summaryrefslogtreecommitdiff
path: root/src/example-based/ExampleService.hs
AgeCommit message (Collapse)Author
2015-08-28Comment out some dead code found with -fwarn-unused-bindshallgren
Also fixed some warnings and tightened some imports
2014-09-02src/server: refactoring to isolate dependencies on the cgi/fastcgi packageshallgren
* Introducing the module CGI, re-exporting a subset of the cgi package. It might complete replace the cgi package in the future. * Introducing the module CGIUtils, containing functions from FastCGIUtils that have nothing to do with fastcgi. Some low level hackery with unsafePerformIO and global variables was left in FastCGIUtils, but it is actually not used, neither for gf -server nor exec/pgf-fcgi.hs.
2011-11-21example-based: bug fix: apply UTF-8 decoding to CGI inputshallgren
You can now use words with ÅÄÖ when writing Swedish grammars by example...
2011-11-02gfse: supply information about what's defined in the exampe language to the ↵hallgren
server functions for example-based grammar writing
2011-10-21Work on example-based grammar writinghallgren
+ Preparations to support more target languages. Tested with Swedish. + Don't enable example-based editing if there is less that two concrete languages in the grammar. + Don't show the "By example" button until the required lincat has been defined. + Remember the chosen language for examples.
2011-10-17example-based: use random generation for the exampleshallgren
2011-10-10More functionality in "gf -server" modehallgren
"gf -server" mode now includes PGF service and the services to support example-based grammar writing. (But gf -server is not quite ready to replace pgf-http yet...) Also bumped GF version number to 3.2.10-darcs
2011-09-29Example-based grammar writing: fix problems caused by the use of exprToAPIhallgren
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-27exb: call exprToAPI to create nicer linearization functionshallgren
2011-09-27Server-side support for example-based grammar writinghallgren