Compare commits
2 Commits
d66f1e1401
...
initial-re
Author | SHA1 | Date | |
---|---|---|---|
bd7f614d23
|
|||
f4906899ee
|
13
README.md
13
README.md
@ -2,9 +2,22 @@
|
||||
A C-like compiled programming language implemented in Haskell.
|
||||
|
||||
## 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
|
||||
cabal run windows12 <input file> out.ll
|
||||
llc out.ll -o out.s
|
||||
gcc out.s -o out
|
||||
./out
|
||||
```
|
||||
|
||||
## Running Tests
|
||||
```shell
|
||||
cabal run windows12-qc
|
||||
```
|
||||
|
Reference in New Issue
Block a user