various experiments
Ruby Go Io Objective-C Swift JavaScript
Switch branches/tags
Nothing to show
Clone or download
carview.php?tsp= Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
carview.php?tsp= 6502_64tass.lang
carview.php?tsp= README.md
carview.php?tsp= cymd2comd.rb
carview.php?tsp= jQuery.ext.custom-siblings.js
carview.php?tsp= quine.go
carview.php?tsp= spell-correct.go
carview.php?tsp= spell-correct.io
carview.php?tsp= wp.cr
carview.php?tsp= wp.io
carview.php?tsp= wp.m
carview.php?tsp= wp.rb
carview.php?tsp= wp.swift

README.md

various

Various stuff I hacked together. May be of use or obsolete by now. Who knows.

6502_64tass.lang

A gedit / gtksourceview 2 language specification file for 6502 assembly, more specific the 64tass assembler. Needs to be copied to /usr/share/gtksourceview-2.0/language-specs.

cymd2comd.rb

A Cyrus Maildir to Courier Maildir converter.

jQuery.ext.custom-siblings.js

Extends jQuery, provides prevAllWhile and nextAllWhile. I needed this for a project, but can't exactly remember why. ^^

Use it like this:

$(this).nextAllWhile('dd').each(function(n) { $(this).show() });

spell-correct.io, spell-correct.go

My conversion of Peter Norvig's Spelling Corrector to the Io language and to Go.

quine.go

A 134 bytes quine in Go.

wp.m, wp.swift, wp.io, wp.rb, wp.cr

My implementations of the problem described here.

The idea is to measure in each language how well it performs this basic problem, how much memory it takes, and how elegant the solution looks.

So far the implementation in Objective-C is over 14 times faster than the Swift one.

The Crystal implementation seems to be twice as fast as the Ruby one.