Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xldenis/mgc
comp 520 go compiler
https://github.com/xldenis/mgc
compiler haskell
Last synced: 15 days ago
JSON representation
comp 520 go compiler
- Host: GitHub
- URL: https://github.com/xldenis/mgc
- Owner: xldenis
- License: other
- Created: 2015-02-12T00:48:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-26T20:54:33.000Z (over 8 years ago)
- Last Synced: 2024-10-03T12:42:01.326Z (about 1 month ago)
- Topics: compiler, haskell
- Language: Haskell
- Size: 496 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
Student ID: 260521681
Xavier Denis
THIS WILL NOT BUILD ON MCGILL SERVERS. THERE IS A DEPENDENCY ON LLVM(3.4) WHICH IS NOT INSTALLED ON THE MACHINES.
To build this project run the command
cabal sandbox init
cabal install --upgrade-dependencies --constraint="template-haskell installed" --dependencies-only
cabal buildTo build a file, from the main directory run:
cabal run -- file.go
gcc file.sThis will produce an executable, either the default a.out or if the -o option is specified, whatever output was desired.
Simply run the final exectuable for the desired results.
This will build the binary in `dist/mgc/mgc`