A HEAR (C-like) compiler written in Haskell
This repository has been archived on 2024-04-05. You can view files and clone it, but cannot push or open issues/pull-requests.
Go to file
Ethan Reece 17a683e27d
Add example programs
2023-09-11 12:04:36 -05:00
app Read expressions from file 2023-09-08 01:31:07 -05:00
example Add example programs 2023-09-11 12:04:36 -05:00
.gitignore Cabal init 2023-09-07 17:24:45 -05:00
CHANGELOG.md Cabal init 2023-09-07 17:24:45 -05:00
README.md Add solving expressions 2023-09-08 00:53:11 -05:00
really-bad-compiler-in-haskell.cabal Create very basic equation parser 2023-09-07 22:57:12 -05:00
stack.yaml Add megaparsec 2023-09-07 17:59:56 -05:00
stack.yaml.lock Add megaparsec 2023-09-07 17:59:56 -05:00

README.md

Really Bad Compiler in Haskell

A compiler written in Haskell that is really bad (I do not know what language I am going to compile yet). Built for the Introduction to Compiler Design class at The University of Texas at Dallas.

Main repo: https://git.sudoer.ch/me/really-bad-compiler-in-haskell

Build Instructions

  • Clone the repo.
  • Use ghcup to install all of the Haskell tools.
  • Use stack build and stack run <file> to run the program.

Credits

Learning Resources Used

Tools

  • Language: Haskell
  • Haskell tools: GHCup, Stack, Cabal
  • Libraries: megaparsec, parser-combinators, text
  • IDE: VSCodium
  • Git platform: Forgejo
  • AI: Phind
  • Search: Kagi, Stack Overflow