Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

add "power" matching#147

Merged
mgeplf merged 7 commits intomasterfrom
power-matching
Jun 17, 2021
Merged

add "power" matching#147
mgeplf merged 7 commits intomasterfrom
power-matching

Conversation

@mgeplf
Copy link
Contributor

@mgeplf mgeplf commented Jun 7, 2021

No description provided.

@mgeplf mgeplf added the WIP work in progress label Jun 7, 2021
@mgeplf
Copy link
Contributor Author

mgeplf commented Jun 7, 2021

@matz-e you're welcome to read this, I still have to up the coverage, and fix some of the build checks.

Copy link
Member

@matz-e matz-e left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, I think these are my initial 0.02 BTC. I've reached my mental call-graph reconstruction capacity, so I'm sorry if some of these don't make sense.

case Op::regex:
return "$regex";
default:
throw SonataError("Not Implemented NodeSetBasicOperator");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be formatted like above

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I let clang-format work its magic

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant with fmt::format, sorry, not very clear.

mgeplf added 2 commits June 8, 2021 13:20
* also added macro to declare something shouldn't be reached
@mgeplf mgeplf removed the WIP work in progress label Jun 15, 2021
@mgeplf mgeplf requested review from matz-e and tomdele June 15, 2021 13:24

static const char *__doc_bbp_sonata_NodePopulation_matchAttributeValues_2 = R"doc(Like matchAttributeValues, but for vectors of values to match)doc";

static const char *__doc_bbp_sonata_NodePopulation_regexMatch = R"doc()doc";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No documentation?

Also, should we explicitly mark these as extensions to the SONATA™ spec? Or is there an upstream PR amending this situation already?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, need to add the doc...I will do that.

I think it's worth doing a PR upstream to the docs, at least so ppl can read about the feature

@mgeplf mgeplf merged commit 4795217 into master Jun 17, 2021
@mgeplf mgeplf deleted the power-matching branch June 17, 2021 11:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants