-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate more real-world
js code
#13
Comments
Hi! Good points! FYI: This package is mostly a wrapper around shift-fuzzer.
Aren’t the generated strings and regexps valid? Except this issue: shapesecurity/shift-fuzzer-js#14 |
I dont remember the exact regexps, but when i tried this package, the |
It could also mean that the regexps are valid but espree can’t parse them |
maybe the generated regexps are valid, but not supported in ES5? |
This package is generating very random code that can be very synthetic.
It will be nice to have an option that will produce more real-world js code.
For example:
use strict
in the middle of code, only common patterns to organize the codeI need this for fuzz testing of my package, that is working with the AST-tree, but currently, most of the code that is generated by
eslump
just break my package at theparse
(espree
)The text was updated successfully, but these errors were encountered: