Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Add ability to write custom functions with JS #119

Open
max-prtsr opened this issue Oct 2, 2023 · 0 comments
Open

Add ability to write custom functions with JS #119

max-prtsr opened this issue Oct 2, 2023 · 0 comments

Comments

@max-prtsr
Copy link

I would like to have something like

const functions = {
    JOIN: (arr) => arr.join(', ')
}
const parser = compile('COUNT({1, 2, 3`, functions)({})
/// 1, 2, 3
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant