Go to file
2026-06-25 22:25:01 +09:00
crates Prepare crates.io release metadata 2026-06-25 22:25:01 +09:00
doc/manual/souce Prepare crates.io release metadata 2026-06-25 22:25:01 +09:00
editors/tree-sitter-decodal Add array concat operator 2026-06-19 01:01:04 +09:00
examples Add array concat operator 2026-06-19 01:01:04 +09:00
site/decodal-site Add playground example loader 2026-06-25 03:39:40 +09:00
.envrc Set up Cargo and Nix project 2026-06-16 01:46:49 +09:00
.gitignore Migrate documentation site to Astro 2026-06-17 00:22:32 +09:00
Cargo.lock Add multi-file playground imports 2026-06-17 10:17:00 +09:00
Cargo.toml Prepare crates.io release metadata 2026-06-25 22:25:01 +09:00
devshell.nix Add Svelte docs site and WASM playground 2026-06-17 00:07:11 +09:00
flake.lock Set up Cargo and Nix project 2026-06-16 01:46:49 +09:00
flake.nix Set up Cargo and Nix project 2026-06-16 01:46:49 +09:00
LICENSE-APACHE Prepare crates.io release metadata 2026-06-25 22:25:01 +09:00
LICENSE-MIT Prepare crates.io release metadata 2026-06-25 22:25:01 +09:00
package.nix Split core library and CLI workspace 2026-06-16 01:58:17 +09:00
README.md Prepare crates.io release metadata 2026-06-25 22:25:01 +09:00

Decodal

Decodal is a small deterministic DSL for describing, composing, validating, and materializing structured data.

It is designed around a lightweight Rust core:

  • host-supplied imports through SourceLoader
  • no filesystem access in decodal-core
  • concrete and abstract values with constraints and defaults
  • deterministic expression evaluation
  • optional regex support behind a Cargo feature
  • browser playground support through WebAssembly

Install the CLI

cargo install decodal

Run a Decodal file:

decodal examples/advanced/main.dcdl

Enable optional regex support when needed:

cargo install decodal --features regex

Library crate

Embedded hosts should depend on decodal-core and provide imports with a SourceLoader.

[dependencies]
decodal-core = "0.1"

Web playground

The static documentation site and browser playground live under:

site/decodal-site/

License

Licensed under either of:

  • Apache License, Version 2.0
  • MIT license

at your option.