You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ability to generate code without any early errors.
The fact that shift-fuzzer doesn't do this already is a bug, but not one I'm likely to get around to fixing for a while yet. In the mean time, though, you can use shift-validator to confirm that the generated ASTs represent real programs. Its default export tells you if an AST is valid. If you generate an invalid one, you can just re-roll.
Depending on the setup this might be slower than just letting the consumer choke the invalid programs, but it's an option to consider.
The text was updated successfully, but these errors were encountered:
I saw in the readme
The fact that shift-fuzzer doesn't do this already is a bug, but not one I'm likely to get around to fixing for a while yet. In the mean time, though, you can use shift-validator to confirm that the generated ASTs represent real programs. Its
default
export tells you if an AST is valid. If you generate an invalid one, you can just re-roll.Depending on the setup this might be slower than just letting the consumer choke the invalid programs, but it's an option to consider.
The text was updated successfully, but these errors were encountered: