Skip to content

Repository files navigation

Panackelty

Workflow Branch Status
Core CI main Check status
Core CI next Check status
Nightly package build next Nightly status
Browser CI main Check status
Coverage checks main Coverage status

Exact arithmetic. Guarded types. Compiler explanations. Self hosted.

Panackelty is an evolving, statically checked programming language. It combines arbitrary-precision integers and exact rational and decimal arithmetic with guarded domain types, explicit effects, structured data, and a portable bytecode VM. The panack explain command shows evidence for selected natural-number subtraction proofs and local call/await effect boundaries. Successive self-hosted compiler builds are checked for byte-identical output.

The name comes from panackelty, a traditional North East English dish particularly associated with Sunderland and County Durham. It brings meat and vegetables together in one pan; Panack is also the name of this project's command-line tool.

A home-cooked plate of panackelty with beef, potatoes, carrots, and peas in gravy

A home-cooked plate of panackelty, the North East English dish behind the name. Photograph by the project author, licensed under CC BY 4.0.

Website · Documentation · Examples · Roadmap · Contributing

Alpha.16

Alpha.16 adds anonymous functions and immutable retained closures, including HTTP/TCP callbacks. panack explain shows capture decisions and their binding origins. Ordinary and async State modules provide shared cells with pure, atomic updates. See the anonymous functions, closures and State guide for examples. The default installer and public downloads select alpha.16.

Get started

Latest native release: 0.1.0-alpha.16. Available for Ubuntu 22.04+ x86-64 and macOS 15+ Apple silicon. This is a developer preview: source APIs and bytecode may change between releases.

  1. Install the release, with checksum verification.
  2. Take the language tour and run the examples.
  3. Use the toolchain to check, compile and explain programs.

Alpha.15 adds locked local, HTTPS and Git dependencies, validated domain types, and interactive compiler explanations with source and instruction provenance. It also includes the routed HTTP server framework, HTTP clients and static file server. Read the release notes and compatibility policy.

Alpha.14 includes type-owned methods for records, enums and built-in types. The alpha.14 compiler uses owned dot calls, without receiver-to-global fallback; the temporary arrow syntax is removed.

For migration from earlier releases, see the type-owned method migration guide and P15 consumer acceptance. Runnable owned and generic method examples show custom APIs, Map coexistence and typed callbacks.

Alpha.15 provides explicit locks and local, archive and Git dependencies through a separate package tool written in Panack. Package diagnostics explain failures, show dependency context and guide safe recovery. Run panack deps --help for lock, update and restore guidance, including offline behaviour. Its generic host APIs also provide exact-environment process launch and confined symbolic-link operations; see the standard-library contracts. Git dependencies support pinned HTTPS commits and shared repository subdirectories. The generic HTTP-stream transport supports bounded blocking reads for command-line consumers. The installed package workflow includes both tools; final acceptance covers all four source forms together, relocation and offline builds.

In alpha.16, panack compile --incremental main.panack -o main.bc reuses successful work between separate invocations. Panack manages the local cache; ordinary compilation remains available without the option. See one-shot incremental compilation for current reuse boundaries and costs.

Explore

Since alpha.15, a function query in a terminal opens the interactive compiler explorer: panack explain program.panack --function main. Choose a source statement, inspect its decisions and follow supporting source. Use --text immediately after explain for the plain report. See the explanation guide. This command checks the program without running it.

I want to… Start here
Understand the language Language specification
Find standard-library APIs Standard library
Use HTTP in a program HTTP package
Serve a directory HTTP server tool
Understand local packages Package roots and manifests
Understand compiler decisions Compiler explanations
Build the compiler Development guide
Understand the implementation Architecture
See what is planned Roadmap

Contribute

See contributor guidance for the development workflow and security policy for reporting vulnerabilities. Panackelty is MIT licensed; the photograph has its own attribution above. The native digest adapter uses OpenSSL 3 or later under Apache 2.0. Archive collision tables use Unicode data.

Alpha.16 async stdlib APIs are described in the stdlib guide, with a complete HTTP uptime example. Install the matching compiler, VM and standard library together.

Releases

Contributors

Languages