Release notes
What changed in each version of CP Lang, generated from CHANGELOG.md.
0.3.0 (unreleased)
The 0.3.0 language is specified but not yet implemented. Its normative
source is spec/; spec/STATUS.md says how far the work has got.
Language
- Enum variants are PascalCase:
Some,None,Anchor.Start. In a pattern, a capitalised name is a variant and a lowercase name binds (decision 157). - Memoized functions use
@cacheinstead of@memo. - Decorators go before
pub:@get pub fn. -\> lends Talways has the arrow.
Library
- The library is respecified in
spec/std/: about 1,700 documented signatures, each with its cost. Bodies aretodountil the library is built. - Prefix sums and Fenwick trees answer range queries with
fold(r), notsum. - Substring search is
s.search(p)ands.rsearch(p);findandrfindtake predicates only. collect()andsorted()return aListkeyed from 0.- New general mechanisms found by porting 100 real problems:
buckets,read_all,pieces,closureandtry_from_parents(decisions 158 to 165).
Breaking changes
nonebecomesNoneandsomebecomesSome. The 0.2.2 compiler already accepts both spellings.@memobecomes@cache.
0.2.2 (2026-11-20)
The first numbered release of the language and its toolchain.
Tools
cpl:check,fix,run(the debug interpreter),build(one C++17 file to submit),fmt,lint,explainanddoc.- Contest workflow:
new,test,watch,bench,stress(against a brute, shrinking the failing case),profile,coverandsubmit. - Judge profiles for generic C++17, Codeforces, AtCoder, CSES, ICPC and
more, selected per file or project (
cpl judges). cpl lspfor every editor, with support for VS Code, Neovim, Helix, Zed, Emacs and JetBrains IDEs ineditors/;cpl dapfor time-travel debugging.- A WASM build of the compiler that runs in the browser.