2024-12-11 17:46:49 -05:00
2024-12-11 17:34:52 -05:00
2024-12-11 16:26:57 -05:00
2024-12-09 20:03:56 -05:00
2024-12-09 20:09:13 -05:00
2024-11-12 12:26:43 -05:00
2024-12-11 17:46:49 -05:00
2024-12-09 21:43:28 -05:00

Windows12

A C-like compiled programming language implemented in Haskell.

Examples

Example programs can be found in the test directory.

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 section.

cabal run windows12 <input file> out.ll
llc out.ll -o out.s
gcc out.s -o out
./out

Running Tests

cabal run windows12-qc
Description
A compiler written in Haskell for the Windows 12 programming language.
Readme 118 KiB
2024-12-11 22:44:02 +00:00
Languages
Haskell 99.6%
Nix 0.4%