The following is an implementation of a small language for rendering line drawings. To draw a figure, type some lines of the form:
B2 H4 green
A line consists of a start position, an end position, and a colour. Presently a colour can be: red, green, blue, lime, cyan, orange, black or a hexadecimal colour (#RRGGBB).