rconv.js
[gnome.introspection-doc-generator] / rconv.js
index fa8c46c..f26e79e 100644 (file)
--- a/rconv.js
+++ b/rconv.js
@@ -2,7 +2,9 @@
  *
  * This is a test file to convert appbuilder style application code
  *  into javascript structures.
- * 
+ *
+ *
+ * Needs to test a while directory convert to-><-from and compare..
  *
  *
  */
@@ -38,13 +40,23 @@ var tr = new  TokenReader(  {
 var str = File.read(args[0])
 
 var toks = tr.tokenize(new TextStream(str));  
+print(JSON.stringify(toks, null,4));Seed.quit();
 
 
 var rf = new RooFile(toks);
-//print(JSON.stringify(rf.tokens, null,4));
+
+
+
+
 rf.parse();
 
+print("------------ in ------------------");
+print(str);
+print("------------ out ------------------");
+
 print(JSON.stringify(rf.cfg, null,4));
 
+print("------------ was ------------------");
+
 print(File.read(args[0].replace(/\.js/,'.bjs')));