gfse: initial support for module extension

There is a new way to create a new grammar based on an existing grammar:
by extending it. (It is also possible to clone an existing grammar, a before.)
This commit is contained in:
hallgren
2012-02-09 18:00:36 +00:00
parent 4079e1b413
commit 86d5973b2e
5 changed files with 169 additions and 53 deletions

View File

@@ -24,7 +24,7 @@ function upload(g) {
[hidden(g.basename+".gf",show_abstract(g))])
for(var i in g.concretes)
form.appendChild(hidden(g.basename+g.concretes[i].langcode+".gf",
show_concrete(g.basename)(g.concretes[i])));
show_concrete(g)(g.concretes[i])));
editor.appendChild(form);
form.submit();
form.parentNode.removeChild(form);