quchen / cabal-install-bin Goto Github PK
View Code? Open in Web Editor NEWInstall binary packages in a temporary Cabal sandbox
Install binary packages in a temporary Cabal sandbox
No documentation, no profiling, no XYZ - make sure all flags are explicitly passed to Cabal in the script.
Hi, I can confirm that the script works on happy-1.19.5, built with GHC 7.8.3 on Mac OS X Yosemite.
Good work, thanks!
$ cabal-install-bin happy
Creating temporary directory (/var/folders/ty/gpg_ffgx0lxbzynp2wsvh8nh0000gn/T/cabal-XXXX.J4TsVS2B)
Writing a default package environment file to
/private/var/folders/ty/gpg_ffgx0lxbzynp2wsvh8nh0000gn/T/cabal-XXXX.J4TsVS2B/cabal.sandbox.config
Creating a new sandbox at
/private/var/folders/ty/gpg_ffgx0lxbzynp2wsvh8nh0000gn/T/cabal-XXXX.J4TsVS2B/.cabal-sandbox
Resolving dependencies...
Notice: installing into a sandbox located at
/private/var/folders/ty/gpg_ffgx0lxbzynp2wsvh8nh0000gn/T/cabal-XXXX.J4TsVS2B/.cabal-sandbox
Downloading transformers-0.4.3.0...
Configuring transformers-0.4.3.0...
Building transformers-0.4.3.0...
Installed transformers-0.4.3.0
Downloading mtl-2.2.1...
Configuring mtl-2.2.1...
Building mtl-2.2.1...
Installed mtl-2.2.1
Downloading happy-1.19.5...
Configuring happy-1.19.5...
Building happy-1.19.5...
Installed happy-1.19.5
Remove temporary directory (/var/folders/ty/gpg_ffgx0lxbzynp2wsvh8nh0000gn/T/cabal-XXXX.J4TsVS2B) [Y/n]? Y
$ happy
Usage: happy [OPTION...] file
-o FILE --outfile=FILE write the output to FILE (default: file.hs)
-i[FILE] --info[=FILE] put detailed grammar info in FILE
-t DIR --template=DIR look in DIR for template files
-m NAME --magic-name=NAME use NAME as the symbol prefix instead of "happy"
-s --strict evaluate semantic values strictly (experimental)
-g --ghc use GHC extensions
-c --coerce use type coercions (only available with -g)
-a --array generate an array-based parser
-d --debug produce a debugging parser (only with -a)
-l --glr Generate a GLR parser for ambiguous grammars
-k --decode Generate simple decoding code for GLR result
-f --filter Filter the GLR parse forest with respect to semantic usage
-? --help display this help and exit
-V, -v --version output version information and exit
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.