coderkalyan / coderkalyan/femtoc

ast: testing and fuzzing

Open
#50 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Zig
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The parser needs (thorough) testing, currently there is none. Ideas include trying to match the generated AST data to a known format (yaml, etc) and/or rendering the generated AST data back to text (already supported by render.zig) and comparing the result to the original.

It would also be nice to fuzz the parser. This will take some more thought.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining the parser and the generated AST, then read render.zig to understand the existing AST-to-text path. Define a focused round-trip or known-format test strategy before tackling fuzzing, since the issue leaves the scope open. Done means the parser has thorough automated coverage and a considered fuzzing approach.

Written by the indexing model from the issue text.

Assessment

Tech stack
zig
Domain
compilers, testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.