summaryrefslogtreecommitdiff
path: root/docs/coding-style.html
Commit message (Collapse)AuthorAgeFilesLines
* Move `/includes` to `/rts/include`, sort per package betterJohn Ericson2021-08-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | In order to make the packages in this repo "reinstallable", we need to associate source code with a specific packages. Having a top level `/includes` dir that mixes concerns (which packages' includes?) gets in the way of this. To start, I have moved everything to `rts/`, which is mostly correct. There are a few things however that really don't belong in the rts (like the generated constants haskell type, `CodeGen.Platform.h`). Those needed to be manually adjusted. Things of note: - No symlinking for sake of windows, so we hard-link at configure time. - `CodeGen.Platform.h` no longer as `.hs` extension (in addition to being moved to `compiler/`) so as not to confuse anyone, since it is next to Haskell files. - Blanket `-Iincludes` is gone in both build systems, include paths now more strictly respect per-package dependencies. - `deriveConstants` has been taught to not require a `--target-os` flag when generating the platform-agnostic Haskell type. Make takes advantage of this, but Hadrian has yet to.
* Make `PosixSource.h` installed and under `rts/`John Ericson2021-08-091-1/+1
| | | | | | is used outside of the rts so we do this rather than just fish it out of the repo in ad-hoc way, in order to make packages in this repo more self-contained.
* Fix typos, using Wikipedia list of common typosBrian Wignall2019-11-281-1/+1
|
* Expunge #ifdef and #ifndef from the codebaseJohn Ericson2019-07-141-5/+5
| | | | | | | | These are unexploded minds as far as the linter is concerned. I don't want to hit in my MRs by mistake! I did this with `sed`, and then rolled back some changes in the docs, config.guess, and the linter itself.
* Fix a popular typo in commentsGabor Greif2014-02-011-1/+1
|
* clean to some docsDavid Terei2012-03-231-30/+30
|
* [project @ 2003-08-27 08:53:17 by panne]panne2003-08-271-2/+28
| | | | Added a section about commandline arguments
* [project @ 2003-08-27 08:17:52 by panne]panne2003-08-271-28/+28
| | | | Make validator.w3.org happy
* [project @ 2003-08-18 14:54:40 by panne]panne2003-08-181-1/+1
| | | | Ooops, forgot about a dozen references to configure.in... :-}
* [project @ 2002-08-05 11:11:44 by simonmar]simonmar2002-08-051-177/+156
| | | | | - Update the old coding style document - Move it to the commentary under the "RTS & libs" section
* [project @ 2000-10-12 15:33:47 by rrt]rrt2000-10-121-1/+3
| | | | #warning is not ANSI.
* [project @ 2000-04-06 13:37:30 by simonmar]simonmar2000-04-061-77/+73
| | | | a few updates
* [project @ 2000-04-06 10:45:11 by simonmar]simonmar2000-04-061-1/+9
| | | | add a note about POSIX compliance.
* [project @ 1998-05-28 15:28:01 by simonm]simonm1998-05-281-0/+5
| | | | Note about keeping to 80 columns.
* [project @ 1998-05-26 22:12:51 by reid]reid1998-05-261-3/+45
| | | | | | | Added: o more debugging hints (make rare things happen often) o another inline function advantage (gdb can execute them) o warning about int* p,q not declaring two pointers
* [project @ 1998-05-19 16:47:43 by reid]reid1998-05-191-0/+484
Added first draft of coding style doc