[m-dev.] for review: MLDS back-end stuff

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Aug 6 14:12:22 AEST 1999


On 06-Aug-1999, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> > +<ul>
> > +<li> 1. parsing (source files -> HLDS)
> > +<li> 2. semantic analysis and error checking (HLDS -> annotated HLDS)
> > +<li> 3. high-level transformations (annotated HLDS -> annotated HLDS)
> > +<li> 4. code generation (annotated HLDS -> target representation)
> > +<li> 5. low-level optimizations
> > +     (target representation -> target representation)
> > +<li> 6. output code (target representation -> target code)
> > +</ul>
> 
> You should probably use the HTML ordered list <OR> tag if you want this.
...
> > +In addition, the compiler is actually a multi-targeted compiler
> > +with several different back-ends.  When you take the different
> > +back-ends into account, the structure looks like this:
> > +
> > +<ul type=disc>
> > +<li> front-end
> > +     <ul type=disc>
> > +     <li> 1. parsing (source files -> HLDS)
> > +     <li> 2. semantic analysis and error checking (HLDS -> annotated HLDS)
> > +     <li> 3. high-level transformations (annotated HLDS -> annotated HLDS)
> > +     </ul>
> > +<li> back-ends
> > +     <ul type=disc>
> > +     <li> a. LLDS back-end
> > +          <ul type=disc>
> > +          <li> 4a. code generation (annotated HLDS -> LLDS)
> > +          <li> 5a. low-level optimizations (LLDS -> LLDS)
> > +          <li> 6a. output code (LLDS -> C)
> > +          </ul>
> > +     <li> b. MLDS back-end
> > +          <ul type=disc>
> > +          <li> 4b. code generation (annotated HLDS -> MLDS)
> > +          <li> 5b. MLDS transformations (MLDS -> MLDS)
> > +          <li> 6b. output code
> > +	       (MLDS -> C or eventually MLDS -> Java, etc.)
> > +          </ul>
...
> > +     </ul>
> > +</ul>
> 
> Likewise here.  You can provide the OL TYPE attribute to get different
> sorts of list numbering.

You can, but there's no way to get list items numbered "4b".

See also Warwick's comment.

For these reasons, I think I'll leave it as is.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list