Compare commits

..

2 Commits

Author SHA1 Message Date
bd7f614d23 Add GHC version info 2024-12-11 17:40:15 -05:00
f4906899ee Add instructions for running tests 2024-12-11 17:35:44 -05:00

View File

@ -2,9 +2,22 @@
A C-like compiled programming language implemented in Haskell. A C-like compiled programming language implemented in Haskell.
## Usage ## Usage
Note: You must have version 9.0 of the Haskell compiler GHC installed. Otherwise
Cabal will not be able to obtain the necessary dependencies.
It is recommended to use the provided `shell.nix` file to create the proper
environment. Alternatively, you can run the project from the supplied
binaries in the [releases](https://gitea.mregirouard.com/eta357/Windows-12-Compiler/releases)
section.
```shell ```shell
cabal run windows12 <input file> out.ll cabal run windows12 <input file> out.ll
llc out.ll -o out.s llc out.ll -o out.s
gcc out.s -o out gcc out.s -o out
./out ./out
``` ```
## Running Tests
```shell
cabal run windows12-qc
```