bock-ast 0.1.0

Abstract syntax tree definitions for the Bock language
Documentation
  • Coverage
  • 27.41%
    165 out of 602 items documented0 out of 110 items with examples
  • Size
  • Source code size: 61.79 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 40.62 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 1m 5s Average build duration of successful builds.
  • all releases: 1m 5s 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