plugin format specifiers #1336

Open
mrexodia opened this Issue Dec 1, 2016 · 0 comments

Projects

None yet

1 participant

@mrexodia
Member
mrexodia commented Dec 1, 2016

allow plugins to register their own (parameterized) format specifiers. See string formatting for documentation.

Current ideas include:

{myFormatter(arg1, argN...):expression}

And:

{myFormatter@arg1@argN:expression}

The latter has massive readability issues, the former is annoying to properly support considering that arguments could be expressions so it requires parsing.

Use case: trace/log plugins that want to log custom data without having to go deep in breakpoint/trace callbacks.

@mrexodia mrexodia added the feature label Dec 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment