c4-project / c4f

The C4 Concurrent C Fuzzer
MIT License
13 stars 1 forks source link

Add expression metadata #221

Open MattWindsor91 opened 3 years ago

MattWindsor91 commented 3 years ago

After one nightmarish attempt to hand-reduce a fuzzer expression too many, I'm once again considering adding metadata to expressions. This'll take quite a bit of heavy lifting even for the basic approach of changing t to 'm t.

My current thought process is that, instead of putting metadata on every sub-expression, we'd instead have a carrier expression (similar to an implicit block) that would coat the wrapped expression in some metadata. (Maybe, eventually, we'd backform the statement system so that it does the same?)