Skip to content

Instantly share code, notes, and snippets.

@nashidau
nashidau / heap-lisp.c
Created October 6, 2025 17:59 — forked from swatson555/heap-lisp.c
Heap based scheme machine.
/* Heap based virtual machine described in section 3.4 of Three Implementation Models for Scheme, Dybvig
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <assert.h>
char token[128][32];
@nashidau
nashidau / readme.md
Created October 3, 2024 00:39 — forked from ctkjose/readme.md
JavaScriptCore for macOS and Linux

JSC

JSC is the JavaScript engine from Apple's JavaScriptCore (WebKit) as a console application that you can use to run script in the terminal.

For more info visit the JSC's webkit wiki page.

Adding a shortcut to JSC

Using jsc is simple, the one issue is that Apple keeps changing the location for jsc. To deal with this issue I just create a symbolic link to the binary: