This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use integer; | |
use Cwd qw(getcwd abs_path); | |
use Getopt::Std; | |
use File::Basename; | |
use File::Find; | |
$Getopt::Std::STANDARD_HELP_VERSION=1; | |
$idesettings{'PREFIX'}="/usr/local"; | |
$opt_c=""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Version 1/150127 of Flexible Windows (for Glulx only) by Dannii Willis begins here. | |
"Exposes the Glk windows system so authors can completely control the creation and use of windows" | |
[ Flexible Windows was originally by Jon Ingold, with many contributions by Erik Temple. This version has been essentially rewritten from scratch for 6L38 by Dannii Willis. ] | |
Use authorial modesty. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! 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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiler context example, based on Quixe somewhat | |
{ | |
'temps': // Temporary variables for memory access | |
[ | |
5880: 3, | |
5882: 1, | |
9471: 2, | |
10662: 0, | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>eval() vs new Function() test</title> | |
<script> | |
function test_native() | |
{ | |
var k = 5000, r = '', | |
f_test_native = function(out){var encoder = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=',data = 'Beware the Jabberwock, my son! The jaws that bite, the claws that catch!',out = out || '',c1, c2, c3, e1, e2, e3, e4,i = 0, l = data.length;while (i < l){c1 = data.charCodeAt(i++);c2 = data.charCodeAt(i++);c3 = data.charCodeAt(i++);e1 = c1 >> 2;e2 = ((c1 & 3) << 4) + (c2 >> 4);e3 = ((c2 & 15) << 2) + (c3 >> 6);e4 = c3 & 63;out += (encoder.charAt(e1) + encoder.charAt(e2) + encoder.charAt(e3) + encoder.charAt(e4));}return out;}; | |
while (k--) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! Parchment illegal object number test | |
! By Zarf | |
! http://code.google.com/p/parchment/issues/detail?id=108 | |
! VM_DictionaryAddressToNumber() is a simplified version of an I7 function. | |
! Gnusto has an overflow bug here, somewhere. | |
Global dictsize = 32647; | |
[ VM_DictionaryAddressToNumber w; return (w-(dictsize))/9; ]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard"> | |
<head> | |
<title> Leaflet: An Interactive Fiction Z-Machine Interpreter by Bryon Vandiver - Jay is Games</title> | |
<script type="text/javascript" src="/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="/jquery.cookie.js"></script> <script type="text/javascript" src="/jquery-site.090209.js"></script> | |
<script type="text/javascript" src="http://jayisgames.com/spoiled-comments.js"></script> | |
<link rel="stylesheet" href="/games/styles-flash-game.css" type="text/css" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>[AUTHOR] - [TITLE] — Play</title> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"> | |
<meta name="viewport" content="width=device-width, user-scalable=no"> | |
<meta name="author" content="[AUTHOR]"> | |
<link rel="stylesheet" href="style.css"> | |
[INTERPRETERHEAD] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Case mappings for glkapi.js</title> | |
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js'></script> | |
<script> | |
var log = window.console ? console.log : $.noop, | |
unicode_data, unicode_lines, all_chars = [], | |
unicode_upper_table = {}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php header('HTTP/1.0 500 Internal Server Error'); exit; ?> |
OlderNewer