Latest / Developer tools

lambda-8cc

github.com · Open source · Quiet

x86 C compiler written in untyped lambda calculus

Visit github.com ↗Share

  • lambda calculus
  • c compiler
  • ski combinator calculus
  • lambda calculus compiler
  • x86 compiler
  • compiler written in lambda
  • functional compiler
Stars
691
Forks
20
Open issues
1
Last commit
Found
4 years ago

GitHub figures as of . They are context, not a ranking.

lambda-8cc is an x86 C compiler written in untyped lambda calculus, with a repository that is primarily Common Lisp. It suits readers curious about how a compiler can be built from pure functions.

Repository description on GitHub: “x86 C compiler written in untyped lambda calculus”

What it does

  • x86 C compiler written as a single untyped lambda calculus term
  • Compiles C programs such as rot13.c into x86 executables
  • Runs through a lambda calculus interpreter

Good for

  • Study how a C compiler can be written in pure lambda calculus
  • Compile a small C program to an x86 executable
  • Examine the compiler through its PDF and LaTeX source

Suits: Readers curious about how a compiler can be built from pure functions.

Worth knowing: Compiling a small C program takes about 8 minutes in the lambda calculus interpreter

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw lambda-8cc on , when woodrush posted it to Show HN. GitHub listed no published releases for woodrush/lambda-8cc when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 249 points, 29 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 249 points, 29 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: woodrush/lambda-8cc
  2. Found: woodrush posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was lambda-8cc released?
No dated release record is available. Kip found it on Show HN on 6 Oct 2022.
Is lambda-8cc open source?
Its source is public on GitHub at woodrush/lambda-8cc under the MIT licence.
What does lambda-8cc run on?
Linux.
Is lambda-8cc free?
It is open source, so the code is free to read and run; check the licence for terms.
Is lambda-8cc still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorywoodrush/lambda-8cc
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-33115719. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.