GIGO: words unreadable aloud
Mishrogo Weedapeval
 

 

  Tuesday 15 May 2007
SECD machine into OCaml ... in progress

One of my side projects this past winter has been to figure out what Landin's SECD machine was all about. I started by reading Danvy's "Rational Deconstruction" paper, which implemented the core of the interpreter in ML, in several different ways. Not having a handy ML compiler, nor knowing the language very well, I thought I'd just translate it straight into Ruby. When that was done, I couldn't easily tell whether it was really right, not having a decent set of test data. I grabbed some from the net, but still lacked confidence. So lately I've been translating it into OCaml instead, for which I do have an already-installed compiler. I don't know that language very well either, but it's more familiar to me than straight ML is. The machine part compiles; maybe I'll be able to get the test app running later this week.

Here are my previous Landin/Danvy SECD machine entries:


11:38:06 PM   comment/     


Click here to visit the Radio UserLand website. Click to see the XML version of this web page. © Copyright 2007 Doug Landauer .
Last update: 07/6/4; 23:49:27 .
Click here to send an email to the editor of this weblog.

May 2007
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Apr   Jun

Previous/Next