---
title: "Fidryn — a programming language for legal instruments"
description: "Fidryn (FID-rin) is a programming language for legal instruments: precise where law is mechanical, explicit where judgment enters, and incapable of hiding authority inside a Boolean. Research fixture — not legal advice."
url: "https://fidryn.onlygass.dev/"
markdown: "https://fidryn.onlygass.dev/index.md"
author: "Bryan Gass"
---

# Fidryn (FID-rin)

Fidryn is a **programming language for legal instruments**: precise where law is mechanical, explicit where judgment enters, and incapable of hiding authority, discretion, or ambiguity inside a Boolean.

**Research fixture.** Not legal advice, not an operative instrument, and not a complete statement of any jurisdiction's law.

## What it is

- Source files use the `.fr` extension.
- You write modules, queries, and duties; the reference interpreter checks them and evaluates queries against case records.
- It never invents a completion when the model still has open branches.
- Determinate results only when invariant across every still-admissible resolution — or a competent authority has already determined them.

## Install

```bash
cargo install --git https://github.com/BeeGass/fidryn --locked fidryn-cli
```

Requires Rust 1.98+. Local mill: `fidryn ui --no-open` (loopback only, default `127.0.0.1:8751`). This public site does **not** expose live filing or the mill API.

## Documentation

- [Docs hub](https://fidryn.onlygass.dev/docs/) · [docs/index.md](https://fidryn.onlygass.dev/docs/index.md)
- [Getting started](https://fidryn.onlygass.dev/docs/getting-started) · [getting-started.md](https://fidryn.onlygass.dev/docs/getting-started.md)
- [Language](https://fidryn.onlygass.dev/docs/language) · [language.md](https://fidryn.onlygass.dev/docs/language.md)
- [Cases and time](https://fidryn.onlygass.dev/docs/cases-and-time) · [cases-and-time.md](https://fidryn.onlygass.dev/docs/cases-and-time.md)
- [CLI](https://fidryn.onlygass.dev/docs/cli) · [cli.md](https://fidryn.onlygass.dev/docs/cli.md)
- [Mill](https://fidryn.onlygass.dev/docs/mill) · [mill.md](https://fidryn.onlygass.dev/docs/mill.md)
- [Outcomes](https://fidryn.onlygass.dev/docs/outcomes) · [outcomes.md](https://fidryn.onlygass.dev/docs/outcomes.md)
- [Examples](https://fidryn.onlygass.dev/docs/examples) · [examples.md](https://fidryn.onlygass.dev/docs/examples.md)
- [Contributing](https://fidryn.onlygass.dev/docs/contributing) · [contributing.md](https://fidryn.onlygass.dev/docs/contributing.md)

## Agent maps

- [llms.txt](https://fidryn.onlygass.dev/llms.txt)
- [llms-full.txt](https://fidryn.onlygass.dev/llms-full.txt)
- [sitemap.xml](https://fidryn.onlygass.dev/sitemap.xml)

## Source

https://github.com/BeeGass/fidryn
