john.j.camilleri
ee2f0a7487
Syntax editor: return to editor after having switched to minibar
2012-11-23 08:25:00 +00:00
hallgren
24bf1f0d0e
minibar: can now switch back to the minibar after switching to the syntax editor
...
This is done by including a lin_action when starting the syntax editor from
the minibar.
Also: added some minibar options in the syntax editor for consistency...
2012-11-22 16:42:39 +00:00
john.j.camilleri
bac6b7fe64
Syntax editor: can now load minibar (in-place) from a linearised tree
2012-11-22 12:45:20 +00:00
hallgren
e7b14316dd
minibar+syntax editor integration, work in progress 2
...
+ Transfer current astract syntax tree when activating the syntax editor
from the minibar.
+ Add options to start the minibar with given input. You need to include
the current grammar url, the current language and the input, like this:
initial_grammar: "/grammars/Foods.pgf",
initial: { from: "FoodsEng", input:["that","fish","is","fresh"]}
+ Fix a style sheet clash.
2012-11-21 17:13:21 +00:00
john.j.camilleri
381dc3900c
Syntax editor: start with initial AST
...
Note that the argument has been renamed to initial.abstr
(Where abstr means an abstract syntax tree in string form, NOT an AST object)
2012-11-21 15:24:44 +00:00
hallgren
8bd58a0297
minibar+syntax editor integration, work in progress
2012-11-21 15:07:59 +00:00
john.j.camilleri
051b7b0d21
Syntax editor: start with initial grammar, startcat, to: languages
2012-11-21 11:22:35 +00:00
john.j.camilleri
09c4f8410e
Syntax editor: update to use common js files
2012-11-20 13:56:56 +00:00
john.j.camilleri
27beb9a3f8
Syntax editor: random generation of trees (and subtrees!)
2012-11-20 09:36:50 +00:00
john.j.camilleri
3e5dac8ed4
Syntax editor: work on importing AST as string (eg for generate random)
...
But it's still not complete. Need an efficient way of getting the cat info to accompany funs.
2012-11-16 14:35:37 +00:00
john.j.camilleri
67ca0a1eae
Syntax editor: select subset of available languages
...
Also added a basic readme file with a list of todo's
2012-11-16 09:33:55 +00:00
john.j.camilleri
f815b2850b
Syntax editor: jump to next hole in tree
2012-11-15 15:38:17 +00:00
john.j.camilleri
dc0f333fec
Syntax editor: fix bug in Firefox, Seamonkey
2012-11-15 12:40:14 +00:00
john.j.camilleri
5c8c1f768f
Add first demo of new syntax editor
...
As part of the GF cloud stuff, it can be accessed from
http://cloud.grammaticalframework.org/syntax-editor/editor.html
2012-11-13 15:14:49 +00:00