Repository navigation
Releases
Releases · pelagolang/pelago
Pelago nightly
commit: e3c3518
version: 0.1.0-nightly.20261126+e3c3518
Rolling nightly build of main (last 14 builds are kept as assets). Not for production use.
Breaking changes
- native: make the machine IR the default code generator (#187) (c0a3be3)
- core: name library functions in camelCase (#132) (6214eda)
Features
- std: widen io_kind and add the OS error number to io_error (#340) (e3c3518)
- lower: change part of a list or array through a window (#343) (63bf7de)
- cli: add pelago self update and install scripts (#339) (f48e3d0)
- typecheck: call eq, cmp, hash and clone as methods on any type that provides them (#336) (84becee)
- native: start threads and wait on futexes on AArch64 Linux (#320) (39a003f)
- native: sleep on Windows (#295) (7609cec)
- core: braid methods for cycles of four to six types (3de6fc8)
- std: bundle the tz database in std.tzdata so zones work on Windows (c591f95)
- std: add sleepUntil, deadline, stopwatch and ticker to std.time (da66e37)
- std: add std.timefmt for formatting and parsing dates and times (02c9b99)
- std: add std.zone with IANA zones, POSIX rules and local-time resolution (#310) (54bcd19)
- json: read and write map fields (635bb68)
- std: add RIPEMD-128/160/256/320, SM3 and MD4 (#308) (fcc9d2b)
- std: add std.calendar with dates, times of day and ISO weeks (#306) (2d0d631)
- core: add the math namespace with the numeric functions in one module (#307) (5a57cc9)
- json: rename fields with @JSON and add a strict mode (9cfcf7a)
- std: group the std modules and add pelago std (#302) (7d9a78c)
- std: add moment, checked duration forms and time tests (#303) (578c7a0)
- std: add scrypt, Argon2, bcrypt and PHC password hashing (#305) (dd02247)
- runtime: lock the heap and the output buffer once threads exist (#286) (ed7f245)
- std: add ChaCha20, XChaCha20, Poly1305, AEAD and a CSPRNG (#299) (5ae58fd)
- std: add BLAKE2, BLAKE3, xxHash, FNV, SipHash, cSHAKE and KMAC (#297) (1d896de)
- types: sqrt, floor, ceil, round, abs, min, max and pow on the wide numbers (578f0af)
- std: add SHA-3, Keccak, SHAKE, MD5, SHA-1, CRC and Adler-32 (#291) (e69751a)
- json: wide integers and soft floats in toJson and fromJson (f009da4)
- types: switch patterns and for ranges on wide integers and soft floats (06c9822)
- native: file-system calls and sleep on macOS (#292) (e2c6be4)
- types: add float16, float128 and float256 in software (ed6e1ef)
- native: read directories on Windows (#290) (9490ffb)
- std: add hash interface, SHA-2, HMAC, HKDF and PBKDF2 (#288) (a6adba4)
- types: add int128, uint128, int256 and uint256 (82c651b)
- native: clock and main(args) on macOS (#285) (846c496)
- native: file-system calls on Windows (#284) (f8a74fe)
- runtime: start operating system threads and wait on futexes (x86-64 Linux) (#282) (0cfbd6a)
- native: file-system calls on AArch64 Linux (#281) (153508c)
- parser: allow x! and x!! in function types (#280) (bd882c7)
- native: give Windows and AArch64 programs main(args) and std.env (#278) (306c85f)
- runtime: add atomic compare-and-swap, add and swap, and an atomic type (#279) (eba2892)
- native: read the clocks on Windows (#276) (f1353c0)
- runtime: add a sleep call so waiting for a deadline does not spin (#277) (71a0488)
- native: name the source place in AArch64 stop messages (#275) (7e1735f)
- runtime: name the source place in every stop message (#274) (8d1ade3)
- std: add std.random and the OsKind::Random runtime call (#273) (1ccf3cc)
- regex: unicode word edges, property classes, python case folds, reference unicode mode (#271) (5d7f21f)
- core: add sleep and real select timeouts on the std.time clock (#269) (e3bb0c8)
- std: add fs path calls (exists, metadata, createDir, removeFile, rename, readDir) (09f5f84)
- std: add std.time with clocks and durations (runtime clock call) (#265) (24645d4)
- std: add std.env for reading environment variables (#264) (837ad88)
- core: add str search, strip, lines, pad, join and list dedup, retain, sortBy, chunks (#255) (e3b1d77)
- core: park waiting tasks instead of polling them (#267) (2b14c7e)
- regex: unicode mode compiles code points to byte automata (#262) (b0a68c8)
- core: add option and result combinators (andThen, filter, orElse, zip, map, err) (#254) (e8a25ae)
- lower: run an async fn as a task and make await join it (#260) (675d9a4)
- regex: limit on groups a backreference reads, a warning for the budgeted search, a budget helper (#261) (8f0b3b3)
- std: add std.path for joining, splitting and cleaning paths as text (#258) (faa6cf7)
- deps: refuse a deps folder that no longer matches islet.lock (#256) (f6a6f31)
- core: put a guard page below every task and coroutine stack (#257) (9bbbc33)
- core: add iter fold, any, all, find, zip, take, skip, chain, min, max and more (#253) (6567b57)
- regex: backreferences, rewritten when the group is finite, a budgeted search otherwise (#252) (b99800f)
- core: cancel a scope, select on cancellation and abandon detached tasks at the end of main (#251) (e2b75f7)
- regex: lookahead in linear time by one reversed scan per body (#250) (4428f1b)
- parser: add postfix x! and x!! as short spellings of inout and sink (#249) (98ab629)
- braid: add for loops over strand views and writes through strand_mut (#246) (55d78eb)
- regex: @regex writes a fixed-size matcher, no growable lists (#247) (30bd890)
- deps: give every package its own import table (#245) (dcdc3c8)
- regex: @regex compiles a pattern at compile time and reads named groups into typed fields (#244) (c1e34a6)
- regex: flags i, s, m, \A, \z and a corpus checked against Python (#243) (f65d420)
- braid: add strand views and pair methods for a cycle of three types (#242) (1bdc0c0)
- deps: load packages installed by Islet from deps/map.yaml (#241) (5460c76)
- braid: add asPairs, asSlots, @derive(toJson) and arithmetic braid lengths (#240) (6cbc558)
- regex: named groups and lookahead in the reference matcher, plan for the own engine (#237) (3c2aecc)
- braid: build the braid type end to end (#235) (19765bd)
- config: read pelago.yaml, a strict YAML subset, instead of pelago.toml (#231) (b585ef4)
- std: derive a JSON decoder with @derive(fromJson) (#230) (68f5abb)
- std: decode JSON by hand with exact integers and error positions (#229) (bd14873)
- std: read files and standard input with io_error values (#227) (a947063)
- ir: mark loads through let parameters as frozen (#220) (46815fa)
- opt: route Alloc, Free and Realloc to the language heap behind --heap=pelago (#205) (84939b0)
- core: write the region heap in the language (H6a, not yet used) (#203) (79c4d8d)
- lower: run map and filter chains in for loops element by element (#198) (3ab46a7)
- native: add rt_data_word, the address of a writable word of static data (#197) (451bee5)
- os: add the operating system layer on x86-64 Linux: main(args), stdin, stderr, exit (#181) (05110c3)
- ir: add the @inline_always and @leaf function attributes (#193) (881e17b)
- core: add coroutines and cooperative task cancellation (#192) (87b28bd)
- native: add the OS memory intrinsics rt_os_reserve, commit, release, remap and advise_nohuge (#190) (e809f95)
- core: narrow an int with wrapToByte and toByteChecked (#177) (f6c73fe)
- lower: make a select send arm wait for room in a bounded channel (#161) (f39c774)
- native: select and emit AArch64 floats through the MIR (#165) (36f7668)
- std: add std.regex, a regular-expression engine without backtracking (#172) (ae5e122)
- std: add std.json with an exact decimal parseFloat in core (#171) (dc471eb)
- std: add the std package and std.big, integers of any size (#170) (68b6aa9)
- core: add pool and narrow link library types (#162) (c09e840)
- native: select and emit AArch64 integer functions through the MIR (#156) (0d474bc)
- run: load the native image into the compiler's own process on Linux (#153) (8c9d0f3)
- run: run native code by default, keep the interpreter behind --interp (#140) (e816112)
- core: share locks across tasks and add withWhen, semaphore and barrier (#151) (f9280e1)
- core: channels as rings of flat slots with enforced capacity, and a lock that waits (#150) (27424fc)
- core: run tasks on their own stacks with a round-robin scheduler (#147) (e8e3e4c)
- core: add bump arena library type (#141) (f06fe01)
- ir: add context switching for tasks and coroutines (#131) (51865e4)
- naming: find a name written in the other style (#130) (d1a80b0)
- core: convert float to int and read text as bytes (#133) (698e13a)
- bench: add programs from the bddicken, plb, plb2 and kostya suites (#127) (87339a5)
- float: add an explicit fused multiply-add (#110) (e815689)
- brand: add spec sheets, keep both taglines and test the build on Windows and macOS (#93) (7c78240)
- native: build AArch64 programs for macOS (03ebe70)
- native: build AArch64 programs for Windows (#89) (5da748b)
- native: keep hot values in registers on AArch64 (#88) (80ee241)
- native: add an AArch64 Linux backend (#86) (8c4661d)
- fmt: correct statement indentation from the syntax tree (#82) (a7233c6)
- native: add the v2i64 vector type and SSE2 operations (#79) (d88b690)
- fmt: break long conditions and sums after the loosest operator (#77) (4fb24db)
- keywords: add
onceas a soft keyword and highlightonce fn(#74) (f8c0d5d) - fmt: break long lists at the width and sort import names (#73) (34267f3)
- typecheck: add once fn for closures that consume captures (#69) (89c19a1)
- fmt: read the [fmt] section of pelago.toml (#66) (077da79)
- lower: keep open ranges (2.., ..3) in values ...