Commit Graph

19 Commits

Author SHA1 Message Date
bjorn
03660714f1 Use Food grammar as the example grammar.js. 2008-08-12 19:35:05 +00:00
bringert
24e609189f Started working on a JavaScript translator. 2008-08-12 15:56:24 +00:00
bjorn
b043de5529 Handled undefined children in the gflib.js Fun.show() function.
This shouldn't really happen, but if it does, debugging is much easier.
2008-06-17 11:06:46 +00:00
bjorn
a0d29773a6 Added all the syntax editor files from Moises.
This is the version that he sent to me on Fri, Apr 11, 2008 at 2:42 PM. I'm not sure if this is the latest version.
2008-06-16 17:42:20 +00:00
bringert
1eca0da869 Added gflib-xhtml-voice.js which contains some XHTML+Voice functions. 2007-04-21 21:46:48 +00:00
bringert
d8cf83d98f Added a simple unlexer in the JavaScript library. 2007-02-20 12:54:12 +00:00
bringert
979a54af35 Rename children to args in VoiceXML/SISR/JavaScript. 2007-01-22 20:48:14 +00:00
bringert
bb7eb9f78d JavaScript: fixed bug when linearization overwrote the children of the abstract syntax node, since getChildren now returned the actual array of children. 2007-01-07 18:31:48 +00:00
bringert
d549ce6256 JavaSscript and SISR abstract syntax now uses an array for the node children, instead of cheesy argN fields. 2007-01-07 17:18:50 +00:00
bringert
a47a95b4e2 JavaScript lib: fixed bug where an integer was returned by print(). 2007-01-04 22:27:38 +00:00
bringert
988772ba37 JavaScript lib: allow children as arguments to Fun. 2007-01-04 22:01:38 +00:00
bringert
95d4af1f2d Meta variables are now treated as functions with name ? in SISR, VoiceXML and JavaScript linearization. VoiceXML now returns the partial result when update() is false. 2006-12-21 16:48:46 +00:00
bringert
e8b8185e04 Generate JavaScript type annotator. Use lindef in JavaScript. 2006-12-21 00:01:45 +00:00
bringert
35c4302e48 Added dumpObject to gflib.js. 2006-12-15 21:00:21 +00:00
bringert
9e559bb7d5 Fixed Suffix-table bugs in gflib.js. 2006-12-15 19:31:24 +00:00
bringert
3cf9e25225 JavaScript: change Fun.toString to print(). Metavariables in abstract syntax are now Funs with name ? 2006-12-15 17:25:45 +00:00
bringert
0ef8dced52 Include update function in generated VoiceXML. Generated linearization javaScript now uses the same abstract syntax representation as SISR. 2006-12-15 16:08:39 +00:00
bringert
5a5a05df95 Fixed warning sand extra spaces in linearization in gflib.js. 2006-12-06 14:11:01 +00:00
bringert
f46c848b7e Made generated JavaScript more object-oriented. Moved common JS stuff to lib/javascript/gflib.js 2006-12-06 13:52:24 +00:00