Skip to content

Instantly share code, notes, and snippets.

'From Squeak4.5 of 19 February 2014 [latest update: #13680] on 1 November 2015 at 7:14:47 pm'!
!ExpressionArgMorph methodsFor: 'accessing'!
defaultValue: t1
self isNumberExpression
ifTrue: [self
numExpression: (t1 isNumber
ifTrue: [t1]
ifFalse: [Number
readFrom: t1
@djdolphin
djdolphin / unicodedump.js
Last active August 29, 2015 14:15
Unicode Dump
var fs = require('fs'),
i, ch, result = '';
for (i = 1; i <= 0xffff; i++) {
ch = String.fromCharCode(i);
if ([10, 13].indexOf(i) == -1) result += ch;
if (i < 0xffff) result += '\n';
}
fs.writeFile('unicode.txt', result);