-
Notifications
You must be signed in to change notification settings - Fork 644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tidying of idrisMain
#1454
Comments
Hi, I'm working of this.
Are the names ok? Do you have more requirements? |
I’m not sure having multiple executables is necessary, but splitting idrisMain into separate functions or even modules with a clearly defined purpose is desirable. The problem with multiple executables at this level of granularity is purely pragmatic for me at the moment: it makes the edit-compile-test cycle take far too long, because linking each executable takes ages. Also, every executable statically links everything, making the binary packages grow enormously for every new executable. That’s not a problem for users of course, and bandwidth and disk space are less of an issue these days, but it is a bit of a pain for developers. Edwin. On 9 Oct 2014, at 10:16, Helkafen notifications@github.com wrote:
|
For now, I have to agree with @edwinb on this one. Our priorities at the moment, and certainly for this issue, should be on refactoring |
Will be looking at this over the next couple of evenings. |
Idris
is a library that has a single front-end. However,Idris
actually has several different front-ends that can be used to interact withIdris
code. A nominal list is:REPL
iPKG
build toolIDESLAVE
Issue #1126 has introduced the idea that these different front ends should be wrapped in their own separate executables. That is, there should be different cabal projects for the front ends. How much of the logic for each of the different frontends should be extracted (or left in) from the
idris
library to these executables is a problem for whoever tackles issue #1126.However, related to this problem is
idrisMain
. It has been mentioned on theIRC
channel thatidrisMain
is a little convoluted and requires some attention. If the right sort of attention is given toidrisMain
it might make tackling issue #1126 easier...it may also help improve how the rest of theIdris
frontend works.Feel free to discuss what attention needs to be given to
idrisMain
.The text was updated successfully, but these errors were encountered: