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

Polyfill-based transformation library #18

Open
westonpace opened this issue Jan 16, 2024 · 0 comments
Open

Polyfill-based transformation library #18

westonpace opened this issue Jan 16, 2024 · 0 comments

Comments

@westonpace
Copy link
Owner

Discussions have come up in the past that we might want something like the following:

Starting with a source expression (coming from some producer) and a list of supported functions (from some consumer) simplify an expression so that it can run on the consumer by replacing unknown functions with known functions using a polyfill. For example, if a consumer does not know about the "between" function but it does know "<, <=, >, >=, AND" then you can replace between with those operators.

Generally such a discussion is accompanied by the idea of creating a library of these "polyfills" in some kind of format / extensible fashion (e.g. yaml files?)

So this module would be something that takes in an expression, a library of polyfills, and a desired output state and generates the output state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant