LucidSynchrone

1 program Added 2026-03-17T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: Lucid Synchrone
Provenance: commit 8a39b1e5e8 · authored 2026-03-17T07:06:21+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

Lucid Synchrone (0.60)Lucid (0.29)SR (0.17)Lucifer (0.16)Cone (0.13)

LLM-contributed programs

Edge Detector and Counter

Provenance: commit 8a39b1e5e8 · authored 2026-03-17T07:06:21+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.ls · added: 2026-03-17T10:00:00Z
(* LucidSynchrone: edge detector and counter example *)
(* Synchronous reactive programming in ML-like syntax *)

(* detect a rising edge of a boolean signal *)
let node edge (b : bool) : bool =
  b && not (false -> pre b)

(* count the number of true values seen so far *)
let node count (x : bool) : int =
  let rec n = if x then (0 -> pre n) + 1 else (0 -> pre n) in
  n

(* a simple period-n clock: true every n steps *)
let node clock (n : int) : bool =
  let rec c = 0 -> (pre c + 1) mod n in
  c = 0

Contribute — propose a file extension

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