From 5c8c1f768fae242ba659d4b6a3696336042e0b1c Mon Sep 17 00:00:00 2001 From: "john.j.camilleri" Date: Tue, 13 Nov 2012 15:14:49 +0000 Subject: 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 --- src/www/index.html | 3 +- src/www/syntax-editor/editor.html | 43 +++++ src/www/syntax-editor/js/ast.js | 131 +++++++++++++ src/www/syntax-editor/js/editor.js | 216 +++++++++++++++++++++ src/www/syntax-editor/js/editor_menu.js | 153 +++++++++++++++ src/www/syntax-editor/js/pgf_online.js | 80 ++++++++ src/www/syntax-editor/js/support.js | 329 ++++++++++++++++++++++++++++++++ src/www/syntax-editor/ui/style.css | 64 +++++++ 8 files changed, 1018 insertions(+), 1 deletion(-) create mode 100644 src/www/syntax-editor/editor.html create mode 100644 src/www/syntax-editor/js/ast.js create mode 100644 src/www/syntax-editor/js/editor.js create mode 100644 src/www/syntax-editor/js/editor_menu.js create mode 100644 src/www/syntax-editor/js/pgf_online.js create mode 100644 src/www/syntax-editor/js/support.js create mode 100644 src/www/syntax-editor/ui/style.css (limited to 'src') diff --git a/src/www/index.html b/src/www/index.html index df50c4dbe..c1e62bf45 100644 --- a/src/www/index.html +++ b/src/www/index.html @@ -13,6 +13,7 @@