Hi Francisco,

I re-ran your tests:

Parser/Test     jquery.js     apf_debug.js
------------------------------------------
language-opt    5452/320M        5611/925M
language.js     5498/320M        5596/828M
PEG.js         61780/041M     >900000/  ??
Narcissus        723/035M   SyntaxErr/  NA
jison           2900/057M   SyntaxErr/  NA

Because of missing error messages I am assuming that language.js succeeds for whole apf_debug.js.

Memory is measured with /usr/bin/time, language-opt means with optimizations branch. Machine: Fedora Linux 2.6.38.8-35.fc15.x86_64; node: v0.4.1, v8: 3.0.0.1.

I am pretty slow with grammar transformations, but will give a try to generate LPEG grammars from these in language.js and PanPG and LPEG results next days.

Kind regards,
Alek

P.S.: You can fix:

--- a/Narcissus/run.js
+++ b/Narcissus/run.js
@@ -1,7 +1,7 @@

 require("fs").readFile(process.argv[2], function(err, data)
 {
-    var parser = require("./Narcissus/lib/parser");
+    var parser = require("./narcissus/lib/parser");

     var start = new Date();
     result = parser.parse(data.toString());

_______________________________________________
PEG mailing list
PEG@lists.csail.mit.edu
https://lists.csail.mit.edu/mailman/listinfo/peg

Reply via email to