1
0
forked from GitHub/gf-core

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)
This commit is contained in:
john.j.camilleri
2012-11-21 15:24:44 +00:00
parent 8bd58a0297
commit 381dc3900c
3 changed files with 45 additions and 34 deletions

View File

@@ -19,8 +19,7 @@ An improved version of the [old syntax editor][1].
grammar: "http://localhost:41296/grammars/Foods.pgf",
startcat: "Kind",
languages: ["Eng","Swe","Mlt"],
ast: null,
node_id: null
abstr: "Pred (That Fish) Expensive"
},
show: {
grammar_menu: true,
@@ -33,7 +32,6 @@ An improved version of the [old syntax editor][1].
## TODO
- Link to jump into minibar
- Start with initial grammar, startcat, ast
- Compatibility with grammars with dependent category types
- Clicking on tokens to select tree node
- Use local caching