Skip to content

Instantly share code, notes, and snippets.

@erights
erights / horton.js
Created May 26, 2023 05:00 — forked from tvcutsem/horton.js
Horton in JavaScript: delegation with blame attribution in an object-capability language
/*
* Horton in JavaScript: delegation with blame attribution in an object-capability language
*
* See http://erights.org/elib/capability/horton/index.html for idea and paper.
*
* Implementation based on: http://erights.org/elib/capability/horton
* (with N-ary message support, lexical nesting and rights amplification)
*
* To run:
*