Skip to content

v0.1.0-alpha.1 — Phase 1 MVP

Pre-release
Pre-release

Choose a tag to compare

@krakenhavoc krakenhavoc released this 07 Mar 17:47
· 103 commits to main since this release
f16a41f

IntentLang v0.1.0-alpha.1

First pre-release of the IntentLang specification toolchain. Phase 1 MVP is feature-complete.

What's included

  • Parser: PEG grammar (pest) producing a typed AST for the full intent language syntax
  • Semantic checker: Six-pass analysis — duplicate detection, type resolution, field access validation, quantifier types, edge case actions, constraint validation
  • Renderers: Markdown and HTML output from intent specs
  • CLI: intent check, intent render, intent render-html
  • Dockerfile: Multi-stage build for container usage

Quick start

# Binary (Linux x86_64)
chmod +x intent-linux-x86_64
./intent-linux-x86_64 check examples/transfer.intent

# Container
docker build -t intent .
docker run -v $(pwd):/work intent check /work/examples/transfer.intent

Stats

  • 40 tests (26 checker + 7 parser + 7 snapshot)
  • 4 valid / 11 invalid test fixtures + 3 examples
  • Zero clippy warnings