tengo
« Back to VersTracker
Description:
Fast script language for Go
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: scripting golang language embedded bytecode
Install: brew install tengo
About:
Tengo is a small, dynamically typed script language for Go with an emphasis on performance and safety. It compiles to bytecode, allowing it to run in embedded environments and within Go applications. Its primary value is enabling safe, fast user-defined configuration and logic without the overhead of a full interpreter.
Key Features:
  • Compiles to bytecode for fast execution
  • Sandboxed and secure for user-defined scripts
  • Statically typed with type inference
  • Seamless interoperability with Go
  • Small, embeddable runtime
Use Cases:
  • Embedding user-customizable rules and logic into Go applications
  • Safe execution of untrusted code for configuration
  • High-performance alternative to JSON or YAML for complex configs
  • Scripting automation tasks within Go programs
Alternatives:
  • Go-Lang – Go is a compiled systems language; Tengo is an embeddable scripting language for logic/configuration.
  • Lua – Lua is a widely used embeddable language; Tengo offers Go-native syntax and static typing.
  • Starlark – Starlark is used for build configurations; Tengo is optimized for general-purpose scripting in Go apps.
Version History
Detected Version Rev Change Commit
Sep 12, 2025 3:45am 0 VERSION_BUMP 8f40f4ad
Sep 12, 2024 11:25pm 0 VERSION_BUMP 3d92c0e3