comby icon indicating copy to clipboard operation
comby copied to clipboard

Matching expression lists

Open elfring opened this issue 3 years ago • 2 comments

Some programming languages support functions (or macros) for which varying parameters can be specified. These parameters get filled with data according to various code constructs. :crystal_ball: How are the chances to handle such lists for passed expressions by the means of named matches?

elfring avatar Oct 03 '21 19:10 elfring

I think chances are pretty low to support that unfortunately. There's quite a lot of things I'd like to add/improve and adding a scripting language with functions/macros is probably quite a big undertaking. I would say right now, it is better to use comby to capture results and export these to a format, that can be consumed by a script or external program

rvantonder avatar Oct 06 '21 04:10 rvantonder

… and adding a scripting language with functions/macros …

I suggest to clarify this view a bit more.

…, that can be consumed by a script or external program

I would appreciate if more matching approaches would become supported also by the means of your tool (besides regular expressions for source code parts) for further collateral evolution.

elfring avatar Oct 06 '21 07:10 elfring