[parenscript-devel] Javascript parser for Common Lisp

Red Daly reddaly at gmail.com
Wed Jul 1 06:25:25 UTC 2009


Dear CL-JSON and Parenscript developers,

I have cloned a functional Javascript parser (from JWACS) and turned it into
its own project, which is fully functional but comes with a few annoyances.
However, I would appreciate some help coding to make js-parser into a clean
package.  There are two main issues that need addressing:

1.  There are a bunch of warnings about reduce/reduce conflicts in the
parser.  I couldn't immediately get them out, but I'm sure somebody with
more parsing experience should be able to fix the grammar.

2.  The project does not use the official, supported version of cl-yacc
available here http://www.pps.jussieu.fr/~jch/software/cl-yacc/  Instead it
packages its own version, which causes problems if you need the official
version of cl-yacc (e.g. closure xml).  Theoretically this is a simple
change but I don't know for sure.

Hopefully this project catches your fancy.  I have found a need for a
JavaScript parser a bunch of times, from a javascript-to-parenscript
converter to screen scraping.  Let me know if you would like to contribute.
The code is available here:
http://github.com/gonzojive/js-parser/tree/master

git clone git://github.com/gonzojive/js-parser.git


Very truly yours,

Red Daly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/parenscript-devel/attachments/20090630/7e04eaf3/attachment.html>


More information about the parenscript-devel mailing list