Skip to content
This repository has been archived by the owner on Dec 9, 2017. It is now read-only.

serializing ASTs using JSON.stringify loses RegExp literals #25

Open
msridhar opened this issue Dec 13, 2013 · 0 comments
Open

serializing ASTs using JSON.stringify loses RegExp literals #25

msridhar opened this issue Dec 13, 2013 · 0 comments

Comments

@msridhar
Copy link
Contributor

Right now, code in instrumentDir.js serializes ASTs to disk using JSON.stringify(). But, this won't work for RegExp literals; see here. To fix, we can use a more general serialized representation than JSON, e.g., json-literal.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant