HAL

1 program Added 2026-02-23T00:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled Evidence Report issue View issues
Aliases: —
Provenance: commit 77c318681a · authored 2026-02-23T15:17:24+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

Chalk (0.14)Dhall (0.14)Halide (0.12)Chalice (0.11)Phalanger (0.04)

LLM-contributed programs

Mortgage Calculation

Provenance: commit 77c318681a · authored 2026-02-23T15:17:24+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
code.hal · added: 2026-02-23T00:00:00Z
:- module mortgage.
:- import simplex.
:- export pred mortgage(cfloat,cfloat,cfloat,cfloat,cfloat).
:-        mode mortgage(in,in,in,in,out) is semidet.
:-        mode mortgage(oo,oo,oo,oo,oo) is nondet.
mortgage(P,0.0,I,R,P).
mortgage(P,T,I,R,B) :-
        T >= 1.0,
        NP = P + P * I - R,
        mortgage(NP,T-1.0,I,R,B).

Contribute — propose a file extension

Tell us where to find evidence about HAL (mapped to pl/hal). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/HAL/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← HakerScript hal-format →