An interpreter for an intermediate representation (IR). This IR is based on three-address code (3AC aka TAC) and static single-assignment (SSA) form. Like all IRs, it sits between high-level languages such as C or TypeScript on one end, and Assembly on the other end.
This project is implemented in TypeScript, using Deno. Unit testing is done using the 'behavior driven development' and 'expect' packages which can be installed with:
deno add jsr:@std/testing/bdd
deno add jsr:@std/expect
Build and run the tests with:
deno test