Skip to content
pmd3dPublic

About

Rewrite of nqcc2 c compiler to haskell using Claude as an agent learning project

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

A Haskell rewrite of nqcc2, implementing a C compiler based on Nora Sandler's book Writing a C Compiler.

Prerequisites

  • ghc
  • cabal-install
  • gcc (for linking and assembler)
  • linux

Build and Run

cabal build
cabal run -- <file.c>

Run as standalone executable

After building, find the binary path:

cabal list-bin clodhask

Then run it directly:

$(cabal list-bin clodhask) <file.c>

Run tests

cabal test

About

Rewrite of nqcc2 c compiler to haskell using Claude as an agent learning project

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages