Various Small Fires and Code

Monday, April 14, 2014

Digital synthesis

Copperbox revision 3118.

I've started a doc summarizing what I'd like to achieve with the next tranche of work on Ochre (or Orca).

This is a bit presumptuous as I may not actually work on Ochre for quite a while, but I'm wondering if I think through my designs via writing them out it will lead to a better product than the attempts so far where I've just coded what was in my head. So far I've only written the introduction, which makes the title presumptuous (and pretentious...).

Sunday, April 13, 2014

p5hs

Copperbox revision 3117.

I've added a module of Doc combinators for outputting Processing code.

This should make it simpler to iterate the design of the pretty printer - I can just write one-liners calling predefined functions rather than change the bodies of the pretty printers each time I revise the syntax.

Sunday, March 30, 2014

p5hs

Copperbox revision 3116.

I've added the initial work on a pretty print.

Although I've been wanting to get back up to (nearly) "a commit a day", the Bradford Film Festival takes priority for the next week...

pretty-expr-hpj

Copperbox revision 3115.

I've added a module for printing Java expressions (needed by P5Hs).

Saturday, March 29, 2014

p5hs

Copperbox revision 3114.

I'm looking at Processing as a target for a Sunroof style compiler. A primary interest in the jni-bridge was binding to Processing-Java but maybe generating Processing code is a viable alternative (less general of course, but potentially easier and more fun).

Getting the "Generative Design" book (Bohnacker et al.) has really made me envious of Processing's "quick path to doing stuff".

Tuesday, March 25, 2014

lambola

Copperbox revision 3113.

Some work on FFI, though I've hit a problem where I can only see GetVersion inside the JNINativeInterface_ struct (in the header jni.h) and none of the other functions. I have a feeling this might scupper my plans until I set up a Linux machine to work on (developing bindings on Windows is far from fun).


Monday, March 24, 2014

lambola

Copperbox revision 3112.

I've started work writing the foreign function stubs.

Although this work is mechanical I'm expecting there will be quite a lot of mistakes / bugs - it's a long time (5 years) since I wrote a FFI binding and that was to OpenVG which was quite "stereotypical" and I could crib a lot from the OpenGL binding. Additionally my C skills were definitely sharper at the time, I haven't really used C (or thought about it much) since then.

Blog Archive

About Me

Disambiguating biog as there are a few Stephen Tetley's in the world. I'm neither a cage fighter or yachtsman. I studied Fine Art in the nineties (foundation Bradford 1992, degree Cheltenham 1992 - 95) then Computing part-time at Leeds Met graduating in 2003. I'm the Stephen Tetley on Haskell Cafe and Stackoverflow.