https://github.com/thoughtpolice/regalloc-bkp
Attempt at a modular register allocator interface
https://github.com/thoughtpolice/regalloc-bkp
Last synced: 2 months ago
JSON representation
Attempt at a modular register allocator interface
- Host: GitHub
- URL: https://github.com/thoughtpolice/regalloc-bkp
- Owner: thoughtpolice
- License: mit
- Created: 2017-12-12T18:43:50.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-15T05:44:50.000Z (over 7 years ago)
- Last Synced: 2025-01-25T16:43:51.061Z (4 months ago)
- Language: Haskell
- Size: 7.81 KB
- Stars: 3
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE.txt
Awesome Lists containing this project
README
This is an attempt at using backpack to design a modular register allocator. It
*requires* GHC 8.2.x and Cabal HEAD. The current version is basically just a
backpack-ified version of John Wiegley's [[https://hackage.haskell.org/package/linearscan][linearscan package]].#+BEGIN_SRC bash
$ ./nab-linearscan.sh # linearscan-1.0.0 doesn't work on 8.2.x
$ cabal new-build
$ cabal new-run regalloc-example
#+END_SRCIf you don't have GHC 8.2.2 just run ~cabal new-configure -w ghc-8.2.1~ first.