Open masatake opened 2 months ago
I don't use -Q
directly so I can't say I have a good understanding of this proposal, but it do look useful for power users.
In https://github.com/universal-ctags/citre/issues/172 I planned to create an interactive tool to filter a tags file. I think I should support using filter/sorter expressions directly so power users could combine user-defined macros with the convenience of a client tool.
I'm enjoying using
-Q
.However, writing a long S expression on CLI is painful. Writing completion rules in zsh is a choice, but I don't have enough time.
So I'm thinking about the standard way of lisp programmer: introducing macros.
This one is for extracting exported names in C source files.
The
+
prepended toextern?
represents a request for the macro expansion. With this prefix, we can avoid conflict between user-defined macros and the built-ins we will introduce.@AmaiKinono, I would like to hear your comments.