caketop/python-starlark-go

Add API for compiled expressions

Opened this issue · 1 comments

Implement an API similar to re.compile that allows compiling programs once and then repeatedly evaluating them against different inputs.

Relevant Starlark docs: https://pkg.go.dev/go.starlark.net/starlark#Program

This would be fantastic to have!