phischu / haskell-modules Goto Github PK
View Code? Open in Web Editor NEWExtract real Haskell module files
License: BSD 3-Clause "New" or "Revised" License
Extract real Haskell module files
License: BSD 3-Clause "New" or "Revised" License
Currently the output folder is hard-coded for my machine. This of course is not ok.
Extracting modules from a package takes longer than compiling it because we compile it and do extra work. We have to find a way to avoid compilation, maybe by writing fake object files or something.
Currently we put all modules in to the same folder. But it would be nice if we put modules from different packages into different folders named after the package.
We currently take those command line arguments that start with an upper case letter as module names. This breaks down as soon as there is a package that starts with an upper case letter.
If we write a GHC frontend plugin GHC will do the parsing of command line arguments for us. See http://blog.ezyang.com/2017/02/how-to-integrate-ghc-api-programs-with-cabal/
We need to know which C source and C header files a package needs.
We want to extract all relevant modules including those in the global package database that come with GHC. Also including base
, ghc-prim
and integer-simple
or integer-gmp
.
array-0.5.0.0 fails with the following error message
user error (The package 'array' requires Cabal library version -any && >=1.10
but no suitable version is installed.)
For some reason this works on my machine.
We have to find out if we can expose a different package-db for the Setup script .
This would also help with #5 and allow us to take advantage of GHC's new -keep-hscpp-files
flag.
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.