genprimopcode: Replace LaTeX documentation syntax with Haddock
The LaTeX documentation generator does not seem to have been used for quite some time, so the LaTeX-to-Haddock preprocessing step has become a pointless complication that makes documenting the contents of GHC.Prim needlessly difficult. This commit replaces the LaTeX syntax with the Haddock it would have been converted into, anyway, though with an additional distinction: it uses single quotes in places to instruct Haddock to generate hyperlinks to bindings. This improves the quality of the generated output.
Showing
- compiler/GHC/Builtin/bytearray-ops.txt.pp 6 additions, 6 deletionscompiler/GHC/Builtin/bytearray-ops.txt.pp
- compiler/GHC/Builtin/primops.txt.pp 229 additions, 234 deletionscompiler/GHC/Builtin/primops.txt.pp
- utils/genprimopcode/Main.hs 4 additions, 202 deletionsutils/genprimopcode/Main.hs
- utils/genprimopcode/gen_bytearray_ops.py 1 addition, 2 deletionsutils/genprimopcode/gen_bytearray_ops.py
Loading
Please register or sign in to comment