[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / CONTRIB / pphs / docs / Future_Work.tex
1 \chapter{Things remaining to be implemented}
2
3 Due to pressure of time, not everything that was planned to be included in
4 {\tt pphs} was implemented.  This chapter details these things.
5
6 \section{Faults}
7
8 The faults detailed in Chapter~\ref{faults} remain to be rectified.  The fault
9 regarding multiple columns of internal alignment would, it seems, require a
10 major rethink on the way internal alignment is handled by {\tt pphs}, perhaps
11 using the {\tt tabbing} environment with tabs and tabstops, rather than the
12 {\tt tabular} environment as at present.  This could also
13 be extended to left indentation to solve the problem with indentation under
14 internal alignment section.  Elimination of the {\tt tabular} sections would solve
15 the problem of pagebreaks during internal alignment sections.
16
17 \section{Parsing}
18
19 Currently, {\tt pphs} only does limited parsing.  This could be altered to
20 give a full parse by restructuring into Lex.  This would be better because
21 it would allow sections of code to be classified more easily once they were
22 broken down.
23
24 \section{Literate Haskell}
25
26 It has been suggested that {\tt pphs} be extended to accept Literate Haskell
27 files as input.  This is where the program code lines all start with {\tt >}
28 and plain text is written between sections of code to document the file.
29 This would be called by an additional option, say {\tt -l}, and would typeset
30 the sections of Haskell code, whilst leaving the text sections alone.