Skip to content

Instantly share code, notes, and snippets.

@curiousdannii
curiousdannii / gist:265710
Created December 29, 2009 23:47
Gnusto compiler context example
Compiler context example, based on Quixe somewhat
{
'temps': // Temporary variables for memory access
[
5880: 3,
5882: 1,
9471: 2,
10662: 0,
],
@curiousdannii
curiousdannii / parchment-gestalt-test.inf
Created December 14, 2009 02:09
This code implements a very basic 'gestalt' test for Parchment
! Parchment 'gestalt' test
! This code implements a very basic 'gestalt' test for Parchment.
! Because it isn't feasible to extend the Z-Machine we instead propose hacking
! @check_unicode to use one of its unspecified return bits.
[ Main a private key;
! Check for 'a'
@check_unicode 97 -> a;