secdh: SECDH Machine Simulator

[ bsd3, compilers-interpreters, library, program ] [ Propose Tags ]

SECDH stands for "Stack-Environment-Code-Dump-Heap", and is an abstract machine based on Landin's classic SECD machine for evaluation of lambda-calculus expressions. This machine adds a heap of suspension cells to the structure managed by the machine, allowing fully-lazy evaluation, similar to Haskell. The machine operates directly on the syntax tree, as Landin's machine does. The entire implementation, including parser, evaluator, and garbage collector, occupies just over 1100 lines of code.


  • Language
    • Slambda
      • Language.Slambda.Read
      • Language.Slambda.Show
      • Language.Slambda.Types
      • Language.Slambda.Util
    • SECDH.Eval
    • SECDH.Show
    • SECDH.Types


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.1, 0.2
Dependencies base (>=4 && <5), containers (>=0.4), secdh [details]
License BSD-3-Clause
Author Peter Gavin
Category Compilers/Interpreters
Home page
Source repo head: git clone
Uploaded by PeterGavin at 2012-03-13T13:08:50Z
Reverse Dependencies 1 direct, 0 indirect [details]
Executables secdh
Downloads 1837 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2016-12-25 [all 7 reports]