ZuzuScript

ZuzuScript is a readable scripting language for automation, data wrangling, command-line tools, and small web-facing services.

function greet ( String name ) {
	say `Hello, ${name}!`;
}

greet( "world" );

let values := [ 1, 2, 3, 4 ];
say values.map( fn x → x * 2 );

Readable

Gentle syntax, predictable behaviour, and code that stays easy to revisit.

Practical

Useful built-ins, modules, structured data, and path queries for everyday scripting.

Try It

Documented

User guide, documented std lib modules, etc.

Read the Guide

What Else is ZuzuScript Like?

Perl / Raku

ZuzuScript has a Perl-family feel, but with a cleaner and more compact surface. Features such as say, die, next, last, regex literals, contexts, and lexical variables should make Perl programmers feel at home. The first ZuzuScript implementation was written in Perl, so ZuzuScript inherited a lot of semantics from Perl.

JavaScript / TypeScript

The day-to-day syntax also resembles JavaScript and TypeScript: braces, semicolons, let, const, object and array literals, new Class(...), method calls, callbacks, async function, await, and task composition all look familiar from that world. ZuzuScript will happily run rght in your browser too.

Python

Like Python, ZuzuScript is great for small useful programs, automation, CLI tools, data transforms, text munging, web handlers, and readable scripts that can grow into modules when needed. The module import syntax should be familiar too.

JSONPath / XPath / jq

Paths and queries are a first class concept in the language with dedicated operators to query and mutate nested data structures and objects using path-like expressions.

GitHub logo

ZuzuScript is Free Software

ZuzuScript is free and open source software. The source code is available from github.com/zuzuscript.