Revert "remove the example-based folder. The code is still in the archive"

This reverts commit 05c2cfb628.
This commit is contained in:
John J. Camilleri
2018-11-28 19:22:19 +01:00
parent 69cea20dac
commit e2401f32ca
5 changed files with 741 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
Editor improvements for example-based grammar writing:
+ Remove the same language from the example language menu
+ Send the other language environment to getNext
- Compile a new .pgf automatically when needed
- Update buttons automatically when functions are added or removed
- Switch over to using AbsParadigmsEng.pgf instead of the old exprToAPI function
Editor support for guided construction of linearization functions
- enter api expressions by parsing them with AbsParadigmsEng.pgf in minibar
- replace simpleParseInput with one that accepts quoted string literals
- use lexcode/unlexcode in minibar
- better support for literals in minibar (completion info from the PGF
library should indicate if literals are acceptable)
Server support for example-based grammar writing:
- Change getNext to use info from the example language
- Random generator restricted to defined functions
- More testing