nowfound

Life & fun · March 26, 2015

A Lispy Calculator in under 50 Lines of OCaml

A Lispy Calculator in under 50 Lines of OCaml launched on March 26, 2015 with 15 votes, #1,166 of 2,697 launches that month and more than 75% of that year's launches. The site was not reachable when checked in September 2026.

In plain words

A Lispy Calculator in under 50 Lines of OCaml is a lightweight calculator implementation written in OCaml that interprets Lisp-like syntax. The project demonstrates functional programming concepts by building a functional calculator in minimal code. It is intended for programmers interested in language design, functional programming, or learning OCaml through a practical example. The code emphasizes simplicity and elegance within strict size constraints.

written from the facts on this page · September 2026

Does a similar job

all alternatives →
  • Tiny Lisp (based on pg’s roots of Lisp) in caml2022 · github.com · ▲11

    An absurdly tiny Lisp interpreter in OCaml. Contribute to afeinberg/ocaml-tinylisp development by creating an account on GitHub.

  • LW
    Lisp with GC in 436 Bytes2021 · justine.lol · ▲513
  • Minimal Lisp in ~70 lines of Haskell2011 · gist.github.com · ▲76

    GitHub Gist: instantly share code, notes, and snippets.

  • Lisp with copying GC in 537 lines of C (plus Lisp 1.5 on top)2018 · github.com · ▲152

    Moved to Forgejo! Contribute to krig/LISP development by creating an account on GitHub.

  • IW
    I wrote a technical history book on LispFeb 2026 · berksoft.ca · ▲252

    The book page links to a blog post that explains how I got about it (and has a link to sample content), but the TL&DR is that I could not find a lot of books that were on "our" history _and_ were larded with technical details. So I set about writing one, and some five years later I'm happy to share the result. I think it's one of the few "computer history" books that has tons of code, but correct me if I'm wrong (I wrote this both to tell a story and to learn :-)). My favorite languages are Smalltalk and Lisp, but as an Emacs user, I've been using the latter for much longer and for my…

  • G8
    GDSL – 800 line kernel: Lisp subset in 500, C subset in 1300Mar 2026 · firthemouse.github.io · ▲89

    Pages for posting about my work

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, March 2015

the whole month →
  • Periscope▲1,049

    Explore the world through someone else's eyes

    Life & fun · 2015 · periscope.tv

  • The best new products, every day, in your browser

    Life & fun · 2015

  • Place it. Press it. Get it.

    Commerce · 2015 · amazon.com

  • Get paid via $cashtags for things you do online or in person

    Commerce · 2015 · t.co

  • Gyroscope▲713

    A new OS for the human body

    Growth · 2015 · gyrosco.pe

  • Awesome free things for entrepreneurs & startups

    Growth · 2015 · growth.supply