4 ms·
Can you use Starlark inside Python? We have a rules engine where we'd like the rules themselves to be maintained outside the regular codebase, but we'd rather n
by ForHackernews 2y ago
Can you use Starlark inside Python? We have a rules engine where we'd like the rules themselves to be maintained outside the regular codebase, but we'd rather not invent a new DSL for them.
- laurentlb 2y agoYes, you can try these bindings: - https://github.com/caketop/python-starlark-go https://github.com/caketop/python-starlark-go - https://github.com/inducer/starlark-pyo3 https://github.com/inducer/starlark-pyo3 (I haven't tried them myself)