jethrogb / rust-cexpr

A C expression parser and evaluator
Apache License 2.0
45 stars 19 forks source link

Allow parsing cast expressions. #33

Open reitermarkus opened 2 years ago

reitermarkus commented 2 years ago

Revival of https://github.com/jethrogb/rust-cexpr/pull/15.

dpaoliello commented 1 year ago

@emilio @reitermarkus Would either of you be opposed to creating a fork of this PR minus the dependency on the new clang-sys and associated test changes?

reitermarkus commented 1 year ago

@dpaoliello, I have given up on cexpr since it is way too limited. I have written a replacement (cmacro-rs) which supports much more complex macros.

Sadly no one has reviewed my PR at https://github.com/rust-lang/rust-bindgen/pull/2369 replacing cexpr with cmacro yet. Would love to get some feedback on it.