AceWiki/AceWiki — pull request #20 by Kaljurand (2013-06-07 15:31:02+00:00)
Title: GF lexicon editor

These commits add a new page where the user can edit GF lins in a table. This table pulls together linearization definitions from all the concrete modules. Works only with module source files which have a certain simple structure, e.g.

concrete GeographyGer of Geography = ... {
...
lin
Aargau_NP = mkNP der "Aargau" ;
...
western_zone_CN = aceN die "westliche_Zone" ;
}

i.e. a header + `lin` on a separate line + list of _fun_ `=` _def_ separated by `;`. This format is parsed with a simple regex. In the future this should be replaced by a GF source code parser.

Note that rows cannot be currently added to the table, and in order to delete a row, one must delete the content of all the cells and then do a refresh.

![acewikigf_lexicon_editor](https://f.cloud.github.com/assets/490600/624487/8916013e-cf86-11e2-8ba7-df226cb66022.png)