c4-project / c4f

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

Separate ‘litmus C’ language from C emitter #180

Open MattWindsor91 opened 4 years ago

MattWindsor91 commented 4 years ago

As part of our plan to support C++ in act, for transactional memory investigation, I propose that we rearchitect the parser/emitter for C such that they instead target a distinct language (which I’m tempted to call phenolphthalein), and maintain a separate emitter (not a parser!) for the C output of delitmusing.

This would allow for a few new advances:

We could imagine targeting an external C/C++ AST such as Clang’s, but I imagine the support of transactions might make this in feasible.

I’m unsure as to how the various C-like ASTs would share common ground yet.