Skip to content

Instantly share code, notes, and snippets.

Avatar

Bryn Ward-Leikis tukib

View GitHub Profile
@tukib
tukib / cs110-textbook-asm.js
Last active Nov 17, 2021
Textbook Assembly Language Compiler+VM (with README)
View cs110-textbook-asm.js
// registers
class REG_INSTANCE {
#REGISTERS;
constructor() {
this.HALTED = 0;
this.GT = 0;
this.EQ = 0;
this.LT = 0;
this.#REGISTERS = new Int16Array(8);
}
View keybase.md

Keybase proof

I hereby claim:

  • I am tukib on github.
  • I am tukib (https://keybase.io/tukib) on keybase.
  • I have a public key ASBDVf973jUZCP_QR_JqNqtS6RgVFpNttYuqHgKj_8la1Ao

To claim this, I am signing this object:

@tukib
tukib / index.js
Last active Oct 13, 2019
Hackmud Chat API for Node.js
View index.js
"use strict"
const request = require("request")
const API = {
domain_root: "www.hackmud.com",
__promise_wrap: (endpoint, dat) => {
return new Promise((resolve, reject) => {
request({
method: "POST",