summaryrefslogtreecommitdiff
path: root/src/www/syntax-editor
AgeCommit message (Collapse)Author
2015-05-21Fixed a problem with minibar when invoked from gfse or the syntax editorhallgren
Minibar needs js/langcode.js now, so need to include it in gfse/index.html and syntax-exitor/editor.html too.
2013-08-13Syntax editor: minor CSS fixjohn.j.camilleri
2013-07-25RGL Browser: now includes Syntax Editor tab!john.j.camilleri
2013-06-13Syntax editor: minor CSS tweak to resemble Minibar morejohn.j.camilleri
2013-06-13Syntax editor: AST string always shown, remove export buttonjohn.j.camilleri
2013-04-12GF cloud: work on syntax editor integrationhallgren
+ The syntax editor is now accessible from the Simple Translaton Tool. + The minibar now automatically provides access to the syntax editor (provided the necessary JavaScript files and style sheets have been loaded). + Preparations for making the syntax editor accessible from the grammar editor.
2013-04-12syntax editor: fix references to global object 'server'hallgren
2013-04-12minibar/syntax editor integration fixeshallgren
When starting from the minibar, the selected set of target languages is now preserved when switching back and forth.
2013-04-04minibar/syntax editor integration improvementshallgren
Work in progress on preserving the start category and selected target languages when switching between the minibar and the syntax editor.
2013-01-11Syntax editor: initial support for string literalsjohn.j.camilleri
Also a bug fix when switching to editor, although this still messes up when using the letters grammar. Also updated readme with options, and some style improvements.
2013-01-11Syntax editor: add tooltips to buttonsjohn.j.camilleri
2012-12-11Syntax editor: unwrap featurejohn.j.camilleri
2012-12-11Syntax editor: link to about pagejohn.j.camilleri
2012-12-11Syntax editor: add about.html (and a Makefile for generating it)john.j.camilleri
2012-12-07Syntax editor: change startcat when wrapping top nodejohn.j.camilleri
2012-12-07Syntax editor: various small improvements...john.j.camilleri
- separate tree edit buttons from option buttons - fix bug when wrapping on freshly imported ast - add interface for import & export of ast - cleaner internal implementation of Editor.add_refinement - small style updates
2012-12-04Syntax editor: wrap now handles multiple possible positions for subtreejohn.j.camilleri
2012-12-03Syntax editor: add wrap featurejohn.j.camilleri
2012-11-30Syntax editor: internal optimizations by pre-computing certain stuffjohn.j.camilleri
2012-11-30Syntax editor: in-place replacement of functionsjohn.j.camilleri
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-29Syntax editor: internal improvements. re-introduce initialize_from functionjohn.j.camilleri
2012-11-27Syntax editor; add new helper for parsing type signatures (not complete)john.j.camilleri
2012-11-27Syntax editor: add options for GM in editor_online.jsjohn.j.camilleri
2012-11-27Syntax editor: avoid server calls for each refinement by using cached datajohn.j.camilleri
2012-11-27Syntax editor: improvements and fixes with grammar managerjohn.j.camilleri
2012-11-23Syntax editor: now uses common GrammarManager objectjohn.j.camilleri
2012-11-23syntax editor + minibar: fix bug with repeated switching back and forthhallgren
By avoiding "this" in callback functions, the code can be kept cleaner.
2012-11-23Syntax editor: return to editor after having switched to minibarjohn.j.camilleri
2012-11-22minibar: can now switch back to the minibar after switching to the syntax editorhallgren
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-22Syntax editor: can now load minibar (in-place) from a linearised treejohn.j.camilleri
2012-11-21minibar+syntax editor integration, work in progress 2hallgren
+ 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-21Syntax editor: start with initial ASTjohn.j.camilleri
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-21minibar+syntax editor integration, work in progresshallgren
2012-11-21Syntax editor: start with initial grammar, startcat, to: languagesjohn.j.camilleri
2012-11-20Syntax editor: update to use common js filesjohn.j.camilleri
2012-11-20Syntax editor: random generation of trees (and subtrees!)john.j.camilleri
2012-11-16Syntax editor: work on importing AST as string (eg for generate random)john.j.camilleri
But it's still not complete. Need an efficient way of getting the cat info to accompany funs.
2012-11-16Syntax editor: select subset of available languagesjohn.j.camilleri
Also added a basic readme file with a list of todo's
2012-11-15Syntax editor: jump to next hole in treejohn.j.camilleri
2012-11-15Syntax editor: fix bug in Firefox, Seamonkeyjohn.j.camilleri
2012-11-13Add first demo of new syntax editorjohn.j.camilleri
As part of the GF cloud stuff, it can be accessed from http://cloud.grammaticalframework.org/syntax-editor/editor.html