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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Hacking file #751
Add Hacking file #751
Conversation
I love this. Would it make sense to have a corresponding hacking file in every important directory ie. parsing, typing, bytecomp, asmcomp, byterun, asmrun? These files could give the overall view of their particular directory in far more detail. |
Regarding the configure stuff @lpw25 gave me this tip which you may want to add. It can be in certain cases a bit more convenient than going through Configure with |
@dbuenzli I don't understand. Isn't that equivalent to using compiler-conf (and |
is |
I don't know, I never used
I don't think so, could be |
Maybe, I never used compiler-conf. However it is infrastructure wise very lightweight (and you don't have to start peeking in others build dirs when things go wrong). |
An improved version was merged. Closing. |
Replaced all YouTube links by watch.ocaml.org links Co-authored-by: Cuihtlauac ALVARADO <cuihtmlauac@tarides.com>
A rendered version is available here.
This adds the beginning of a
Hacking
file. The goal is to contain the various information needed to start working on the compiler, which means: 1) give the essential commands/tools needed 2) point to the files/give an overview of the organization/provide "meta" consideration (for example, the note on circular dependencies in the type checker).Most of 1) is done with this PR. However, most of 2) is not done (I simply added notes on the typechecker part). This is on purpose, and I expect people who know the various other parts of the compiler (ie. not me 馃槥) to fill the gaps (if only to simply say "look at this file first").
What I think is missing, besides the obvious blanks:
dummiesbeginners"If this is accepted, I think this should be merged directly. The missing bits can be filled later on.