Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntactic shortcuts for alias #169

Open
rbossy opened this issue Aug 18, 2023 · 2 comments
Open

Syntactic shortcuts for alias #169

rbossy opened this issue Aug 18, 2023 · 2 comments

Comments

@rbossy
Copy link
Member

rbossy commented Aug 18, 2023

Omit parameter alias name if it is the same

<param name="source">
    <alias module="read" param="source"/>
</param>

could be written as:

<param name="source">
    <alias module="read"/>
</param>

Shortcut for corpus SetFeature pattern

<param name="foo">
    <alias module="set-feature" param="value"/>
</param>

<set-feature class="SetFeature">
    <target>$</target>
    <feature>bar</feature>
</set-feature>

could be shortened as:

<param name="foo">
    <feature key="bar"/>
</param>

The PlanLoader would insert the SetFeature module with a generated name.

@rbossy
Copy link
Member Author

rbossy commented Sep 8, 2023

45a1c23

@rbossy
Copy link
Member Author

rbossy commented Oct 26, 2023

Plan parameters of type Expression that would be available as user:something.

@rbossy rbossy closed this as completed Nov 6, 2023
@rbossy rbossy reopened this Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant