Skip to content

parser: add proptest round-trip fuzzing for AST pretty-printing#64

Merged
Alonely0 merged 1 commit into
uutils:mainfrom
Franklin-Qi:feature-task#41-Parser-fuzzing
Jul 8, 2026
Merged

parser: add proptest round-trip fuzzing for AST pretty-printing#64
Alonely0 merged 1 commit into
uutils:mainfrom
Franklin-Qi:feature-task#41-Parser-fuzzing

Conversation

@Franklin-Qi

Copy link
Copy Markdown
Contributor

Add a proptest-based alternative to libFuzzer for aarch64-friendly round-trip testing: generate random programs, materialize them into ASTs, pretty-print via Display, re-parse, and compare s-expr signatures.

Includes a hand-written AST generator, smoke tests, and proptest regression seeds.

Closes #41

Add a proptest-based alternative to libFuzzer for aarch64-friendly
round-trip testing: generate random programs, materialize them into
ASTs, pretty-print via Display, re-parse, and compare s-expr
signatures.

Includes a hand-written AST generator, smoke tests, and proptest
regression seeds.

Closes uutils#41
@Franklin-Qi Franklin-Qi force-pushed the feature-task#41-Parser-fuzzing branch from 6f8d320 to 09f3b43 Compare July 6, 2026 09:34
@Alonely0

Alonely0 commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

I really want to get this reviewed soon, I promise :)

My backlog grows quicker than I can get to it... Tomorrow I'll try to take down my review queue for uutils coreutlis and get to this. If I have the time, I'll take down a few trivial parser issues I have noted locally, or otherwise open them in the issue tracker.

@Franklin-Qi

Copy link
Copy Markdown
Contributor Author

I really want to get this reviewed soon, I promise :)

My backlog grows quicker than I can get to it... Tomorrow I'll try to take down my review queue for uutils coreutlis and get to this. If I have the time, I'll take down a few trivial parser issues I have noted locally, or otherwise open them in the issue tracker.

Thank you very much for your review. Don't worry, you can submit any issues you find when you have time, and I will process them promptly. Let's work together to improve the awk project.

@Alonely0 Alonely0 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code itself looks great, tysm! The only nitpick I have is workspace organization, I think it's a bit all over the place for my taste, with three different modules for related to testing. I can handle that small refactoring, tho :)

@Alonely0 Alonely0 merged commit 56449a1 into uutils:main Jul 8, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parser: fuzzing

2 participants