Follow

Idea: cq

It's like jq but instead of JSON it's the C AST

@tedu hm, this doesn't look like what I have in mind tbh

@sir I'm really not sure what you'd do with a cq tool.

@tedu find and rename all references to a function, for example

@sir instead of that, it might be easier to turn the C AST into JSON, use jq for transforms and then turn it back to C

@sir
Idea: `q` it's like `jq` but instead of expecting JSON, it tries several formats in order (order can be specified in `~/.q`).

Sign in to participate in the conversation
Mastodon

cmpwn.com is a private Mastodon instance for friends of SirCmpwn.