This repository has been archived by the owner on Sep 15, 2021. It is now read-only.
forked from pauljt/scanjs
JS parsing and AST generation should be easier to switch out. #155
Comments
Test |
After, looking more closely at it I think it would be better to allow parser setting in Scan.JS.scan. Mainly because the rules are also parsed in the scan.js file |
callicles
added a commit
to callicles/scanjs
that referenced
this issue
Aug 14, 2014
callicles
added a commit
to callicles/scanjs
that referenced
this issue
Aug 14, 2014
Mhh, I'd prefer some stronger sort of separation. I guess we'll have to ditch acorn.walk for that. :) |
callicles
added a commit
to callicles/scanjs
that referenced
this issue
Aug 17, 2014
callicles
added a commit
to callicles/scanjs
that referenced
this issue
Aug 17, 2014
callicles
added a commit
to callicles/scanjs
that referenced
this issue
Aug 17, 2014
…ixed a js rule not parsing correctly
callicles
added a commit
to callicles/scanjs
that referenced
this issue
Aug 17, 2014
callicles
added a commit
to callicles/scanjs
that referenced
this issue
Aug 17, 2014
Merged
callicles
added a commit
to callicles/scanjs
that referenced
this issue
Aug 25, 2014
closed #156 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
in order to run scanjs in different environments (server side, in firefox itself, etc.) it would be nice if ScanJS.scan took an ast instead of the source code string.
@callicles has suggested to take a stab at it. Thanks :)
The text was updated successfully, but these errors were encountered: