microsoft / microsoft/Power-Fx
Use built-in functions in a custom Engine, without instantiating RecalcEngine
@MikeStall is already working on this.
Since Mar 2, 2023.
- Dominant language
- C#
- Stars
- 3.4k
- Forks
- 358
- Avg merge
- 10h 34m
- Merged PRs (30d)
- 3
Description
We want to create our own custom Engine instead of using RecalcEngine, but we'd still like to use some of the built-in functions provided in the internal library:
Can we provide something like ReadOnlySymbolTable.NewDefault() to allow us to obtain the functions without creating RecalcEngine as a throwaway, intermediate resource?
Or even better, perhaps something like SymbolTable.NewDefault(), so we can modify the set without having to call GetMutableCopyOfFunctions first to selectively remove the ones we don't want.
If there's a problem with it because SymbolTable is in Core and the library is in Interpreter... then maybe a CreateNewDefaultSymbolTable() in PowerFxConfigExtensions.cs
Thanks :)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.