TypeScript implementation of the Hack computer architecture, as described in The Elements of Computing Systems by Noam Nisan and Shimon Schocken.
import { and, or } from "jsr:@r2/hack";
and(1, 1); // -> 1
or(1, 0); // -> 1
This project is a work in progress. Some features may be incomplete or subject to change. Feedback is welcomed!
This project is based on The Elements of Computing Systems by Noam Nisan and Shimon Schocken.