Caja

1 program Added 2026-02-26T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled Evidence Report issue View issues
Aliases: Google Caja, Cajita
Provenance: commit 2e676f7d51 · authored 2026-02-26T22:38:47+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

App Inventor (0.14)Catala (0.12)Matita (0.12)Cadabra (0.12)Casanova (0.12)

LLM-contributed programs

Corkboard Demo - Embedded Scripts Runner

Provenance: commit 2e676f7d51 · authored 2026-02-26T22:38:47+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
code.js · added: 2026-02-26T10:00:00Z
var registerForScript, loadScripts;
(function () {
  var scriptHooks = [];

  registerForScript = function (vdocId, moduleText) {
    scriptHooks.push([vdocId, moduleText]);
  }

  function go(caja) {
    for (var i = 0; i < scriptHooks.length; i++) {
      var id         = scriptHooks[i][0];
      var moduleText = scriptHooks[i][1];
      var sandbox = new caja.hostTools.Sandbox();
      sandbox.attach(document.getElementById(id));
      sandbox.runCajoledModuleString(moduleText);
    }
    scriptHooks = [];
  }

  loadScripts = function (server) {
    loadCaja(go, {
      debug: true,
      cajaServer: server
    });
  }
})();

Contribute — propose a file extension

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