*
* 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..
*
*
*/
keepComments : true,
sepIdents : false,
collapseWhite : true,
- filename : args[0]
+ filename : args[0],
+ ignoreBadGrammer: true
});
var str = File.read(args[0])
var rf = new RooFile(toks);
-//print(JSON.stringify(rf.tokens, null,4));
+//print(JSON.stringify(rf.tokens, null,4));Seed.quit();
+
+
+
+
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')));
+print(File.read(args[0].replace(/\.js$/,'.bjs')));