bock-errors 0.1.0

Diagnostic error types and source span machinery for the Bock language compiler
Documentation
  • Coverage
  • 74.51%
    38 out of 51 items documented0 out of 27 items with examples
  • Size
  • Source code size: 37.52 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 7.37 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 50s Average build duration of successful builds.
  • all releases: 50s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • doesdev

Bock

A feature-declarative language that runs everywhere your team already does.

Bock lets you describe what your program should do in one source of truth, then compiles it to JavaScript, TypeScript, Python, Rust, Go, and more. One language, many targets, zero per-target rewrites.

Status License: MIT

Quick Start

# Install (placeholder — coming with v0.1)
cargo install bock

# Create a project
bock new hello && cd hello

# Check, then build to your target
bock check
bock build -t js

Features

  • Target-agnostic. Write once, emit idiomatic JS / TS / Python / Rust / Go.
  • Feature-declarative. Express intent, not boilerplate.
  • Strong static checking. Catch type and effect errors before codegen.
  • Effect system. Side effects are explicit and tracked.
  • First-class AI provider integration. Built-in primitives for LLM-backed code paths.
  • Editor support out of the box. VS Code extension shipped from the same repo.

Links

License

MIT