Skip to content

v0.3.3

Choose a tag to compare

@github-actions github-actions released this 16 Jul 16:50
· 480 commits to main since this release
36fff61

What's New in v0.3.3

Much bytes. Very carriage. Wow.

This release is about talking to the wire: raw-binary parsing and CRLF-framed
text protocols both get first-class support, so binary-framing and HTTP/SMTP/RESP
code reads naturally instead of hand-rolling scans and byte constants.

Language & types

  • New string escapes: \r \0 \xNN \u{...} (#67) — \r (carriage
    return) and \0 (NUL) join the known set; \xNN takes two hex digits for an
    ASCII scalar (00–7f, e.g. \x0d); \u{...} takes 1–6 hex digits naming
    any Unicode scalar (e.g. \u{1f436} → 🐶). CRLF wire strings are now just
    "HTTP/1.1 200 OK\r\n". Bad escapes get a precise, doge-framed lex error.

Stdlib

  • Bytes sub-sequence search (#68) — b.find(needle[, start]) → Int offset
    (or -1), b.split(sep) → List<Bytes>, b.contains(needle) → Bool, so
    binary-framing parsers (multipart boundaries, length-delimited protocols) stop
    hand-rolling an O(n·m) scan. Its Str counterpart strings.index(s, sub)
    returns a char-based offset.

Tooling

  • Codex integration — a two-model planner→executor (Sol/Luna) workflow, a
    root AGENTS.md as the single source of project instructions with per-crate
    guides, and .agents/ skill mirrors. Contributor-facing; no change to the
    language or the doge binary.

Install

cargo install dogelang

Full Changelog: v0.3.2...v0.3.3