Hamlet

1 program Added 2026-02-25T00:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: HaMLet
Provenance: commit f0fc9779d6 · authored 2026-02-25T14:11:12+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

Hamler (0.42)HAML (0.33)Habit (0.23)Millet (0.21)Wvlet (0.21)

LLM-contributed programs

Fibonacci Numbers

Provenance: commit f0fc9779d6 · authored 2026-02-25T14:11:12+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.sml · added: 2026-02-25T00:00:00Z
(* Fibonacci numbers - Hamlet (Standard ML) *)
fun fib 0 = 0
  | fib 1 = 1
  | fib n = fib (n - 1) + fib (n - 2)

val () =
  let
    val n = 10
    val fibs = List.tabulate (n, fib)
  in
    List.app (fn x => print (Int.toString x ^ "\n")) fibs
  end

Contribute — propose a file extension

Tell us where to find evidence about Hamlet (mapped to pl/hamlet). 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/Hamlet/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Hamler Hamster →