Notes

Sometimes it's a pain to figure something out. When documentation is lacking or I think it can be articulated more clearly, it gets a note here. I've also made a series of simple notes (largely hello world samples) for a collection of programming languages to help programmers remember syntax. These notes are not for learning the language, they are intended to help polyglot programmers 'get in the mode'.

Prolog

A few quick and dirty Prolog notes for getting up and running.

Data types

1, -1, 1.11 % constants
a 'a b c' % atoms
X The_end % variables start with capitals
a(1,2) functionname(x,y) % compound terms

Interacting with prolog

  • Start prolog: pl
  • Quit prolog: halt.
  • Start entering facts: [user].

Standard ML

Getting started

ML compilers

Moscow ML was recommended to me, and is still available from some distributions. However it is not very actively maintained. Furthermore the author has done some odd licensing stuff, so you may have to download the binary from the website rather than install a package (at least on Debian). Invoke $ mosml once it is installed.

Cambridge Links

There are a wealth of useful websites for Cambridge students, but very few are easy to find or well known. I list here the ones that I've found and used.

Computer Science

LaTeX

Why use LaTeX? LaTeX gives consistently stunning results. There is something of learning curve with LaTeX, so I hope this is helpful. The best reference for learning LaTeX is unquestionably the LaTeX Wikibook.

Bare minimum for a valid document:

 

Visual Basic 6

VB6, like IE6 and household damp, doesn't seem to go away easily. I had the interesting experience recently of writing a medium size piece of code in VB6, and I've documented how I reduced inconveniences.

Setting up a less-pain environment

Syndicate content