Changelog
February 2026
v0.2.0
Added
Language:
withstatement and context managers- Decorators (
@decorator),@property,@staticmethod, and@classmethod - Dunder methods:
__str__,__repr__,__len__,__bool__,__eq__,__lt__,__contains__,__iter__ - Dict comprehensions (
{k: v for k, v in ...}) - Set literals (
{1, 2, 3}) for/whileelseclausesmatchor-patternsint()now accepts a base argument for base conversion
New built-in functions:
next(),iter(),dir(),issubclass(),copy()
New standard libraries:
io—StringIOfor in-memory I/Ocontextlib—suppresscontext managerdifflib— LCS-based sequence comparison, unified diff,get_close_matches
Go API:
GetVarAsSet(name)— typed getter for set variablesGetVarAsTuple(name)— typed getter for tuple variablesEvalFile(path)— read and evaluate a script file directlyListVars()— returns a sorted list of variable names in the current environmentUnsetVar(name)— remove a variable from the environmentClone()— create an isolated interpreter that inherits library registrations but starts with a fresh environmentClassBuildergainsProperty,PropertyWithSetter, andStaticMethodfor registering Go-backed class members
CLI / TUI:
- Scripts that use
console.run()now launch a full TUI automatically; no separate flag needed console.set_labels()lets scripts customise the user/assistant labels shown in the TUI
v0.1.0
Initial pre-release of Scriptling.
Features:
- Python-like syntax with indentation-based blocks
- Core types: integers, floats, strings, booleans, lists, dictionaries, sets
- Control flow: if/elif/else, while, for loops, break, continue, match statements
- Object-oriented: Classes with single inheritance, methods, and constructors
- Functions, lambda, list comprehensions, error handling
- Background tasks with
scriptling.runtimefor concurrent execution - 25+ built-in libraries including JSON, regex, math, HTTP requests, subprocess
- Go integration with direct type mapping
- AI/LLM integration with OpenAI-compatible API support
- MCP (Model Context Protocol) server and client
- HTTP server with route registration
- Sandboxed execution with configurable security
- CLI tool with interactive mode, HTTP/MCP server, and built-in linter
- Extensible: create custom functions, libraries, and classes in Go or Scriptling
- Cross-platform binaries for Linux, macOS, and Windows