Documentation

Scriptling is a minimal, sandboxed interpreter for Python-like scripting designed for embedding in Go applications. Use the sections below to get started, integrate with Go, or explore tutorials.

Choose by task

  • Learn the language: Start with the Language Guide, then use its syntax, types, control-flow, function, and class references.
  • Use the command line: Follow the CLI Guide for scripts, packages, policies, and runtime options.
  • Embed Scriptling in Go: Use Go Integration to create an interpreter and expose host functions, classes, and libraries.
  • Run a server: Choose the CLI guide for HTTP, JSON-RPC, MCP, or plugin server modes.
  • Find a library: Browse the Library Reference by capability and check registration requirements for your runtime.
  • Build or use plugins: Start with the Plugins Guide for supported plugin models and host integration.
  • Connect to a database: Choose a driver or ORM from the Database Libraries.

Guides

Tutorials

Step-by-step guides for real-world scenarios:

Reference

For language syntax, built-in functions, and library APIs, see the Reference section.