Yaegi
Interpret Go code inside another Go program.
traefik · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a new Go module, add github.com/traefik/yaegi at v0.16.3. Run a harmless sample arithmetic expression and read its integer result.
What we tested
v0.16.3. Run a harmless sample arithmetic expression and read its integer result. Interpreted the local Go calculation and returned the expected seven.