john.j.camilleri
58c3e3db85
Syntax editor: in-place replacement of functions
...
When at a non-leaf node, refinements with identical type signatures
are highlighting and can re placed without destroying the children.
If not, the refinement is greyed and the user is asked to clear
the current subtree first if they wish to replace it.
This aspect of the UI should be polished, but at least it is obvious.
Also, some substantial optimizations can still be made to cache
the processed type signatures (which determine what can be replaced
in-place)
2012-11-30 10:56:42 +00:00
john.j.camilleri
8cefec807a
Syntax editor: internal improvements. re-introduce initialize_from function
2012-11-29 15:40:18 +00:00
john.j.camilleri
59b9676fd1
Syntax editor; add new helper for parsing type signatures (not complete)
2012-11-27 12:00:41 +00:00
john.j.camilleri
45179a580a
Syntax editor: avoid server calls for each refinement by using cached data
2012-11-27 11:19:12 +00:00
john.j.camilleri
b3c1177f9e
Syntax editor: improvements and fixes with grammar manager
2012-11-27 10:09:40 +00:00
john.j.camilleri
d9867893f8
Syntax editor: now uses common GrammarManager object
2012-11-23 15:03:36 +00:00
john.j.camilleri
ee2f0a7487
Syntax editor: return to editor after having switched to minibar
2012-11-23 08:25:00 +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
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
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