Skip to content

Instantly share code, notes, and snippets.

@fredfeng
fredfeng / gist:11f7e19eeae601669337c4b3d338f182
Created October 31, 2021 21:43 — forked from jimbojsb/gist:1630790
Code highlighting for Keynote presentations

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2:

@fredfeng
fredfeng / partial_evaluation.md
Created January 18, 2021 21:46 — forked from tomykaira/partial_evaluation.md
Partial Evaluation, Futamura Projection And Their Applications

Partial Evaluation, Futamura Projection And Their Applications

What Partial Evaluation Is?

Partial evaluation means to fix some variables in the given code before execution. With a traditional implementation of a compiler or an interpreter, all variables are replaced with its value on each evaluation of that variable. This is because a variable can change at any timing. This is, however, not always true in actual applications. Almost all of large applications has setting variables and data