summaryrefslogtreecommitdiff
path: root/src/runtime/javascript/editor-grammar
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2010-11-25 18:30:30 +0000
committerhallgren <hallgren@chalmers.se>2010-11-25 18:30:30 +0000
commit75ad59b1217e4b81d19fed6eadf4fc80d3ebd2f1 (patch)
treea407071cf99ca2b8eccadf3387f2062be5db119a /src/runtime/javascript/editor-grammar
parent243a0b3659f85b27af2bb5e0c884aca0c720c8a7 (diff)
pgf-server: more useful JSON output from lineraizeAll
Example: Request: http://www.grammaticalframework.org:41296/grammars/Quiz.pgf?command=linearizeAll&tree=Run+YouPl Response: [{"to":"QuizEng","texts":["you run"]}, {"to":"QuizSwe","texts":["ni l??per","ni springer"]}] Compared to the old command linearize: Request: http://www.grammaticalframework.org:41296/grammars/Quiz.pgf?command=linearize&tree=Run+YouPl' Response: [{"to":"QuizEng","text":"you run"}, {"to":"QuizSwe","text":"ni l??per"}]
Diffstat (limited to 'src/runtime/javascript/editor-grammar')
0 files changed, 0 insertions, 0 deletions