Back to directory

AI-written Haskell Compiler (aihc)

An experimental Haskell compiler, written incrementally by AI models, tracked as a percentage of the Stackage package set it can successfully build.

AI-written Haskell Compiler (aihc)

aihc is an attempt to see whether current AI models can write a working Haskell compiler, covering preprocessing, parsing, name resolution, type checking, desugaring and code generation. Progress is tracked as the percentage of Stackage packages each component can process.

The README lists live progress figures, including type-check and name-resolution test pass rates and a growing self-compile package list, showing which dependency-ordered packages currently install successfully, which fail with a specific error, and which are waiting on a failing dependency.

The project is split into sub-packages, each with its own README documenting supported language extensions. It is released under the Unlicense.

More in Languages

See all 48
  • QBasic Web Editor

    vahidyousefzadeh.com

    A browser-based QBasic 1.1 editor and interpreter that runs classic QBasic programs with DOSBox-accurate behavior, including text-mode graphics commands such as PRINT, COLOR and LOCATE, with sample programs and keyboard shortcuts to run and save.

  • A Brainfuck-inspired esoteric programming language adding absolute memory navigation, multiplier arithmetic, non-destructive inspection and inline conditionals, with its own interpreter.

  • C3 Playground

    play.c3-lang.org

    An in-browser playground that compiles and runs the C3 programming language entirely in WebAssembly, with no backend server, alongside its standard library and documentation.