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.

Versions [RSS] [faq] 0.1, 0.2
Dependencies base (==4.*), 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
Distributions NixOS:0.2
Executables secdh
Downloads 1722 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Last success reported on 2016-12-25 [all 7 reports]


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


Maintainer's Corner

For package maintainers and hackage trustees