HipHop

1 program Added 2026-02-27T00:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: HipHop.js, hiphop
Provenance: commit ac8fa6d6fb · authored 2026-02-27T13:33:11+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

HipHop.js (1.00)Hissp (0.17)HLisp (0.16)Lissp (0.14)Handlebars (0.13)

LLM-contributed programs

ABRO Reactive Module

Provenance: commit ac8fa6d6fb · authored 2026-02-27T13:33:11+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.js · added: 2026-02-27T00:00:00Z
"use hiphop"

import * as hh from "@hop/hiphop";

// ABRO: classic reactive benchmark - wait for both A and B, emit C, reset on R
const abro = hiphop module() {
   in A; in B; in R; out C;
   do {
      fork {
         await(A.now);
      } par {
         await(B.now);
      }
      emit C();
   } every(R.now)
}

const machine = new hh.ReactiveMachine(abro, "abro");
machine.addEventListener("C", e => console.log("C emitted!"));

// Test sequence
machine.react({ A: true });   // receive A
machine.react({ B: true });   // receive B -> emits C
machine.react({ R: true });   // reset
machine.react({ A: true });   // receive A again
machine.react({ B: true });   // receive B -> emits C again

Contribute — propose a file extension

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