This repository has been archived on 2024-04-05. You can view files and clone it, but cannot push or open issues/pull-requests.
really-bad-compiler-in-haskell/README.md

36 lines
1.1 KiB
Markdown
Raw Normal View History

2023-09-07 20:57:58 +00:00
# Really Bad Compiler in Haskell
2023-09-07 20:46:17 +00:00
2023-09-07 20:57:58 +00:00
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.
2023-09-07 22:15:02 +00:00
Main repo: https://git.sudoer.ch/me/really-bad-compiler-in-haskell
2023-09-07 20:57:58 +00:00
## Build Instructions
2023-09-08 03:57:12 +00:00
- Clone the repo.
- Use `ghcup` to install all of the Haskell tools.
- Use `stack build` and `stack run <file>` to run the program.
2023-09-07 20:57:58 +00:00
2023-09-11 17:05:44 +00:00
## File structure
- `app` - contains the compiler program
- `example` - contains example programs that can be compiled
2023-09-07 20:57:58 +00:00
## Credits
2023-09-08 03:57:12 +00:00
### Learning Resources Used
2023-09-07 22:15:02 +00:00
2023-09-07 20:57:58 +00:00
- Introduction to Compiler Design class at The University of Texas at Dallas, taught by Charles Averill
2023-09-08 03:57:12 +00:00
- learnyouahaskell.com (for learning Haskell basics)
- https://akashagrawal.me/2017/01/19/beginners-guide-to-megaparsec.html
- https://markkarpov.com/tutorial/megaparsec.html (for help writing a Haskell equation parser)
2023-09-07 22:15:02 +00:00
### Tools
- Language: Haskell
2023-09-08 03:57:12 +00:00
- Haskell tools: GHCup, Stack, Cabal
- Libraries: megaparsec, parser-combinators, text
2023-09-07 22:15:02 +00:00
- IDE: VSCodium
2023-09-08 03:57:12 +00:00
- Git platform: Forgejo
- AI: Phind
2023-09-08 05:53:11 +00:00
- Search: Kagi, Stack Overflow